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


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.0.1.tar.gz (46.8 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.0.1-py27-none-any.whl (41.5 kB view details)

Uploaded Python 2.7

File details

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

File metadata

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

File hashes

Hashes for prov-1.0.1.tar.gz
Algorithm Hash digest
SHA256 3c92776e194be876aa1f04b95b872053bac640f7530932ac9a5b0362f9deddc7
MD5 b3a7cd281a6f1a57e3e7e5a266c82456
BLAKE2b-256 3625779e62bc534471955155c1683aba2611d7a72b194d8781d163175cc78979

See more details on using hashes here.

File details

Details for the file prov-1.0.1-py27-none-any.whl.

File metadata

File hashes

Hashes for prov-1.0.1-py27-none-any.whl
Algorithm Hash digest
SHA256 737505d07f4046cf41fe6d48b31b6fc537e4cdbccc7eac411ab4b568704a9be3
MD5 4d18f6c50047e6366ea11ba2c2d144c6
BLAKE2b-256 7152310661a634252f949e36613c7bc4ccfedbbdd01454bc0f513f03e3673a7b

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