langgraph-store-inspeximus 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.4
2
+ Name: langgraph-store-inspeximus
3
+ Version: 0.1.0
4
+ Summary: LangGraph BaseStore backed by inspeximus: drop-in for InMemoryStore, plus queryable value history and receipted erasure.
5
+ License: MIT
6
+ Project-URL: Homepage, https://dancenitra.github.io/inspeximus/
7
+ Project-URL: Source, https://github.com/DanceNitra/inspeximus
8
+ Keywords: langgraph,store,basestore,agent,memory,langmem
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
11
+ Requires-Python: >=3.10
12
+ Description-Content-Type: text/markdown
13
+ Requires-Dist: inspeximus>=1.27.1
14
+ Requires-Dist: langgraph>=0.2
15
+
16
+ # langgraph-store-inspeximus
17
+
18
+ A LangGraph `BaseStore` backed by [inspeximus](https://pypi.org/project/inspeximus/) — a drop-in for
19
+ `InMemoryStore` that also remembers what a value used to be.
20
+
21
+ ```bash
22
+ pip install langgraph-store-inspeximus
23
+ ```
24
+
25
+ ```python
26
+ from langgraph.store.inspeximus import InspeximusStore
27
+
28
+ store = InspeximusStore(path="store.jsonl")
29
+ store.put(("user", "42"), "timezone", {"tz": "UTC"})
30
+ store.put(("user", "42"), "timezone", {"tz": "PST"}) # overwrites, like InMemoryStore
31
+ store.get(("user", "42"), "timezone").value # -> {"tz": "PST"}
32
+ store.history(("user", "42"), "timezone") # -> [{"tz": "UTC"}, {"tz": "PST"}]
33
+ ```
34
+
35
+ LangGraph ships no conformance suite for stores; its docs say to test against `InMemoryStore` as the
36
+ reference. That is what [`store_audit.py`](https://github.com/DanceNitra/inspeximus/blob/main/store_audit.py)
37
+ does: every operation run twice, against the reference and against this store, three repeats, with a
38
+ falsification control that breaks the adapter on purpose and must fail. It covers CRUD, namespace
39
+ isolation, search/limit/delete-by-None, and `list_namespaces` with prefix, suffix, `*` wildcards,
40
+ `max_depth`, ordering, limit and offset.
41
+
42
+ **One deliberate divergence, stated rather than hidden:** after the last key in a namespace is
43
+ deleted, `InMemoryStore` still lists the now-empty namespace and this store does not. Matching it
44
+ would mean a namespace name outliving the erasure of every value it held.
45
+
46
+ MIT · [source](https://github.com/DanceNitra/inspeximus)
@@ -0,0 +1,31 @@
1
+ # langgraph-store-inspeximus
2
+
3
+ A LangGraph `BaseStore` backed by [inspeximus](https://pypi.org/project/inspeximus/) — a drop-in for
4
+ `InMemoryStore` that also remembers what a value used to be.
5
+
6
+ ```bash
7
+ pip install langgraph-store-inspeximus
8
+ ```
9
+
10
+ ```python
11
+ from langgraph.store.inspeximus import InspeximusStore
12
+
13
+ store = InspeximusStore(path="store.jsonl")
14
+ store.put(("user", "42"), "timezone", {"tz": "UTC"})
15
+ store.put(("user", "42"), "timezone", {"tz": "PST"}) # overwrites, like InMemoryStore
16
+ store.get(("user", "42"), "timezone").value # -> {"tz": "PST"}
17
+ store.history(("user", "42"), "timezone") # -> [{"tz": "UTC"}, {"tz": "PST"}]
18
+ ```
19
+
20
+ LangGraph ships no conformance suite for stores; its docs say to test against `InMemoryStore` as the
21
+ reference. That is what [`store_audit.py`](https://github.com/DanceNitra/inspeximus/blob/main/store_audit.py)
22
+ does: every operation run twice, against the reference and against this store, three repeats, with a
23
+ falsification control that breaks the adapter on purpose and must fail. It covers CRUD, namespace
24
+ isolation, search/limit/delete-by-None, and `list_namespaces` with prefix, suffix, `*` wildcards,
25
+ `max_depth`, ordering, limit and offset.
26
+
27
+ **One deliberate divergence, stated rather than hidden:** after the last key in a namespace is
28
+ deleted, `InMemoryStore` still lists the now-empty namespace and this store does not. Matching it
29
+ would mean a namespace name outliving the erasure of every value it held.
30
+
31
+ MIT · [source](https://github.com/DanceNitra/inspeximus)
@@ -0,0 +1,22 @@
1
+ """LangGraph BaseStore backed by inspeximus.
2
+
3
+ from langgraph.store.inspeximus import InspeximusStore
4
+
5
+ store = InspeximusStore(path="store.jsonl")
6
+ store.put(("user", "42"), "timezone", {"tz": "UTC"})
7
+ store.put(("user", "42"), "timezone", {"tz": "PST"}) # overwrites, like InMemoryStore
8
+ store.get(("user", "42"), "timezone").value # -> {"tz": "PST"}
9
+ store.history(("user", "42"), "timezone") # -> both values, oldest first
10
+
11
+ LangGraph publishes no conformance suite for stores; its documentation says to test against
12
+ `InMemoryStore` as the reference, which is what `store_audit.py` in the source repository does --
13
+ operation by operation, three repeats, with a falsification control that must fail. One divergence is
14
+ deliberate and documented there: a namespace whose last key was deleted is not listed, because a name
15
+ should not outlive the erasure of every value it held.
16
+
17
+ The implementation lives in `inspeximus.integrations.langgraph`; this is a thin re-export.
18
+ """
19
+ from inspeximus.integrations.langgraph import InspeximusStore
20
+
21
+ __all__ = ["InspeximusStore"]
22
+ __version__ = "0.1.0"
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.4
2
+ Name: langgraph-store-inspeximus
3
+ Version: 0.1.0
4
+ Summary: LangGraph BaseStore backed by inspeximus: drop-in for InMemoryStore, plus queryable value history and receipted erasure.
5
+ License: MIT
6
+ Project-URL: Homepage, https://dancenitra.github.io/inspeximus/
7
+ Project-URL: Source, https://github.com/DanceNitra/inspeximus
8
+ Keywords: langgraph,store,basestore,agent,memory,langmem
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
11
+ Requires-Python: >=3.10
12
+ Description-Content-Type: text/markdown
13
+ Requires-Dist: inspeximus>=1.27.1
14
+ Requires-Dist: langgraph>=0.2
15
+
16
+ # langgraph-store-inspeximus
17
+
18
+ A LangGraph `BaseStore` backed by [inspeximus](https://pypi.org/project/inspeximus/) — a drop-in for
19
+ `InMemoryStore` that also remembers what a value used to be.
20
+
21
+ ```bash
22
+ pip install langgraph-store-inspeximus
23
+ ```
24
+
25
+ ```python
26
+ from langgraph.store.inspeximus import InspeximusStore
27
+
28
+ store = InspeximusStore(path="store.jsonl")
29
+ store.put(("user", "42"), "timezone", {"tz": "UTC"})
30
+ store.put(("user", "42"), "timezone", {"tz": "PST"}) # overwrites, like InMemoryStore
31
+ store.get(("user", "42"), "timezone").value # -> {"tz": "PST"}
32
+ store.history(("user", "42"), "timezone") # -> [{"tz": "UTC"}, {"tz": "PST"}]
33
+ ```
34
+
35
+ LangGraph ships no conformance suite for stores; its docs say to test against `InMemoryStore` as the
36
+ reference. That is what [`store_audit.py`](https://github.com/DanceNitra/inspeximus/blob/main/store_audit.py)
37
+ does: every operation run twice, against the reference and against this store, three repeats, with a
38
+ falsification control that breaks the adapter on purpose and must fail. It covers CRUD, namespace
39
+ isolation, search/limit/delete-by-None, and `list_namespaces` with prefix, suffix, `*` wildcards,
40
+ `max_depth`, ordering, limit and offset.
41
+
42
+ **One deliberate divergence, stated rather than hidden:** after the last key in a namespace is
43
+ deleted, `InMemoryStore` still lists the now-empty namespace and this store does not. Matching it
44
+ would mean a namespace name outliving the erasure of every value it held.
45
+
46
+ MIT · [source](https://github.com/DanceNitra/inspeximus)
@@ -0,0 +1,8 @@
1
+ README.md
2
+ pyproject.toml
3
+ langgraph/store/inspeximus/__init__.py
4
+ langgraph_store_inspeximus.egg-info/PKG-INFO
5
+ langgraph_store_inspeximus.egg-info/SOURCES.txt
6
+ langgraph_store_inspeximus.egg-info/dependency_links.txt
7
+ langgraph_store_inspeximus.egg-info/requires.txt
8
+ langgraph_store_inspeximus.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ inspeximus>=1.27.1
2
+ langgraph>=0.2
@@ -0,0 +1,21 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "langgraph-store-inspeximus"
7
+ version = "0.1.0"
8
+ description = "LangGraph BaseStore backed by inspeximus: drop-in for InMemoryStore, plus queryable value history and receipted erasure."
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = { text = "MIT" }
12
+ keywords = ["langgraph", "store", "basestore", "agent", "memory", "langmem"]
13
+ classifiers = ["Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Artificial Intelligence"]
14
+ dependencies = ["inspeximus>=1.27.1", "langgraph>=0.2"]
15
+
16
+ [project.urls]
17
+ Homepage = "https://dancenitra.github.io/inspeximus/"
18
+ Source = "https://github.com/DanceNitra/inspeximus"
19
+
20
+ [tool.setuptools]
21
+ packages = ["langgraph.store.inspeximus"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+