powermon.outputs package

outputs / __init__.py

class powermon.outputs.OutputType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: StrEnum

enum of valid output types

powermon.outputs.get_output_class(output_type, formatter, output_config=None)

return the instantiated output class - inc formatter

powermon.outputs.list_outputs()

helper function to display the list of outputs

powermon.outputs.multiple_from_config(outputs_config)

return one or more output classes from a config

powermon.outputs.parse_output_config(output_config)

generate a single output object from a config

Submodules