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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pylibmodbus-0.6.0.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.0.tar.gz
Algorithm Hash digest
SHA256 c58150802b26542687ead68b5bf4bf03596f8da4d5f4e15f56298eca4b75c6bd
MD5 7521ee1f5348d3061f20590027a179a6
BLAKE2b-256 7a91edded6af194b0d415f685e44d1c739729d8a6c1d10a9603e14258b6dc528

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylibmodbus-0.6.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 27e1691eb561c5b7872c561a9ac7965b09f3dda61ded6815dd1941c30398003d
MD5 a366822c309b4bcdedc100ef367eeba5
BLAKE2b-256 31d030afdbd0f9cbf11c81072af402a75039aa023b93a0b3c11e5ae4cd80ccf3

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