Kvsqlite

Easy, Simple and powerful key-value database backed by sqlite3.
Features
- Fast and easy-to-use database
- Simultaneously asynchronous or synchronous calls
- Store any data supported by pickle
Requirements
- Python 3.8+
Installation
pip install kvsqlite
From github (dev version)
pip install git+https://github.com/AYMENJD/Kvsqlite
Documentation
Kvsqlite documentation available at kvsqlite.rtfd.io.
Usage
from kvsqlite import Client # For sync version do: from kvsqlite.sync import Client
import asyncio
async def main():
async with Client("kv.sqlite") as db:
key = "123-456-789"
result = await db.set(key, "Hello world. Bye!")
if await db.exists(key):
get_key = await db.get(key)
print(get_key) # Hello world. Bye!
await db.delete(key)
await db.setex(key, 60, "This key has a lifetime of 60 seconds")
print(await db.get(key))
else:
print("Key not found", result)
asyncio.run(main())
Metadata
Release files for Kvsqlite 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kvsqlite-0.3.0.tar.gz | 12.1 kB | Without provenance | Details for kvsqlite-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kvsqlite-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for kvsqlite-0.3.0-py3-none-any.whl |
Total release size: 23.6 kB
Release files / kvsqlite-0.3.0.tar.gz
| Download URL | kvsqlite-0.3.0.tar.gz |
|---|---|
| Size | 12.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62dbecee09516b332a95c653137a7fee22e035bfff73b1ac5d2a874e2f69e077
|
|
BLAKE2b-256 checksum How to use checksums |
1fab51b7a4c8b8f6adeb519db675631b6093cdda6ade72e123ccaf21aca18e0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / kvsqlite-0.3.0-py3-none-any.whl
| Download URL | kvsqlite-0.3.0-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ddbd24632e8770692f09d5ada0cbe3b0cfe45f3feb2437422e6c590d443c3aa3
|
|
BLAKE2b-256 checksum How to use checksums |
3543466ceb4124d5050259584c9835e77c66191d59c4694493bcf3b7b1d99a4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for Kvsqlite 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.