kydb (Kinyu Database). NoSQL DB interface.
Project description
Introduction
An abstraction layer for NoSQL Database clients.
- Simple factory. A single URL would define the database or union.
- Caching
- Union: i.e. multiple databases where:
- Read would look for the object in order
- Write always writes to the first (front) db
See Documentation.
Installation
pip3 install kydb
What does it look like?
Connect to KYDB with AWS S3 as the implementation
from kinyu.db.api import kydb
db = kydb.connect('s3://my-kydb-bucket')
Writing to DB
key = '/mytest/foo'
db[key] = 123
Reading from DB
db[key] # returns 123
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kydb-0.2.1.tar.gz
(6.7 kB
view details)
Built Distribution
kydb-0.2.1-py3-none-any.whl
(9.1 kB
view details)
File details
Details for the file kydb-0.2.1.tar.gz
.
File metadata
- Download URL: kydb-0.2.1.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd83db50494ad8722c24d354140ac3b8102732cdeec9f3161352b56e5566d3d0 |
|
MD5 | 46c7b25385519a5372dc1caa8efb7770 |
|
BLAKE2b-256 | 2bdc146dbc3cf25217356785e0dfcceffc3ed37e1b5d8102f1d75bdbb4937445 |
File details
Details for the file kydb-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: kydb-0.2.1-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ace3f2f68c004dce5d9a52ec6b46864939e7871fd7d6864e374f06bb8bbdb0e |
|
MD5 | f730556305704cb1c0c176db70767be6 |
|
BLAKE2b-256 | 5d58bc4dbdbd92db7e304f1beab1e63c506df150ed5b2736c33a66e399969e05 |