Skip to main content

A library for W3C Provenance Data Model supporting PROV-JSON import/export

Project description

Latest Release Build Status Coverage Status Wheel Status Downloads

A library for W3C Provenance Data Model supporting PROV-JSON import/export

Features

This package provides an implementation of the W3C PROV Data Model in Python. It provides in-memory classes for PROV assertions and can be serialized into PROV-JSON representation. In addition, the included prov.dot module exports PROV documents into various graphical formats (e.g. PDF, PNG, SVG).

Uses

This package is used extensively by ProvStore, a respository for provenance documents.

History

1.0.1 (2014-08-18)

  • Added: Default namespace inheritance for bundles
  • Fixed: NamespaceManager.valid_qualified_name did not support prov.model.XSDQName
  • Added: Convenience prov.read method with a lazy format detection
  • Added: Convenience plot method on the ProvBundle class (requiring matplotlib).
  • Changed: The previous add_record() method renamed to new_record()
  • Added: The new add_record() function which takes one argument, a ProvRecord, has been added
  • Fixed: Document flattening
  • Added: hash function added to ProvRecord (at risk: to be removed as ProvRecord is expected to be mutable)
  • Added: extra_attributes added to mirror existing formal_attributes

1.0.0 (2014-07-15)

  • The underlying data model has been rewritten and is incompatible with pre-1.0 versions.
  • References to PROV elements (i.e. entities, activities, agents) in relation records are now QualifiedName instances.
  • A document or bundle can have multiple records with the same identifier.
  • PROV-JSON serializer and deserializer are now separated from the data model.
  • Many tests added, including round-trip PROV-JSON encoding/decoding.
  • For changes pre-1.0, see CHANGES.txt

Project details


Release history Release notifications

History Node

1.5.2

History Node

1.5.1

History Node

1.5.0

History Node

1.4.0

History Node

1.3.2

History Node

1.3.1

History Node

1.3.0

History Node

1.2.0

History Node

1.1.0

This version
History Node

1.0.1

History Node

1.0.0

History Node

0.5.5

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
prov-1.0.1-py27-none-any.whl (41.5 kB) Copy SHA256 hash SHA256 Wheel 2.7 Aug 18, 2014
prov-1.0.1.tar.gz (46.8 kB) Copy SHA256 hash SHA256 Source None Aug 18, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page