Async implementation of SunSpec Modbus communication.
Project description
async-sunspec is an asynchronous Modbus communication library for Python focused on SunSpec-compliant devices. It provides tools to create both SunSpec clients and servers, with a runtime model system for representing SunSpec data structures and a modular architecture.
It is an async-first library built on top of pymodbus, meant to handle multiple devices concurrently without blocking. The client supports scanning for SunSpec devices and reading their models asynchronously.
Features
Usage overview
Configure a server (device): assemble model instances, bind them to a SunSpecDevice and run the Modbus server.
Configure a client (master): create a SunSpecClient, connect to a device, scan for models and interact with them asynchronously.
Advantages
- Scalable concurrency: asyncio-based I/O lets a single process manage many
connections efficiently.
Requirements
Python >=3.12
pymodbus==3.12.1
License
Release under the Mozilla Public License Version 2.0. See LICENSE.md for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file async_sunspec-0.1.0.tar.gz.
File metadata
- Download URL: async_sunspec-0.1.0.tar.gz
- Upload date:
- Size: 95.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a8e6d341e0c012de9b40dd33446f0033e497e25f2ea57040e7f56d42d884939
|
|
| MD5 |
8032e3620abaa1182597603941fbebde
|
|
| BLAKE2b-256 |
e9a4076b22dab875a44c5ee88efebc99c466235188923636047858fab530d459
|
File details
Details for the file async_sunspec-0.1.0-py3-none-any.whl.
File metadata
- Download URL: async_sunspec-0.1.0-py3-none-any.whl
- Upload date:
- Size: 202.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c125a812e4bba33602f1af606423c45fd14d55262c121a78bcb6067c8e3ed0d
|
|
| MD5 |
cc679de7dda3d78538cf22c00fa8aa7b
|
|
| BLAKE2b-256 |
bfd8ff3a53052fde2b72b53a548f3f84edd95c029f87932e670a3d9edb8a6471
|