Skip to main content

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

Project description

Latest Release Build Status Coverage Status 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 deserializtion 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.

History

1.5.0 (2015-10-19)

  • Added: Support for PROV-O (RDF) serialization and deserialization

  • Added: direction option for prov.dot.prov_to_dot

  • Added: prov.graph.graph_to_prov to convert a MultiDiGraph back to a prov.model.ProvDocument

  • Testing with Python 3.5

  • Various minor bug fixes and improvements

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.

Source Distribution

prov-1.5.0.tar.gz (125.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prov-1.5.0-py2.py3-none-any.whl (432.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file prov-1.5.0.tar.gz.

File metadata

  • Download URL: prov-1.5.0.tar.gz
  • Upload date:
  • Size: 125.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for prov-1.5.0.tar.gz
Algorithm Hash digest
SHA256 96a74efa1b3324961ff66246539ed7bdc06245dcbeef538688c755a0ad5777ee
MD5 6814538f38f3884ff8b6a8ac51b7fc01
BLAKE2b-256 7fd685f0e363549423f9053c249e8df0001f4b3ea4bda6219a421521c689db00

See more details on using hashes here.

File details

Details for the file prov-1.5.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for prov-1.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cf912059ffd6349f9d82d761a8fb82b04a92b03f495315411ffa8557353e9919
MD5 623ab98a57c2113edfc314e677976675
BLAKE2b-256 9020da8a504786b669b23099118517a77034f95aad07d37215a6909f2e4aabe0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page