KelDB
KelDB is a simple node-based database for asyncio applications.
KelDB is organised into nodes. A node is a container that can hold a value and/or other subnodes. The database itself is the root node, and every piece of data is a subnode of it.
Installation
Install from PyPi:
pip install -U keldb
Or install from source
git clone https://github.com/TriangularDev/keldb.git
cd keldb
pip install -r requirements.txt
python3 -m pip install -U . --force-reinstall
Usage
KelDB is quite flexible. There's only a few commands to learn.
import asyncio
import keldb
# Create a default KelDB database (or load an existing database)
database = keldb.KelDB(keldb.FileStoreHook("./testdb/"))
async def main():
# Create subnodes (lazy creation - no actual subnodes are created yet)
foo = await database.get_subnode("foo")
bar = await database.get_subnode("bar")
baz = await database.get_subnode("baz")
await bar.set_value("This can be any json-serializable object.") # Set a value (now "bar" is actually created)
await baz.set_value({"type": "user", "name": "Gabe Newell"}) # Now "baz" is actually created
text_subnode = await foo.get_subnode("text")
await text_subnode.set_value("If you are reading this, this data saved correctly!") # Write text in a subnode's subnode. (now both "foo" and "foo/text" are created)
print(await text_subnode.get_value()) # Read a value from the database
await foo.delete() # Delete a subnode (do note that this also recursively deletes any subnodes under it)
async for subnode in database.list_subnodes(): # Iterate over subnodes
print(subnode.path)
await database.set_value("Even the database itself is technically a node!")
asyncio.run(main())
Metadata
Release files for keldb 0.2.7
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 |
|---|---|---|---|---|
| keldb-0.2.7.tar.gz | 8.0 kB | With provenance | Details for keldb-0.2.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| keldb-0.2.7-py3-none-any.whl | Python 3 | none | any | Details for keldb-0.2.7-py3-none-any.whl |
Total release size: 16.0 kB
Release files / keldb-0.2.7.tar.gz
| Download URL | keldb-0.2.7.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aaf2b49b14f5c843b4b50ce106d96d507f601a6ae48b8076b03daa7449414ec5
|
|
BLAKE2b-256 checksum How to use checksums |
44ebb208418b3deb32bcdb171c085920a53e36e676d445fdcab250660d92a871
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 29, 2026.
Transparency logRelease files / keldb-0.2.7-py3-none-any.whl
| Download URL | keldb-0.2.7-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7fc9675e73733211e62db43f25faaebd2e1a60ed794afb536ba6f91bd1b5686a
|
|
BLAKE2b-256 checksum How to use checksums |
6a4e1b2c2bc483e0c243356dee68c9616ff5a320e240709e4f10306d3e87b322
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 29, 2026.
Transparency logSecurity for keldb 0.2.7
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for keldb-0.2.7.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 29, 2026.
Transparency logA 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.