Linux

Bootstrap the mauzr agent on linux systems.

class mauzr.platform.linux.Core(suit, agent, instance=None, parser=None)

Bases: mauzr.platform.cpython.Core

Manage program components on linux platforms.

Parameters:
  • suit (str) – Suit this agent belongs to.
  • agent (str) – Name of the agent.
  • instance (str) – Instance of this agent. May be None
  • parser (argparse.ArgumentParser) – Argparse instance to use. If None, a new one will be used.
setup_gpio(**kwargs)

Setup GPIO.

See mauzr.platform.linux.gpio.Pins

setup_i2c(*args, **kwargs)

Setup I2C.

See mauzr.platform.linux.i2c.Bus