Skip to main content

Python client for MemoryCasheDataBase_Server database and key-value store

Project description

MemoryCasheDataBase_Client

PyPI Python 3.6, 3.7, 3.8 GitHub Pull Requests License Forks

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 MkCasheDB_API 

Start project

import MkCasheDB_API; 

Example

Add record(s) in DataBase.

NewMemoryCasheDataBase_Client : MkCasheDB_API.MemoryCasheDataBase_Client = MkCasheDB_API.MemoryCasheDataBase_Client()

print(NewMemoryCasheDataBase_Client.AddRangeRecords( RequestDictionary = dict( ( ( "Key", "Value" ), ( "Key #2", "Value #2" ) ) ) )) 

Change record(s) in DataBase.

NewMemoryCasheDataBase_Client : MkCasheDB_API.MemoryCasheDataBase_Client = MkCasheDB_API.MemoryCasheDataBase_Client()

print(NewMemoryCasheDataBase_Client.ChangeRangeRecords( RequestDictionary = dict( ( ( "Key", "ValueNew" ), ) ) )) 

Get record(s) from DataBase.

NewMemoryCasheDataBase_Client : MkCasheDB_API.MemoryCasheDataBase_Client = MkCasheDB_API.MemoryCasheDataBase_Client()

print(NewMemoryCasheDataBase_Client.GetRangeRecords( RequestTuple = ( "Key", "Key #2" ) )) 

Delete record(s) from DataBase.

NewMemoryCasheDataBase_Client : MkCasheDB_API.MemoryCasheDataBase_Client = MkCasheDB_API.MemoryCasheDataBase_Client()

print(NewMemoryCasheDataBase_Client.DeleteRangeRecords( RequestTuple = ( "Key #2", ) )) 

Add file in DataBase.

NewMemoryCasheDataBase_Client : MkCasheDB_API.MemoryCasheDataBase_Client = MkCasheDB_API.MemoryCasheDataBase_Client() 

with open("Image.JPG", "rb") as FileRead: 
    print(NewMemoryCasheDataBase_Client.AddFile("ImageDB", FileRead.read())); 

Get file from DataBase.

NewMemoryCasheDataBase_Client : MkCasheDB_API.MemoryCasheDataBase_Client = MkCasheDB_API.MemoryCasheDataBase_Client() 

with open("ImageCopy.JPG", "wb") as FileWrite: 
    FileWrite.write(NewMemoryCasheDataBase_Client.GetFile("ImageDB")); 

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MkCasheDB_API-0.0.1.0.tar.gz (19.6 kB view details)

Uploaded Source

File details

Details for the file MkCasheDB_API-0.0.1.0.tar.gz.

File metadata

  • Download URL: MkCasheDB_API-0.0.1.0.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.5

File hashes

Hashes for MkCasheDB_API-0.0.1.0.tar.gz
Algorithm Hash digest
SHA256 b725c63a086ad5d779626e068c8c00a8f4262c00d7f7c60a579bb56b12642cb1
MD5 933568de7969c93539b0d11fae49c31d
BLAKE2b-256 5dafba1edaac212c887d1d97909555e4694a745de5d6f7f95e014f47154fe4cf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page