niprov.formatsimple module¶
-
class
niprov.formatsimple.
SimpleFormat
(dependencies=<niprov.dependencies.Dependencies object>)¶ Bases:
niprov.format.Format
-
serializeList
(images)¶ Publish the provenance for several images on the commandline.
Parameters: provenance (list) – List of provenance dictionaries.
-
serializePipeline
(pipeline)¶ Pretty-print a pipeline to the terminal
Parameters: pipeline (Pipeline) – Pipeline object to publish.
-
serializeSingle
(img)¶ Publish the provenance for one image on the commandline.
Parameters: provenance (dict) – Provenance for one image file
-
serializeStatistics
(stats)¶ Publish statistics for collected provenance in the terminal.
Parameters: stats (dict) – Dictionary with summary values.
-
serializeSummary
(image)¶ Publish a summary of the provenance for one image as one line in the terminal.
Parameters: provenance (dict) – Provenance for one image file
-