PyBodn
A foundational memory engine for intelligent systems.
Status: early alpha (0.0.x). The API will change between releases. Not ready for production use.
PyBodn aims to be a small, dependable memory library for Python applications and AI agents: structured records, fast in-process indexes, local persistence and pluggable retrieval, without tying you to a specific LLM, embedding provider or database.
Today it ships one building block: HashIndex, an exact-match in-process index.
Install
pip install pybodn
Requires Python 3.12+. No runtime dependencies.
Example
from pybodn.indexes import HashIndex
index: HashIndex[str, str] = HashIndex()
index.set("user:123:language", "record_001")
index.get("user:123:language") # "record_001"
index.get("missing") # None
"user:123:language" in index # True
index.delete("user:123:language") # True
index.delete("user:123:language") # False, deleting twice is safe
Keys can be any hashable value, for example a (namespace, key) tuple.
Development
uv sync
uv run ruff check
uv run ruff format --check
uv run mypy
uv run coverage run -m pytest
uv run coverage report
License
Metadata
Release files for pybodn 0.0.1
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 |
|---|---|---|---|---|
| pybodn-0.0.1.tar.gz | 3.8 kB | With provenance | Details for pybodn-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pybodn-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for pybodn-0.0.1-py3-none-any.whl |
Total release size: 8.3 kB
Release files / pybodn-0.0.1.tar.gz
| Download URL | pybodn-0.0.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba4df225d27f560faab93006b178972afc5aa4df51cfbbc638c070fe81192d73
|
|
BLAKE2b-256 checksum How to use checksums |
1389e5ef03d833e898607618a1b72c7dc7fc693d97479a14052b0c8f641fd55d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logRelease files / pybodn-0.0.1-py3-none-any.whl
| Download URL | pybodn-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
644469b8107bc9cca9e2127dbfff441d90724ea5146c9e5962cb49ca58f1ea56
|
|
BLAKE2b-256 checksum How to use checksums |
f0859c0f5646ed58a180369db9db17b07140845660c37ada10169e6c6363d9d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 13, 2026.
Transparency logSecurity for pybodn 0.0.1
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 pybodn-0.0.1.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 Nov 13, 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.