watts.Plugin#
- class watts.Plugin(extra_inputs=None, show_stdout=False, show_stderr=False, unit_system='si')[source]#
Class defining the Plugin interface
- Parameters:
extra_inputs (
Optional[List[Union[str,bytes,PathLike]]]) – Extra (non-templated) input filesshow_stdout (
bool) – Whether to display output from stdout when \(run\) is calledshow_stderr (
bool) – Whether to display output from stderr whenrun()is calledunit_system ({'si', 'cgs'}) – Unit system to convert to when rendering input files
- unit_system#
Desired system of units for rendering templates
- Type:
{‘si’, ‘cgs’}
Methods