Bases: fireworks.core.firework.FireTaskBase
Wrapper around shutil.make_archive to make tar archives.
format (str): Optional. one of “zip”, “tar”, “bztar” or “gztar”. Defaults to gztar.
Bases: fireworks.core.firework.FireTaskBase
Compress all files in a directory.
Bases: fireworks.core.firework.FireTaskBase
Decompress all files in a directory. Autodetects gz, bz2 and z file extensions.
Bases: fireworks.core.firework.FireTaskBase
A FireTask to delete files:
Bases: fireworks.core.firework.FireTaskBase
A FireTask to Transfer files. Note that
mode: (str) - move, mv, copy, cp, copy2, copytree, copyfile, rtransfer
‘src’ and ‘dest’ keys
dest: (str) destination directory, if not specified within files parameter
Bases: fireworks.core.firework.FireTaskBase
A FireTask to write files:
and contents
Bases: fireworks.core.firework.FireTaskBase
Runs any python function! Extremely powerful, which allows you to essentially run any accessible method on the system.
args (list): List of args. Default is empty. kwargs (dict): Dictionary of keyword args. Default is empty. auto_kwargs (bool): If True, all other params not starting with “_” are supplied as keyword args stored_data_varname (str): Whether to store the output in
FWAction. If this is a string that does not evaluate to False, the output of the function will be stored as FWAction(stored_data={stored_data_varname: output}). The name is deliberately long to avoid potential name conflicts.
Bases: fireworks.core.firework.FireTaskBase
Bases: fireworks.core.firework.FireTaskBase
Task to write templated files via Jinja2 library Required parameters:
- template_file: (str) - path to template file
- context: (dict) - variable replacements for the template file
- output_file: (str) - output file
Bases: fireworks.utilities.fw_serializers.FWSerializable
Bases: fireworks.utilities.fw_serializers.FWSerializable