fireworks.scripts package¶
Subpackages¶
Submodules¶
fireworks.scripts.lpad_run module¶
A runnable script for managing a FireWorks database (a command-line interface to launchpad.py)
-
fireworks.scripts.lpad_run.
add_scripts
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
add_wf
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
add_wf_dir
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
append_wf
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
archive
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
cancel_qid
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
check_wf
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
defuse_fws
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
defuse_wfs
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
delete_wfs
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
detect_lostruns
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
detect_unreserved
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
dump_wf
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
forget_offline
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
get_children
(links, start, max_depth)¶
-
fireworks.scripts.lpad_run.
get_fw_ids_helper
(lp: fireworks.core.launchpad.LaunchPad, args: argparse.Namespace, count_only: Optional[bool] = None) → Union[List[int], int]¶ Build fws query from command line options and submit.
- Parameters
lp (fireworks.core.firework.Launchpad) –
args (argparse.Namespace) –
count_only (bool) – if None, then looked up in args.
- Returns
resulting fw_ids or count of fws in query.
- Return type
-
fireworks.scripts.lpad_run.
get_fws
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
get_fws_helper
(lp: fireworks.core.launchpad.LaunchPad, ids: List[int], args: argparse.Namespace) → Union[List[int], int, List[Dict[str, Union[str, int, bool]]], str, bool]¶ Get fws from ids in a representation according to args.display_format.
-
fireworks.scripts.lpad_run.
get_fws_in_wfs
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
get_launchdir
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
get_lp
(args: argparse.Namespace) → fireworks.core.launchpad.LaunchPad¶
-
fireworks.scripts.lpad_run.
get_output_func
(format: typing_extensions.Literal[json, yaml]) → Callable[[str], Any]¶
-
fireworks.scripts.lpad_run.
get_qid
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
get_wfs
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
init_yaml
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
introspect
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
maintain
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
orphaned
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
parse_helper
(lp: fireworks.core.launchpad.LaunchPad, args: argparse.Namespace, wf_mode: bool = False, skip_pw: bool = False) → List[int]¶ Helper method to parse args that can take either id, name, state or query.
-
fireworks.scripts.lpad_run.
pause_fws
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
pause_wfs
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
print_fws
(ids, lp, args: argparse.Namespace) → None¶ Prints results of some FireWorks query to stdout.
-
fireworks.scripts.lpad_run.
pw_check
(ids: List[int], args: argparse.Namespace, skip_pw: bool = False) → List[int]¶
-
fireworks.scripts.lpad_run.
recover_offline
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
refresh
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
reignite_fws
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
reignite_wfs
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
report
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
rerun_fws
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
reset
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
resume_fws
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
set_priority
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
track_fws
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
tuneup
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
unlock
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
update_fws
(args: argparse.Namespace) → None¶
-
fireworks.scripts.lpad_run.
webgui
(args: argparse.Namespace) → None¶
fireworks.scripts.mlaunch_run module¶
A runnable script to launch Job Packing (Multiple) Rockets
fireworks.scripts.qlaunch_run module¶
A runnable script for launching rockets (a command-line interface to queue_launcher.py)
-
fireworks.scripts.qlaunch_run.
do_launch
(args)¶
fireworks.scripts.rlaunch_run module¶
A runnable script to launch a single Rocket (a command-line interface to rocket_launcher.py)
-
fireworks.scripts.rlaunch_run.
handle_interrupt
(signum, frame)¶