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

Uploaded Source

Built Distribution

pylibmodbus-0.6.2-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

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