duco package¶
Submodules¶
duco.command_line module¶
Command line tool that wraps Python Duco.
duco.const module¶
Constants used by duco.
duco.duco module¶
Duco.
-
class
duco.duco.DucoSystem(modbus_client_type, modbus_client_port, modbus_master_unit_id=1)[source]¶ Bases:
objectThe summary line for a class docstring should fit on one line.
If the class has public attributes, they may be documented here in an
Attributessection and follow the same formatting as a function’sArgssection. Alternatively, attributes may be documented inline with the attribute’s declaration (see __init__ method below).Properties created with the
@propertydecorator should be documented in the property’s getter method.- Attributes:
- attr1 (str): Description of attr1.
attr2 (
int, optional): Description of attr2.
-
config¶ Return system configuration.
Module contents¶
Init file for Python Duco.
-
class
duco.DucoSystem(modbus_client_type, modbus_client_port, modbus_master_unit_id=1)[source]¶ Bases:
objectThe summary line for a class docstring should fit on one line.
If the class has public attributes, they may be documented here in an
Attributessection and follow the same formatting as a function’sArgssection. Alternatively, attributes may be documented inline with the attribute’s declaration (see __init__ method below).Properties created with the
@propertydecorator should be documented in the property’s getter method.- Attributes:
- attr1 (str): Description of attr1.
attr2 (
int, optional): Description of attr2.
-
config¶ Return system configuration.