duco package

Submodules

duco.command_line module

Command line tool that wraps Python Duco.

duco.command_line.configure_logging()[source]

Configure logging for command line.

duco.command_line.main()[source]

Execute main function.

duco.command_line.parse_args()[source]

Parse command line arguments.

duco.const module

Constants used by duco.

duco.duco module

Duco.

class duco.duco.DucoBox(modbus_client_type, modbus_client_port, modbus_client_host=None, modbus_master_unit_id=1)[source]

Bases: object

The summary line for a class docstring should fit on one line.

If the class has public attributes, they may be documented here in an Attributes section and follow the same formatting as a function’s Args section. Alternatively, attributes may be documented inline with the attribute’s declaration (see __init__ method below).

Properties created with the @property decorator should be documented in the property’s getter method.

Attributes:
attr1 (str): Description of attr1. attr2 (int, optional): Description of attr2.

Module contents

Init file for Python Duco.

class duco.DucoBox(modbus_client_type, modbus_client_port, modbus_client_host=None, modbus_master_unit_id=1)[source]

Bases: object

The summary line for a class docstring should fit on one line.

If the class has public attributes, they may be documented here in an Attributes section and follow the same formatting as a function’s Args section. Alternatively, attributes may be documented inline with the attribute’s declaration (see __init__ method below).

Properties created with the @property decorator should be documented in the property’s getter method.

Attributes:
attr1 (str): Description of attr1. attr2 (int, optional): Description of attr2.