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 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| purrdf_rdflib-3.0.0.tar.gz | 17.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| purrdf_rdflib-3.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.3 kB
Release files / purrdf_rdflib-3.0.0.tar.gz
| Download URL | purrdf_rdflib-3.0.0.tar.gz |
|---|---|
| Size | 17.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06f6b82087866a78febb5965df61f93076f7fbe162bbeccacd6bf53132e88566
|
|
BLAKE2b-256 checksum How to use checksums |
6ee66cae4e4c601c866a909f45836bdad6973dfdcea7bff08c973098ed6d4ff8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
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 2, 2026.
Transparency logRelease files / purrdf_rdflib-3.0.0-py3-none-any.whl
| Download URL | purrdf_rdflib-3.0.0-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dbd383b1e8eeef0bbecef9aa72aacee115b734da2e89b9a3bf2518f2b9d92cd1
|
|
BLAKE2b-256 checksum How to use checksums |
16e5a197668f71bf635d995b35cc922de298cc7d5bc4b45b1890e6d104532bfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
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 2, 2026.
Transparency log