cjm-capability-graph-sqlite
A local, file-backed context-graph storage capability for the cjm-substrate runtime that implements graph storage, traversal, and querying using SQLite.
Modules
cjm_capability_graph_sqlite.capability— Capability implementation for Context Graph using SQLite.cjm_capability_graph_sqlite.query_translation— The per-backend translation of the typed query expressions (pass-2 Thread 5; stage 4): NodeQuery/EdgeQuery -> parameterized SQLite SQL over the nodes/edges schema. THIS module is what makes the typed surface portable - the expression is domain- and backend-neutral; every backend tool owns a translation like this one (the ratified stage-4 split: backend owns translation; the adapter stays generic). Pure functions, unit-tested against an in-memory DB with the production schema - no capability runtime needed.
API
cjm_capability_graph_sqlite.capability
SQLiteGraphCapabilityclass — Local, file-backed Context Graph implementation using SQLite.SQLiteGraphCapabilityConfigclass — Configuration for SQLite Graph Capability.integrity_checkfunction — Backend self-check (stage 4; the G3 corruption find institutionalized):query_edgesfunction — Execute a typed edge query (stage 4) — same contract asquery_nodes.query_nodesfunction — Execute a typed node query (stage 4) — translated to parameterized SQLraw_queryfunction — Execute the raw escape — refuses backend mismatches (non-portable by
cjm_capability_graph_sqlite.query_translation
translate_edge_queryfunction — Translate anEdgeQueryto parameterized SQLite SQL.translate_node_queryfunction — Translate aNodeQueryto parameterized SQLite SQL.
Dependencies
Depends on: cjm-context-graph-primitives, cjm-substrate
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 cjm_capability_graph_sqlite-0.0.26.tar.gz.
File metadata
- Download URL: cjm_capability_graph_sqlite-0.0.26.tar.gz
- Upload date:
- Size: 24.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
814d5b8f6739475e695b78e00177ea5ce697a9a02c485fd1659432859b088d5e
|
|
| MD5 |
4d904025b1d13dd8ca195c7eb0ebd558
|
|
| BLAKE2b-256 |
fd9fb60dcd3bedfbbb5937096f5288dbb2c26f4d876a32e8f319553a49d9c387
|
File details
Details for the file cjm_capability_graph_sqlite-0.0.26-py3-none-any.whl.
File metadata
- Download URL: cjm_capability_graph_sqlite-0.0.26-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4821fce60972c023b26ec5c462d43e1494e407c789caf0d3273fb2be975892f0
|
|
| MD5 |
4e09da59d06d0060687743b2f79d2d9b
|
|
| BLAKE2b-256 |
c88e4ebbaefdcd24159edc41c419bea9f1a60f59054faf7d72d2d696dc88dee4
|