Skip to main content

#aio modbus client

The main purpose is to create classes of devices connected via modbus by describing their properties.

Not intended to transfer bytes to modbus.

The library allows you to organize work with devices connected to a TCP modbus server, and a serial port. It also assumes the possibility of having devices operating at different speeds and different connection parameters on the bus.

##Use

  1. Create your class inheriting from ModbusDevice. It is important to specify the static variable file in your class file = file
  2. Create a JSON file with the description of the registers of your device
  3. To access the device, use an instance of your class and the package API.

see example: example / Wirenboard / TestWirenBoardDimmer.py

if someone likes the implementation, I will add documentation

##async API

read_param(param_id) - gets device property value

write_param(param_id, value) - writes the value to the property of the device

is_device() - should return true if the device at the current address can be served by this class

find_devices() - returns the list of addresses of these devices. The function calls is_device for each modbus address.

##Licensing

This published under the MIT License, see LICENSE for details.

Copyright (c) 2019 Mikhail Razgovorov

Metadata

Release files for aio-modbus-client 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aio-modbus-client 0.0.4
File Size Uploaded Provenance Actions
aio_modbus_client-0.0.4.tar.gz 14.0 kB Without provenance Details for aio_modbus_client-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aio-modbus-client 0.0.4
File Interpreter ABI Platform Actions
aio_modbus_client-0.0.4-py3-none-any.whl Python 3 none any Details for aio_modbus_client-0.0.4-py3-none-any.whl

Total release size: 37.7 kB

Release files / aio_modbus_client-0.0.4.tar.gz

Download URL aio_modbus_client-0.0.4.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9158911d97415cd35594e9f6b58fa17567e3590180fc6cc231ddc13ce46626d7
BLAKE2b-256 checksum
How to use checksums
c0e3ae924a5410c91e9b6f298d9f5abaa223c3723f65bf9370cccbc94b0da7fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.8

Release files / aio_modbus_client-0.0.4-py3-none-any.whl

Download URL aio_modbus_client-0.0.4-py3-none-any.whl
Size 23.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c45e950474dbdde6e573870057b0192c4525e1c2248d35819b94dd8d15290de8
BLAKE2b-256 checksum
How to use checksums
c2ff4e223c21982dbd9074cbd2bb1a20da1cfac27f972579ccdaeaf4545955f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.8

Security for aio-modbus-client 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page