Documentation for Thermite
A package for easily creating CLIs.
CliParamKind
Event
Bases: Enum
START_ARGS_PRE_PROCESS
instance-attribute
class-attribute
ParameterSignature
ParameterGroup
Bases: MutableMapping
params
instance-attribute
class-attribute
process
Source code in thermite/parameters/group.py
ConstantTriggerProcessor
Bases: TriggerProcessor
bind
ObjSignature
Parameter
CliCallback
execute
Source code in thermite/command.py
ConvertTriggerProcessor
Bases: TriggerProcessor
bound_args
instance-attribute
class-attribute
bind
Source code in thermite/parameters/processors.py
Config
cli_callbacks
instance-attribute
class-attribute
cli_callbacks_top_level
instance-attribute
class-attribute
cli_args_store
instance-attribute
class-attribute
cli_args_store: CLIArgConverterStore = field(
factory=partial(CLIArgConverterStore, add_defaults=True)
)
event_callbacks
instance-attribute
class-attribute
add_cli_callback
get_event_cbs
event_cb_deco
MultiConvertTriggerProcessor
Bases: TriggerProcessor
bound_args
instance-attribute
class-attribute
bind
Source code in thermite/parameters/processors.py
process
to_convert_trigger_processor
Source code in thermite/parameters/processors.py
Option
Bases: Parameter
Base class for Options.
process
Implement of general argument processing.
Source code in thermite/parameters/base.py
to_argument
Source code in thermite/parameters/base.py
BasicCLIArgConverter
Bases: CLIArgConverterBase