Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

A pure Python package providing the core RDF constructs.

The packages is intended to provide the core RDF types and interfaces that other packages can build on. The package defines a plugin interface for parsers, stores, and serializers that other packages can use to implement parsers, stores, and serializers that will plug into the rdf package.

The rdf package does not itself contain any plugin implementation. So, you will want to install a library that builds upon rdf and defines some plugin implementations. One such library is rdflib version 3.x.

The primary interface rdf exposes to work with RDF is rdf.graph.Graph.

A tiny example:

>>> from rdf.graph import Graph
>>> g = Graph()
>>> result = g.parse("http://eikeon.com/foaf.rdf")
>>> print "graph has %s statements." % len(g)
graph has 34 statements.
>>>
>>> for s, p, o in g:
...     if (s, p, o) not in g:
...         raise Exception("It better be!")
>>> s = g.serialize(format='n3')

Metadata

Release files for rdf 0.9a5

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

Source distribution (sdist)

Source distribution for rdf 0.9a5
File Size Uploaded Provenance Actions
rdf-0.9a5.tar.gz 49.8 kB Without provenance Details for rdf-0.9a5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rdf 0.9a5
File Interpreter ABI Platform Actions
rdf-0.9a5-py2.5.egg Legacy Egg format - - Details for rdf-0.9a5-py2.5.egg

Total release size: 131.0 kB

Release files / rdf-0.9a5.tar.gz

Download URL rdf-0.9a5.tar.gz
Size 49.8 kB
Tags Source
SHA-256 checksum
How to use checksums
775838e02e9d812f917760c91460b7c4c9df7285316b40ae276854234b5bb6ee
BLAKE2b-256 checksum
How to use checksums
031386596f45c450db284bdb6ed76200304dc20d795b150c5855c65a7c2df038
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / rdf-0.9a5-py2.5.egg

Download URL rdf-0.9a5-py2.5.egg
Size 81.2 kB
Tags Egg
SHA-256 checksum
How to use checksums
734290cdb83f7094398a6662b37450cce03032eaf523709f9043b8de9b5df874
BLAKE2b-256 checksum
How to use checksums
c4c655d763ade1382b937661bfba963951cb00693f6a72c1ff1dd7bfbcbdab99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for rdf 0.9a5

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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