An open API service indexing awesome lists of open source software.

https://github.com/trungdong/prov

A Python library for W3C Provenance Data Model (PROV)
https://github.com/trungdong/prov

prov prov-dm prov-json prov-o provenance provenance-model python w3c

Last synced: 8 months ago
JSON representation

A Python library for W3C Provenance Data Model (PROV)

Awesome Lists containing this project

README

          

============
Introduction
============

.. image:: https://badge.fury.io/py/prov.svg
:target: http://badge.fury.io/py/prov
:alt: Latest Release
.. image:: https://github.com/trungdong/prov/workflows/CI/badge.svg
:target: https://github.com/trungdong/prov/actions?workflow=CI
:alt: CI Status
.. image:: https://img.shields.io/coveralls/trungdong/prov.svg
:target: https://coveralls.io/r/trungdong/prov?branch=master
:alt: Coverage Status
.. image:: https://img.shields.io/pypi/wheel/prov.svg
:target: https://pypi.python.org/pypi/prov/
:alt: Wheel Status
.. image:: https://img.shields.io/pypi/pyversions/prov.svg
:target: https://pypi.python.org/pypi/prov/
:alt: Supported Python version
.. image:: https://img.shields.io/pypi/l/prov.svg
:target: https://pypi.python.org/pypi/prov/
:alt: License

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

* Free software: MIT license
* Documentation: http://prov.readthedocs.io/.
* Python 3 only.

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 deserialization 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.