module documentation

OpenFlexure System.

A module to control the underlying microscope system and to expose information about the microscope, server, and thing states to the web API.

Class CommandOutput A pydantic model passing the STDOUT and STDERR from a subprocess over HTTP.
Class OpenFlexureSystem Describe and control the OpenFlexure system.
Constant REBOOT_CMD Undocumented
Constant SHUTDOWN_CMD Undocumented
REBOOT_CMD: list[str] = (source)

Undocumented

Value
['sudo', 'shutdown', '-r', 'now']
SHUTDOWN_CMD: list[str] = (source)

Undocumented

Value
['sudo', 'shutdown', '-h', 'now']