Python wrapper for libmodbus
Project description
pylibmodbus
Python Interface for libmodbus written with CFFI. This libmodbus wrapper is compatible with Python 2 and Python 3.
This wrapper is only compatible with libmodbus v3.1.2 and above.
Required packages:
- python-dev and libffi-dev
- libmodbus and libmodbus-dev
Licensed under BSD 3-Clause (see LICENSE file for details).
Tests
Before running the test suite, you need to launch a TCP server.
You can use the server provided by libmodbus in tests
directory:
./tests/bandwidth-server-many-up
Once this server is running, you can launch the Python tests with:
python -m tests
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pylibmodbus-0.6.2.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file pylibmodbus-0.6.2.tar.gz
.
File metadata
- Download URL: pylibmodbus-0.6.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7989af81f57cc7593c86b2d74201978e931bc80f6bbe62564273477fc7059c20 |
|
MD5 | 4f0f344499445f57dbf8f87886f5c924 |
|
BLAKE2b-256 | afd41e05b22d6b6ed3129e1e2d96901ba68c9e0918964b2dad56f554aeb42ada |
File details
Details for the file pylibmodbus-0.6.2-py3-none-any.whl
.
File metadata
- Download URL: pylibmodbus-0.6.2-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3e4c760056e04e203620fe6424a699c4b81dadf7819eaa2066c11f2c651bf76 |
|
MD5 | 48c1d22eaf5a2466436127dcb262bbae |
|
BLAKE2b-256 | 9fa1d994a37de36250d5de693671a631c5e7d43b720abce9cd66cb8062e7cc56 |