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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langgraph_store_inspeximus-0.1.0.tar.gz.
File metadata
- Download URL: langgraph_store_inspeximus-0.1.0.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f881a558a4d42c84d1d1441d1832041dadd25717a87ca6c89b9e5d4f4f37a84
|
|
| MD5 |
d1f2b5d74291177756475daf8b8558a3
|
|
| BLAKE2b-256 |
5a5bafaad63755b77b61f75fa9942c3b86341fcb9bbe6374187fc050aa9ae373
|
File details
Details for the file langgraph_store_inspeximus-0.1.0-py3-none-any.whl.
File metadata
- Download URL: langgraph_store_inspeximus-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07e571b54f7808cd263926a896aec258a97972557483cc39d07fad484264dbf4
|
|
| MD5 |
c85a7da4a3fe33fd3e1e95d0242a4439
|
|
| BLAKE2b-256 |
4b60f55975214bda8384bae9c008c580600ac545db1100ae3d6525d3c46f3c43
|