![]() |
Darwin
1.0
Event loop based prototype framework
|
General utilities for prefix commands (try, parallel, submit). The explicit options (`cmds`) are unchanged; among the implicit options, the inputs are checked (if any), and the output is adapted to each thread.
Public Member Functions | |
None | __init__ (self, str prefix, List[str] cmds) |
None | parse (self, List[str] args) |
int | get_entries (self, input) |
None | prepare_single (self) |
None | prepare_multi (self) |
None | prepare_fire_and_forget (self) |
None | __init__ (self, str prefix, List[str] cmds) |
None | parse (self, List[str] args) |
int | get_entries (self, input) |
None | prepare_single (self) |
None | prepare_multi (self) |
None | prepare_fire_and_forget (self) |
Public Attributes | |
name | |
cmds | |
helper | |
extension | |
inputs | |
output | |
args | |
absoutput | |
absinputs | |
Static Public Attributes | |
str | |
Path | |
Private Member Functions | |
str | _help_text (self) |
List[str] | _synopsis (self) |
str | _help_text (self) |
List[str] | _synopsis (self) |
|
private |
Returns the command's normal help text.
|
private |
Returns the command's normal help text.
|
private |
|
private |
int get_entries | ( | self, | |
input | |||
) |
Obtain the number of entries from input n-tuple.
int get_entries | ( | self, | |
input | |||
) |
Obtain the number of entries from input n-tuple.
None parse | ( | self, | |
List[str] | args | ||
) |
Put input(s), output, and other arguments in dedicated members.
None parse | ( | self, | |
List[str] | args | ||
) |
Put input(s), output, and other arguments in dedicated members.
None prepare_fire_and_forget | ( | self | ) |
Copies the executable, libraries, and dictionaries to the output directory.
None prepare_fire_and_forget | ( | self | ) |
Copies the executable, libraries, and dictionaries to the output directory.
None prepare_multi | ( | self | ) |
Prepare the members for parallel running (local or on farm).
None prepare_multi | ( | self | ) |
Prepare the members for parallel running (local or on farm).
None prepare_single | ( | self | ) |
Prepare the working area for a single-run command.
None prepare_single | ( | self | ) |
Prepare the working area for a single-run command.
absinputs |
absoutput |
args |
cmds |
extension |
helper |
inputs |
name |
output |
|
static |
|
static |