Skip to main content

sql-evidence-graph

SQLite evidence graph. One hop from seed documents along shared entities. The caller supplies scores. This package does not embed text, stem words, or call a model.

from sql_evidence_graph import EvidenceGraph, order_by_score

graph = EvidenceGraph("knowledge.db")
graph.create()
graph.link("doc-1", "feature:payments", "payments", "feature", "body", "payments settle overnight")
neighbors = graph.expand(["doc-1"])
ordered = order_by_score(neighbors, {"doc-2": 1.5})

expand returns every other document that shares an entity. It does not read the question and does not drop a neighbor. order_by_score puts positive caller scores first.

Metadata

Release files for sql-evidence-graph 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sql-evidence-graph 0.1.1
File Size Uploaded
sql_evidence_graph-0.1.1.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sql-evidence-graph 0.1.1
File Interpreter ABI Platform
sql_evidence_graph-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.6 kB

Release files / sql_evidence_graph-0.1.1.tar.gz

Download URL sql_evidence_graph-0.1.1.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8c92dbdd157440c688cbba8a06dcf549e5148c17a1089ecf0892eccb8d093192
BLAKE2b-256 checksum
How to use checksums
114f2bd7248c6b6eddfc2b8d842d368a8c5aef4a17ba8337700abb185dc0c3a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Release files / sql_evidence_graph-0.1.1-py3-none-any.whl

Download URL sql_evidence_graph-0.1.1-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3db5d6a397a34d0d9027e554334d58242680404cba576664781e84737ee2c326
BLAKE2b-256 checksum
How to use checksums
7675d27b263aa3c79047589e54821aa1902fc4ba7b06af40f4974073a42c4ca2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page