Manifests

Manifests are state definitions of a filesystem. They can either be predefined in YAML format or programatically constructed in Python.

Manifest

class pybol.Manifest(filename=None)

Tool for managing a multistate workflow. Requires a properly formatted manifest file; see example.

assemble(state, dest)

Builds the specified state.

Keyword arguments: state – a state from the manifest file. dest – destination path.

State

class pybol.State(name, files=[], full_transfer=False, options=[])
assemble(src_path, dest)

Builds a state according to the information provided in the manifest file.

Keyword arguments: src_path – path containing all of the states. dest – destination path.

clear_files()

Clears the files held in the state