A library for W3C Provenance Data Model supporting PROV-JSON, PROV-XML and PROV-O (RDF)


Keywords
provenance, graph, model, PROV, PROV-DM, PROV-JSON, JSON, PROV-XML, PROV-N, PROV-O, RDF, provenance-model, python, w3c
License
MIT
Install
pip install prov==1.5.3

Documentation

Introduction

Latest Release Build Status Coverage Status Code Health Wheel Status Supported Python version License

A library for W3C Provenance Data Model supporting PROV-O (RDF), PROV-XML, PROV-JSON import/export

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.