Skip to main content

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.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 pyincroxigraph 0.0.1
File Size Uploaded Provenance Actions
pyincroxigraph-0.0.1.tar.gz 5.1 MB With provenance Details for pyincroxigraph-0.0.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pyincroxigraph 0.0.1
File Actions
pyincroxigraph-0.0.1-cp39-abi3-win_arm64.whl CPython 3.9 abi3 Windows ARM64 Details for pyincroxigraph-0.0.1-cp39-abi3-win_arm64.whl
pyincroxigraph-0.0.1-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for pyincroxigraph-0.0.1-cp39-abi3-win_amd64.whl
pyincroxigraph-0.0.1-cp39-abi3-musllinux_1_2_x86_64.whl CPython 3.9 abi3 Linux musl 1.2+ x86-64 Details for pyincroxigraph-0.0.1-cp39-abi3-musllinux_1_2_x86_64.whl
pyincroxigraph-0.0.1-cp39-abi3-musllinux_1_2_aarch64.whl CPython 3.9 abi3 Linux musl 1.2+ ARM64 Details for pyincroxigraph-0.0.1-cp39-abi3-musllinux_1_2_aarch64.whl
pyincroxigraph-0.0.1-cp39-abi3-manylinux_2_28_x86_64.whl CPython 3.9 abi3 Linux glibc 2.28+ x86-64 Details for pyincroxigraph-0.0.1-cp39-abi3-manylinux_2_28_x86_64.whl
pyincroxigraph-0.0.1-cp39-abi3-manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.28+ ARM64 Details for pyincroxigraph-0.0.1-cp39-abi3-manylinux_2_28_aarch64.whl
pyincroxigraph-0.0.1-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for pyincroxigraph-0.0.1-cp39-abi3-macosx_11_0_arm64.whl
pyincroxigraph-0.0.1-cp39-abi3-macosx_10_14_x86_64.whl CPython 3.9 abi3 macOS 10.14+ x86-64 Details for pyincroxigraph-0.0.1-cp39-abi3-macosx_10_14_x86_64.whl

Total release size: 62.0 MB

Release files / pyincroxigraph-0.0.1.tar.gz

Download URL pyincroxigraph-0.0.1.tar.gz
Size 5.1 MB
Tags Source
SHA-256 checksum
How to use checksums
a69147711309f1db8191f07e8f85f88f3d5aa386d8d1cf14d3d15fb4e25a5562
BLAKE2b-256 checksum
How to use checksums
f8f2b0c0ba812ce3c87938fcc6f396745dd34b678d34547b5ec921bbaf66312e
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 16, 2026.

Transparency log

Release files / pyincroxigraph-0.0.1-cp39-abi3-win_arm64.whl

Download URL pyincroxigraph-0.0.1-cp39-abi3-win_arm64.whl
Size 5.6 MB
Tags CPython 3.9 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
632598e56db9ab48a32fa7e4c93b42b63a6e8e7cd16934d43d09909253f8596c
BLAKE2b-256 checksum
How to use checksums
f490d651050eecfa98fd2c535b2fbe459b5158efc2eb6361437a11da21807c77
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 16, 2026.

Transparency log

Release files / pyincroxigraph-0.0.1-cp39-abi3-win_amd64.whl

Download URL pyincroxigraph-0.0.1-cp39-abi3-win_amd64.whl
Size 5.9 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
0a44c74690068c3aa842b71e16526db005e8bfda42b57a19f6be157332c94fdf
BLAKE2b-256 checksum
How to use checksums
8a5b813283faf4e69ba4406947b637ebdd17ab4a54dc4adcda158ccf84f8055a
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 16, 2026.

Transparency log

Release files / pyincroxigraph-0.0.1-cp39-abi3-musllinux_1_2_x86_64.whl

Download URL pyincroxigraph-0.0.1-cp39-abi3-musllinux_1_2_x86_64.whl
Size 9.3 MB
Tags CPython 3.9 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
89dad0d59890ba4aa8be906304859e6bdf50933cbac8e3ca87560d2e5690884a
BLAKE2b-256 checksum
How to use checksums
115eedef4502f3e249a755383d2c8b8eda835b93d7744f22d3a9f68b724f4972
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 16, 2026.

Transparency log

Release files / pyincroxigraph-0.0.1-cp39-abi3-musllinux_1_2_aarch64.whl

Download URL pyincroxigraph-0.0.1-cp39-abi3-musllinux_1_2_aarch64.whl
Size 8.7 MB
Tags CPython 3.9 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
90e0676e3a30948e103bfd363ef8b72ad768b790cbc53498a9daaa2a22726329
BLAKE2b-256 checksum
How to use checksums
c4bbbb99e2b18510af6e6cef031f1ecc51d20225fad02e9b8006921f6fa4a9be
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 16, 2026.

Transparency log

Release files / pyincroxigraph-0.0.1-cp39-abi3-manylinux_2_28_x86_64.whl

Download URL pyincroxigraph-0.0.1-cp39-abi3-manylinux_2_28_x86_64.whl
Size 8.1 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
98ddbe6b5e469ee893b22cf1138eb6e8fad4548deab2b985cd196e1611cfed11
BLAKE2b-256 checksum
How to use checksums
b059b018d2ec58d6e2c36619131f0560d64e6b85cdd895b73b92ec5fdbf451de
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 16, 2026.

Transparency log

Release files / pyincroxigraph-0.0.1-cp39-abi3-manylinux_2_28_aarch64.whl

Download URL pyincroxigraph-0.0.1-cp39-abi3-manylinux_2_28_aarch64.whl
Size 7.5 MB
Tags CPython 3.9 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
7eb80a9aacf6f950ae86379dc4b93b014fcd94bf2e5fb19a1c7c0152379234a0
BLAKE2b-256 checksum
How to use checksums
1f49890ff054f93c3a3a5ed80c8bf538149b11c0d13fcee9fe3224c36631fb29
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 16, 2026.

Transparency log

Release files / pyincroxigraph-0.0.1-cp39-abi3-macosx_11_0_arm64.whl

Download URL pyincroxigraph-0.0.1-cp39-abi3-macosx_11_0_arm64.whl
Size 5.6 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c4fa4d346f33942d0474b3da68b91230351376bf62f3de80bac5048c03625343
BLAKE2b-256 checksum
How to use checksums
5e52721475bee6e30a9d0337b4c23ee108bfd7c9aafe61fa0dcf7e93e60f24a0
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 16, 2026.

Transparency log

Release files / pyincroxigraph-0.0.1-cp39-abi3-macosx_10_14_x86_64.whl

Download URL pyincroxigraph-0.0.1-cp39-abi3-macosx_10_14_x86_64.whl
Size 6.2 MB
Tags CPython 3.9 abi3 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
73bda4333e205a7fc425abe73209fa1aead091b1a5ef82fbf4dd82bf78651e80
BLAKE2b-256 checksum
How to use checksums
33eec26c57214e5e46e9c77e2632610962326d4b145c9e9a84e5895f0a5e7a81
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 16, 2026.

Transparency log

Security for pyincroxigraph 0.0.1

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.

Select from 9 files

Attestation for pyincroxigraph-0.0.1.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 16, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

9 release files Full provenance

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