makeprov.reprozip
Convert reprounzip graph --json output to makeprov’s PROV model.
This module reads an existing ReproZip graph; it does not run a tracer or require ReproZip to be installed. The graph contains observed file accesses, not semantic dependencies, file contents, or network I/O.
Functions
|
Bind a document-level context to a node and rebuild its term aliases. |
|
Translate the documented |
|
Read a ReproZip JSON graph from disk and construct a |
|
Deep copy operation on arbitrary Python objects. |
|
|
|
Each part of a URL, e.g. the path info, the query, etc., has a different set of reserved characters that must be quoted. |
|
Decide how a document's identifiers are minted. |
Classes
|
|
|
|
|
Special type indicating an unconstrained type. |
|
|
|
Dict subclass for counting hashable items. |
|
|
|
PurePath subclass that can make system calls. |
|
The recipe an activity carried out, distinct from whoever ran it. |
|
|
|
Runtime configuration for provenance generation. |
|
The year, month and day arguments are required. |
- makeprov.reprozip.build_prov_from_reprozip(graph, *, config=None, name='reprozip')
Translate the documented
reprounzip graph --jsonstructure.Process references in
parentare run-local indices, not PIDs. A pathname may have multiple writers, so separate per-writer output entities are used when a single pathname cannot identify one generated file state.- Return type:
- makeprov.reprozip.convert_reprozip_graph(path, *, config=None, name='reprozip')
Read a ReproZip JSON graph from disk and construct a
Prov.- Return type: