tomato.passata: CLI and API for tomato drivers and components

Code author: Peter Kraus

Module of functions to interact with drivers and components of tomato. Includes the following functions:

  • status() to query the status of a tomato component

  • register() to register an individual component on a tomato driver

  • attrs() to query attribute information on a component

  • capabilities() to query capabilities of a component

  • constants() to query constants on a component

  • get_attrs() to query values of attributes on a component

  • set_attr() to set value of an attribute on a component

  • reset() to reset a component

  • get_last_data() to retrieve the last recorded datapoint from a component

  • measure() to trigger an idle measurement on a component

tomato.passata.status(*, port: int, timeout: int, name: str, **_: dict) Reply
tomato.passata.register(*, port: int, timeout: int, name: str, **_: dict) Reply
tomato.passata.attrs(*, port: int, timeout: int, name: str, **_: dict) Reply
tomato.passata.capabilities(*, port: int, timeout: int, name: str, **_: dict) Reply
tomato.passata.constants(*, port: int, timeout: int, name: str, **_: dict) Reply
tomato.passata.get_attrs(port: int, timeout: int, name: str, attrs: list[str], yaml: bool = False, **_: dict) Reply
tomato.passata.set_attr(port: int, timeout: int, name: str, attr: str, val: Any, force: bool = False, **_: dict) Reply
tomato.passata.reset(*, port: int, timeout: int, name: str, force: bool = False, **_: dict) Reply
tomato.passata.get_last_data(*, port: int, timeout: int, name: str, **_: dict) Reply
tomato.passata.measure(*, port: int, timeout: int, name: str, **_: dict) Reply