Skip to main content

A library for W3C Provenance Data Model supporting PROV-JSON and PROV-XML

Project description

Latest Release Build Status Coverage Status Wheel Status Downloads Supported Python version License

A library for W3C Provenance Data Model supporting PROV-JSON and PROV-XML 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 deserializtion support: PROV-JSON and PROV-XML.
  • Exporting PROV documents into various graphical formats (e.g. PDF, PNG, SVG).

Uses

See a short tutorial for using this package.

This package is used extensively by ProvStore, a free online repository for provenance documents.

History

1.4.0 (2015-08-13)

  • Changed the type of qualified names to prov:QUALIFIED_NAME (fixed #68)
  • Removed XSDQName class and stopped supporting parsing xsd:QName as qualified names
  • Replaced pydot dependency with pydotplus
  • Removed support for Python 2.6
  • Various minor bug fixes and improvements

1.3.2 (2015-06-17)

  • Added: prov-compare script to check equivalence of two PROV files (currently supporting JSON and XML)
  • Fixed: deserialising Python 3’s bytes objects (issue #67)

1.3.1 (2015-02-27)

  • Fixed unicode issue with deserialising text contents
  • Set the correct version requirement for six
  • Fixed format selection in prov-convert script

1.3.0 (2015-02-03)

  • Python 3.3 and 3.4 supported
  • Updated prov-convert script to support XML output
  • Added missing test JSON and XML files in distributions

See a complete history.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for prov, version 1.4.0
Filename, size File type Python version Upload date Hashes
Filename, size prov-1.4.0-py2.py3-none-any.whl (242.1 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size prov-1.4.0.tar.gz (92.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page