Skip to main content

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.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

pylibmodbus-0.6.1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file pylibmodbus-0.6.1.tar.gz.

File metadata

  • Download URL: pylibmodbus-0.6.1.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

Hashes for pylibmodbus-0.6.1.tar.gz
Algorithm Hash digest
SHA256 c8e18a9721ac5d5093726a1f9e60d702948ffeed811039b063d62a748e16b2d9
MD5 e3a27da3b800e6f678869d634636b4a7
BLAKE2b-256 ce6fb90d53fdf4238fbd9d1e23e76b64a5e83d08f32266c367f8b81fc0b58a37

See more details on using hashes here.

File details

Details for the file pylibmodbus-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: pylibmodbus-0.6.1-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

Hashes for pylibmodbus-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 86d7b91d27abb45e5b9cbe6a7974a708c8cd0fe21cd1f355bbc5cf7487945dad
MD5 ea2af380bacbc175e9a19d2735659cdf
BLAKE2b-256 e26820bf4c2df7002fb033dae1539dbbe431652088fc0c4fbf186f0e6bfe0483

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page