Skip to main content
Latest Release Build Status Coverage Status Wheel Status Downloads

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

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

History

1.2.0 (2014-12-19)

  • Added: prov.graph.prov_to_graph to convert a ProvDocument to a MultiDiGraph

  • Added: PROV-N serializer

  • Fixed: None values for empty formal attributes in PROV-N output (issue #60)

  • Fixed: PROV-N representation for xsd:dateTime (issue #58)

  • Fixed: Unintended merging of Identifier and QualifiedName values

  • Fixed: Cloning the records when creating a new document from them

  • Fixed: incorrect SoftwareAgent records in XML serialization

1.1.0 (2014-08-21)

  • Added: Support for PROV-XML serialization and deserialization

  • A ProvRecord instance can now be used as the value of an attributes

  • Added: convenient assertions methods for ProvEntity, ProvActivity, and ProvAgent

  • Added: ProvDocument.update() and ProvBundle.update()

  • Fixed: Handling default namespaces of bundles when flattened

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

Release files for prov 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prov 1.2.0
File Size Uploaded
prov-1.2.0.tar.gz 59.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for prov 1.2.0
File Interpreter ABI Platform
prov-1.2.0-py27-none-any.whl Python 2.7 none any Details

Total release size: 116.5 kB

Release files / prov-1.2.0.tar.gz

Download URL prov-1.2.0.tar.gz
Size 59.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cb91755bcd2196d7f355b23a2c154441a762c567399c1b78abcb13d2f13f307b
BLAKE2b-256 checksum
How to use checksums
86d8b107ad63283cf056225a869c6bb6d8d1fe8d3186ba45fed7a790c0e486ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / prov-1.2.0-py27-none-any.whl

Download URL prov-1.2.0-py27-none-any.whl
Size 56.8 kB
Tags Python 2.7
SHA-256 checksum
How to use checksums
9e548288dfec3094be34c876d6af219c8d6b6d80edfe0b7b27c75676b0165d87
BLAKE2b-256 checksum
How to use checksums
f911d391a1b9325343936a650138ce3034b9bed3b2008ff9508afe8202e0d399
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

3.2.2

2 release files

3.2.1

2 release files

3.2.0

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.0

2 release files

2.5.3

2 release files

2.5.2

2 release files

2.5.1

2 release files

2.5.0

2 release files

2.4.0

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.1

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.5.3

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.5.5

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page