Skip to main content

purrdf-rdflib — the opt-in import rdflib shadow

This is a thin, pure-Python distribution that claims the top-level rdflib import name and re-exports purrdf's purrdf.compat.rdflib surface. With it installed, third-party code doing a literal import rdflib transparently runs on purrdf — no source changes.

pip install purrdf[rdflib]
import rdflib                       # resolves to purrdf's compat surface
g = rdflib.Graph()
g.parse(data="<http://example.org/s> <http://example.org/p> <http://example.org/o> .", format="nt")
print(g.serialize(format="turtle"))

from rdflib.namespace import RDF    # -> purrdf.compat.rdflib.namespace
from rdflib import URIRef, Literal  # -> purrdf.compat.rdflib.term
import rdflib.plugins.sparql        # -> purrdf.compat.rdflib.plugins.sparql

Collision caveat — do not co-install with real rdflib

This shadow and the genuine rdflib both own the rdflib import name and must never co-inhabit one environment. Whichever is resolvable on sys.path wins; installing both is unsupported and undefined. That is why this shadow ships as a separate distribution rather than inside the main purrdf wheel: environments that need the real rdflib (for example purrdf's own differential test oracle) simply do not install purrdf-rdflib.

Metadata

Release files for purrdf-rdflib 5.0.0

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

Source distribution (sdist)

Source distribution for purrdf-rdflib 5.0.0
File Size Uploaded Provenance Actions
purrdf_rdflib-5.0.0.tar.gz 17.0 kB With provenance Details for purrdf_rdflib-5.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for purrdf-rdflib 5.0.0
File Interpreter ABI Platform Actions
purrdf_rdflib-5.0.0-py3-none-any.whl Python 3 none any Details for purrdf_rdflib-5.0.0-py3-none-any.whl

Total release size: 36.3 kB

Release files / purrdf_rdflib-5.0.0.tar.gz

Download URL purrdf_rdflib-5.0.0.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
64e275cf30793b2f7c7d8e95982a1dff939fc045458965331dc0a03c869354cb
BLAKE2b-256 checksum
How to use checksums
1a484db14be3f0588fd6abf169c05b03aaa999706c4f2fb8707f6a85f70b631d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.18

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 22, 2026.

Transparency log

Release files / purrdf_rdflib-5.0.0-py3-none-any.whl

Download URL purrdf_rdflib-5.0.0-py3-none-any.whl
Size 19.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
807d80f660986ce688685d4e7521ddd2ee78c2d53eb18e36544ff8bcda4d972c
BLAKE2b-256 checksum
How to use checksums
6550b2007df684d77553782d43d05126069c259a866187375c80a3acfa7064ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.18

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 22, 2026.

Transparency log

Security for purrdf-rdflib 5.0.0

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for purrdf_rdflib-5.0.0.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 22, 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.

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