Skip to main content

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

langgraph_store_inspeximus-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langgraph_store_inspeximus-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file langgraph_store_inspeximus-0.1.0.tar.gz.

File metadata

File hashes

Hashes for langgraph_store_inspeximus-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9f881a558a4d42c84d1d1441d1832041dadd25717a87ca6c89b9e5d4f4f37a84
MD5 d1f2b5d74291177756475daf8b8558a3
BLAKE2b-256 5a5bafaad63755b77b61f75fa9942c3b86341fcb9bbe6374187fc050aa9ae373

See more details on using hashes here.

File details

Details for the file langgraph_store_inspeximus-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for langgraph_store_inspeximus-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 07e571b54f7808cd263926a896aec258a97972557483cc39d07fad484264dbf4
MD5 c85a7da4a3fe33fd3e1e95d0242a4439
BLAKE2b-256 4b60f55975214bda8384bae9c008c580600ac545db1100ae3d6525d3c46f3c43

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page