KV
KV is an async key-value store interface for Python. It provides a simple API to store serializable objects.
pip install python-kv
KV supports multiple backends, including the filesystem, SQLite, Redis, Azure Blob, and many more.
from kv import KV
kv = KV.of('sql+sqlite:///path/to/db.sqlite', type=dict)
await kv.insert('hello', {'world': 42})
await kv.read('hello') # {'world': 42}
await kv.delete('hello')
async for k, v in kv.items():
...
await kv.clear()
Metadata
Release files for python-kv 0.3.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_kv-0.3.11.tar.gz | 16.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_kv-0.3.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.5 kB
Release files / python_kv-0.3.11.tar.gz
| Download URL | python_kv-0.3.11.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31692c24fbddb99857b00f05fa82b00a4f6d020f23d095aafa5112097ce3b79b
|
|
BLAKE2b-256 checksum How to use checksums |
e51489d9902a3f15c606ed22ca029cf34fd4941be5eae89bef3551871ca9dc01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.10
|
Release files / python_kv-0.3.11-py3-none-any.whl
| Download URL | python_kv-0.3.11-py3-none-any.whl |
|---|---|
| Size | 25.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9597e616b8568fe8fed6fc9dd4dc8440e7ef58fcd49fd12dff4e2518bff56ce
|
|
BLAKE2b-256 checksum How to use checksums |
a34ef745c7f9990f4dcca5a405da8497a1fd99acefcf2c55aba3ee53ebe151d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.10
|