Pyincroxigraph
pyincroxigraph provides Python bindings for Incroxigraph, an RDF and SPARQL
database based on Oxigraph. The package
includes the native engine, in-memory and persistent stores, RDF types, parsers,
serializers, and incremental queries.
Example
from pyincroxigraph import DeltaKind, Literal, NamedNode, Quad, Store
store = Store() # Use Store("database") for persistent storage.
quad = Quad(NamedNode("urn:alice"), NamedNode("urn:name"), Literal("Alice"))
with store.query_incremental_deltas("SELECT ?name WHERE { ?s <urn:name> ?name }") as query:
with store.transaction() as tx:
tx.add(quad)
for change in query.deltas():
if change.kind == DeltaKind.ADDITION:
print(change.value["name"].value) # Alice
Use Store.query() for an ordinary query, query_incremental_results().results()
for complete maintained snapshots, and query_incremental_deltas().deltas() for
consumed batches of additions and deletions. Live queries observe committed changes.
A transaction commits on successful context exit and rolls back on an exception.
SELECT preserves duplicate rows, CONSTRUCT uses set semantics, and ASK emits its
initial boolean and subsequent changes. Returned snapshots and batches own their
data. Use live handles on the thread that created them and close them with a
context manager or close().
The current incremental evaluator supports quad patterns, joins, projection and
VALUES. Optimized plans containing unsupported operators, and incremental DESCRIBE,
raise NotImplementedError. Reads process pending work synchronously.
The incremental API guide contains result types, batching behavior and lifecycle details.
Pyincroxigraph and Pyoxigraph have separate RDF classes. When using both packages, exchange RDF through serialization or explicitly convert their terms.
Build from source
Python 3.9+, Rust, a C++ toolchain and Clang are required. Activate a Python virtual environment, initialize the submodules, and install from the repository root:
git submodule update --init --recursive
python -m pip install ./python
Development
To rebuild the native module while developing, run these commands from python/
in an activated virtual environment:
python -m pip install 'maturin~=1.0'
maturin develop --release
python -m unittest discover -s tests
Build a CPython stable-ABI wheel with maturin build --release --features abi3.
Wheels are written to ../target/wheels/.
For the documentation and type-checking tools, use uv sync --locked from this
directory. Generate type stubs and build the documentation with:
uv run python generate_stubs.py pyincroxigraph pyincroxigraph.pyi --ruff
uv run sphinx-build -M html docs docs/build
License
Apache-2.0 or MIT, at your option. See LICENSE-APACHE and LICENSE-MIT. The bindings derive from Pyoxigraph; upstream copyright and license notices are retained.
Metadata
Release files for pyincroxigraph 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyincroxigraph-0.0.2.tar.gz | 5.9 MB | With provenance | Details for pyincroxigraph-0.0.2.tar.gz |
Built distributions (wheels)
Total release size: 65.7 MB
Release files / pyincroxigraph-0.0.2.tar.gz
| Download URL | pyincroxigraph-0.0.2.tar.gz |
|---|---|
| Size | 5.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82c428b88845755ea5ba7abc09f85cf53b45bc45084d51cbd5c1095da341c64c
|
|
BLAKE2b-256 checksum How to use checksums |
4f509aed9250eb5f00c9ca98d5ecfa8941fb1c748b7ba7eb178610f0c5d8d375
|
| 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 Nov 23, 2026.
Transparency logRelease files / pyincroxigraph-0.0.2-cp39-abi3-win_arm64.whl
| Download URL | pyincroxigraph-0.0.2-cp39-abi3-win_arm64.whl |
|---|---|
| Size | 5.8 MB |
| Tags | CPython 3.9 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
ff28e0407aaad5da3b63b1e74487987353f4f0a31603fa90f45bcd46ebcf3c21
|
|
BLAKE2b-256 checksum How to use checksums |
424cbe01baf6061142b15d2386e46ffa52041c52fc143282330de70c75103f9f
|
| 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 Nov 23, 2026.
Transparency logRelease files / pyincroxigraph-0.0.2-cp39-abi3-win_amd64.whl
| Download URL | pyincroxigraph-0.0.2-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 6.2 MB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
ff27bc2451549fdcc2dd98140b308a39b508b31e001c700b74276e64cac2e095
|
|
BLAKE2b-256 checksum How to use checksums |
ba97cb8229c35c514aabfeae64eb0a15a7b09fead5265a2be90c313f1395655a
|
| 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 Nov 23, 2026.
Transparency logRelease files / pyincroxigraph-0.0.2-cp39-abi3-musllinux_1_2_x86_64.whl
| Download URL | pyincroxigraph-0.0.2-cp39-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 9.8 MB |
| Tags | CPython 3.9 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
693281c606202c1cdaee8a2e0fb6c51269a6980071fa4e8df951b5bf30788554
|
|
BLAKE2b-256 checksum How to use checksums |
4ac9b9e5c30e8c614648f0df118cb96617554e109e65d6b1cf9624b6c99f26bb
|
| 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 Nov 23, 2026.
Transparency logRelease files / pyincroxigraph-0.0.2-cp39-abi3-musllinux_1_2_aarch64.whl
| Download URL | pyincroxigraph-0.0.2-cp39-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 9.1 MB |
| Tags | CPython 3.9 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
72f4f95c4668662edc0f26049181eb4c0464acf14222d9ebe9c6a2162ce018be
|
|
BLAKE2b-256 checksum How to use checksums |
fede456a50250349ee89218ae179a824b5e3798d46bdd927b4526787d48535f0
|
| 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 Nov 23, 2026.
Transparency logRelease files / pyincroxigraph-0.0.2-cp39-abi3-manylinux_2_28_x86_64.whl
| Download URL | pyincroxigraph-0.0.2-cp39-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 8.6 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
b2a1ad40534360854fe4c8d8d86365c08c0d1001190e8f4ff01a47ecfaceda13
|
|
BLAKE2b-256 checksum How to use checksums |
e40792f24a0ebc53ec77a53b3372cc4b139d4597aced79e7227ae1e61f2fe6c8
|
| 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 Nov 23, 2026.
Transparency logRelease files / pyincroxigraph-0.0.2-cp39-abi3-manylinux_2_28_aarch64.whl
| Download URL | pyincroxigraph-0.0.2-cp39-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 7.9 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
e19543bc7447a3531cb659287d70a07bdcb6cb8f5870abe3bf1117aadeb58f8d
|
|
BLAKE2b-256 checksum How to use checksums |
ea5df80451eba49811002dedc11deeba36c4e7751413dae0772640ec7c205a70
|
| 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 Nov 23, 2026.
Transparency logRelease files / pyincroxigraph-0.0.2-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | pyincroxigraph-0.0.2-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 6.0 MB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ee8b66aff8bb715651f843ddbebcba1da4b28cd4268529ffe4ac16c64d265be0
|
|
BLAKE2b-256 checksum How to use checksums |
9edaaf9cbdadfde8739c70cd9bf47bd53348c673cd3a33a681e5319a2a78a659
|
| 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 Nov 23, 2026.
Transparency logRelease files / pyincroxigraph-0.0.2-cp39-abi3-macosx_10_14_x86_64.whl
| Download URL | pyincroxigraph-0.0.2-cp39-abi3-macosx_10_14_x86_64.whl |
|---|---|
| Size | 6.5 MB |
| Tags | CPython 3.9 abi3 macOS 10.14+ x86-64 |
|
SHA-256 checksum How to use checksums |
0c4d8fb9a509cc7ab8e3ab6f9c87868cfa2c13835f90a19d1dc77fe223c10048
|
|
BLAKE2b-256 checksum How to use checksums |
66cb3ab34597b3b3bc36fc462cbef2b5accabdf180bd64a74f2dfc5bf075e624
|
| 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 Nov 23, 2026.
Transparency logSecurity for pyincroxigraph 0.0.2
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.
Full provenance
All 9 files in this release have been uploaded with provenance metadata.
Attestation for pyincroxigraph-0.0.2.tar.gz
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 Nov 23, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.