MemoryCasheDataBase_Client
Python API module for MemoryCasheDataBase_Server - this module is a Python client library for connect to DB MemoryCasheDataBase_Server
MemoryCasheDataBase is collaborative project management that streamlines and refines your existing workflow. The intuitive and powerful project management platform loved by software teams of all sizes. Clubhouse is here.
Installation
Install the current version with PyPI:
pip install MemoryCasheDataBase_Client
Start project
from MemoryCasheDataBase_Client import MemoryCasheDataBase_Client;
Example
Add record(s) in DataBase.
import MemoryCasheDataBase_Client;
NewMemoryCasheDataBase_Client : MemoryCasheDataBase_Client = MemoryCasheDataBase_Client()
print(NewMemoryCasheDataBase_Client.AddRangeRecords( RequestDictionary = dict( ( ( "Key", "Value" ), ( "Key #2", "Value #2" ) ) ) ))
Change record(s) in DataBase.
NewMemoryCasheDataBase_Client : MemoryCasheDataBase_Client = MemoryCasheDataBase_Client()
print(NewMemoryCasheDataBase_Client.ChangeRangeRecords( RequestDictionary = dict( ( ( "Key", "ValueNew" ), ) ) ))
Get record(s) from DataBase.
NewMemoryCasheDataBase_Client : MemoryCasheDataBase_Client = MemoryCasheDataBase_Client()
print(NewMemoryCasheDataBase_Client.GetRangeRecords( RequestTuple = ( "Key", "Key #2" ) ))
Delete record(s) from DataBase.
NewMemoryCasheDataBase_Client : MemoryCasheDataBase_Client = MemoryCasheDataBase_Client()
print(NewMemoryCasheDataBase_Client.DeleteRangeRecords( RequestTuple = ( "Key #2", ) ))
Add file in DataBase.
NewMemoryCasheDataBase_Client : MemoryCasheDataBase_Client = MemoryCasheDataBase_Client()
with open("Image.JPG", "rb") as FileRead:
print(NewMemoryCasheDataBase_Client.AddFile("ImageDB", FileRead.read()));
Contributing
Bug reports and/or pull requests are welcome
License
The module is available as open source under the terms of the Apache License, Version 2.0