Installation
This program is tested on python 3.10+ (Ubuntu 22.04+ or equivalent). Ubuntu 20.04 and python 3.8 are no longer supported.
Install with pip or pipx
The package is available in the Python Package Index,
pip install modpoll
Optionally, pyserial library can be installed for Modbus-RTU communication,
pip install 'modpoll[serial]'
Run the following command to check if there is new version available,
pip install -U modpoll
On Windows, it’s recommended to use pipx for installing modpoll. Refer to pipx installation guide for detailed instructions.
To install modpoll, open a Command Prompt terminal and run:
pipx install modpoll
To upgrade modpoll to the latest version, use the following command:
pipx upgrade modpoll
Uninstall
The program can be uninstalled by the following command,
pip uninstall modpoll
or,
pipx uninstall modpoll
Run with docker
A docker image has been provided for user to directly use the tool without the local installation,
docker run --rm topmaker/modpoll
It shows the version of the tool by default.