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.9a4

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.9a4
File Size Uploaded Provenance Actions
rdf-0.9a4.tar.gz 46.0 kB Without provenance Details for rdf-0.9a4.tar.gz

Built distribution (wheel)

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

Total release size: 122.7 kB

Release files / rdf-0.9a4.tar.gz

Download URL rdf-0.9a4.tar.gz
Size 46.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0ff064c12ec669813e471bb9c1470fb32d70987e40cbf0b5d8a09e1c9368d434
BLAKE2b-256 checksum
How to use checksums
16e891d86d056a1a2e70796b8fb02bbfcb670074d5fb64a4353f963cda2634a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL rdf-0.9a4-py2.5.egg
Size 76.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
e1ffdc5cc95775ccc7a242cf1b879f9d2eb6547a77b322d44fe2950e87771107
BLAKE2b-256 checksum
How to use checksums
d123f3684de9474e00ea6fcb0af7c3b9b5e808d5c4f22e655707739caaea8955
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for rdf 0.9a4

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