Skip to main content

Easy-to-use ModbusTCP Server in pure Python

Project description

modbus_server

A Modbus server implementation in pure Python.

Installation

pip install modbus_server

Usage

import modbus_server
s = modbus_server.Server(port=5020)
s.start()
s.set_coil(1,True)

Todo:

  • Client tests with pyModbusTCP
  • Test 32bit values
  • Test performance

Testing:

For testing, install a symlink to the package in the python environment using flit:

flit install . -s

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

modbus_server-0.2.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

modbus_server-0.2.0-py2.py3-none-any.whl (7.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file modbus_server-0.2.0.tar.gz.

File metadata

  • Download URL: modbus_server-0.2.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for modbus_server-0.2.0.tar.gz
Algorithm Hash digest
SHA256 44daacc714ad8e980736f9bacc58714e5b13924b5e624c1ce24672e20075dba2
MD5 0ae716ecc98f53bdd9509d89dcbe6a92
BLAKE2b-256 d85b4044d3aab30b186682e664c9ce362a492d4fd28a0823264b771f17cfde29

See more details on using hashes here.

File details

Details for the file modbus_server-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for modbus_server-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fc0b355e4fb48d311221fd39bb561015d62943a3fc237a19e854eb2cbcd226e1
MD5 0826d158e7b9eb2e9f5e73bc30f60cc7
BLAKE2b-256 ee49cc839e12f0813f56b2d5fcf848b85c953dd5a414c51e0a3e93b5f5ede585

See more details on using hashes here.

Supported by

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