langgraph-store-inspeximus
A LangGraph BaseStore backed by inspeximus — a drop-in for
InMemoryStore that also remembers what a value used to be.
pip install langgraph-store-inspeximus
from langgraph.store.inspeximus import InspeximusStore
store = InspeximusStore(path="store.jsonl")
store.put(("user", "42"), "timezone", {"tz": "UTC"})
store.put(("user", "42"), "timezone", {"tz": "PST"}) # overwrites, like InMemoryStore
store.get(("user", "42"), "timezone").value # -> {"tz": "PST"}
store.history(("user", "42"), "timezone") # -> [{"tz": "UTC"}, {"tz": "PST"}]
LangGraph ships no conformance suite for stores; its docs say to test against InMemoryStore as the
reference. That is what store_audit.py
does: every operation run twice, against the reference and against this store, three repeats, with a
falsification control that breaks the adapter on purpose and must fail. It covers CRUD, namespace
isolation, search/limit/delete-by-None, and list_namespaces with prefix, suffix, * wildcards,
max_depth, ordering, limit and offset.
One deliberate divergence, stated rather than hidden: after the last key in a namespace is
deleted, InMemoryStore still lists the now-empty namespace and this store does not. Matching it
would mean a namespace name outliving the erasure of every value it held.
MIT · source
Release files for langgraph-store-inspeximus 0.1.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 | |
|---|---|---|---|
| langgraph_store_inspeximus-0.1.0.tar.gz | 2.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langgraph_store_inspeximus-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / langgraph_store_inspeximus-0.1.0.tar.gz
| Download URL | langgraph_store_inspeximus-0.1.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f881a558a4d42c84d1d1441d1832041dadd25717a87ca6c89b9e5d4f4f37a84
|
|
BLAKE2b-256 checksum How to use checksums |
5a5bafaad63755b77b61f75fa9942c3b86341fcb9bbe6374187fc050aa9ae373
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / langgraph_store_inspeximus-0.1.0-py3-none-any.whl
| Download URL | langgraph_store_inspeximus-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07e571b54f7808cd263926a896aec258a97972557483cc39d07fad484264dbf4
|
|
BLAKE2b-256 checksum How to use checksums |
4b60f55975214bda8384bae9c008c580600ac545db1100ae3d6525d3c46f3c43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|