Introduction
July 27, 2026 ยท View on GitHub
A library for W3C Provenance Data Model supporting PROV-O (RDF), PROV-XML, PROV-JSON import/export
- Free software: MIT license
- Documentation: http://prov.readthedocs.io/.
- Python 3 only.
Features
- An implementation of the W3C PROV Data Model in Python.
- In-memory classes for PROV assertions, which can then be output as PROV-N
- Serialization and deserialization support: PROV-O (RDF), PROV-XML and PROV-JSON.
- Exporting PROV documents into various graphical formats (e.g. PDF, PNG, SVG).
- Convert a PROV document to a Networkx MultiDiGraph and back.
Uses
See a short tutorial for using this package.
This package is used extensively by ProvStore, a free online repository for provenance documents.
Roadmap
3.0.0 has been released, completing the staged modernisation (tooling, type hints, tests, documentation, standards conformance). See ROADMAP.md for the plan and the 3.x API-stability promise. Feedback is welcome on the issue tracker.
Supported versions
The latest 3.x release receives all fixes. The most recent 2.x release receives security fixes only; 1.x and earlier no longer receive fixes. See SECURITY.md for the full support table and how to report a vulnerability.