Interface for serial devices using pyserial.
pip install sertools- Query method with flexible configuration parameters for various response formats.
- Lightweight serial port terminal emulator.
The SerialDevice instance may be called with a command string to send to the serial port and optional readback/terminator parameters.
from sertools import SerialDevice
ser = SerialDevice()
ser('HELP')git clone https://github.com/jbdoar/sertools
cd sertools
pip install -e .