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

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.9a6
File Size Uploaded
rdf-0.9a6.tar.gz 48.5 kB Details

Built distribution (wheel)

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

Total release size: 135.3 kB

Release files / rdf-0.9a6.tar.gz

Download URL rdf-0.9a6.tar.gz
Size 48.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7d24956079b40284f283a3ea526839872bbe4323b2862c48fd81a718d1c6f761
BLAKE2b-256 checksum
How to use checksums
eac614c7745ec5ebbab06c3aa3b1b5e50958dc15b1397becb481aba40e27236d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL rdf-0.9a6-py2.5.egg
Size 86.8 kB
Tags Egg
SHA-256 checksum
How to use checksums
2e83862ccc09e14e7557262e245acc6f7ce726553208e49178129854060cd116
BLAKE2b-256 checksum
How to use checksums
0212ce3d232d663c8000f81be9a82548677c6027cbe582a69cb1221059980b4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.9a6 This release

2 release files

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