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.2.tar.gz
(6.7 kB
view details)
Built Distribution
kydb-0.2.2-py3-none-any.whl
(9.1 kB
view details)
File details
Details for the file kydb-0.2.2.tar.gz
.
File metadata
- Download URL: kydb-0.2.2.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/50.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50fd1f447b7d260afbb201097e8080f3b262addd28517a9ea69dcd2b21ee72fe |
|
MD5 | 1494177a9e742bd5b0690b9691815394 |
|
BLAKE2b-256 | d1b9e1bfee3d890c2732db712cbdb034b9f9d4a62cea467561c304c3320fdfbd |
File details
Details for the file kydb-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: kydb-0.2.2-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/50.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b07c505cf40ad8d7625ec3208e9498836b2cc1a6c75274d778eec0125ca03d28 |
|
MD5 | 68d104119f4d218137f2e470a12c1cc4 |
|
BLAKE2b-256 | a19b362451282cb87a0e184bc4037dbd7d1b047255d87710e2b295a56bea451d |