
RDFLib is a pure Python package for working with RDF. RDFLib contains most things you need to work with RDF, including:
The main tool is the rdflib package which contains most of the things you need to work with RDF, including:
Many 3rd party packages support additional Stores, parsers etc. via a plugins interface, e.g. HTD scalable, read-only storage.
The other RDFLib repositories are shown in logos or green relating to RDFLib’s internal modules in blue:

Please see the list of all packages here:
The main source of RDFLib documentation is online at https://rdflib.readthedocs.io. That contains pages handwritten by RDFLib contributors and also auto-generated pages from the rdflib code.
RDFLib’s code repository, https://github.com/rdflib/rdflib/, also contains some intro documentation in its README page, which is replicated to RDFLib’s PyPI page, https://pypi.org/project/rdflib/.
RDFLib also contains a set of documented examples in the example/
folder within the code repository.
7.6.0 is the current release (Feb, 2026) and a major release of a version 8 is expected in the later half of 2026.
Some major historical releases of RDFLib are:
| Release | Date | Note |
|---|---|---|
| 7.6.0 | 13 Feb 2026 | Clients for RDF4J & GraphDB APIs, fixes to the cbd() function and more |
| 7.4.0 | 30 Oct 2025 | Added support for Python 3.12 - 3.14 testing; moved to new MKDocs documentation |
| 7.3.0 | 24 Oct 2025 | Fixed some long-standing Dataset issues and added deprecation notices for v8 removal |
| 7.1.3 | 10 Jan 2025 | Minor updates on 7.0.0 including deterministic serialisation, improved type hinting etc. |
| 7.0.0 | 02 Aug 2023 | A major release with relatively slight breaking changes, new features and bug fixes |
| 6.0.0 | 20 Jul 2021 | The next major update with lots of auto-update PRs from dependabot etc |
| 5.0.0 | 18 Apr 2020 | The first update in many years. Very compatible with 4.2.2 |
| 4.2.2 | 30 Jan 2017 | A stable release used widely for many years |
| … | … | … |
| 1.1.1 | 12 Nov 2002 | First release! |
See the CHANGELOG in the code repository for full details.
RDFLib survives and grows via user contributions! Please consider lodging Pull Requests here:
You can also raise issues here:
For general “how do I…” queries, please use https://stackoverflow.com and tag your question with rdflib.
Existing questions:
If you want to contact the RDFLib maintainers, please do so via: