Skip to main content
https://github.com/fundacaocerti/async-sunspec/actions/workflows/ci.yml/badge.svg?branch=master

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.

Release files for async-sunspec 0.1.0

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

Source distribution (sdist)

Source distribution for async-sunspec 0.1.0
File Size Uploaded
async_sunspec-0.1.0.tar.gz 95.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for async-sunspec 0.1.0
File Interpreter ABI Platform
async_sunspec-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 297.6 kB

Release files / async_sunspec-0.1.0.tar.gz

Download URL async_sunspec-0.1.0.tar.gz
Size 95.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2a8e6d341e0c012de9b40dd33446f0033e497e25f2ea57040e7f56d42d884939
BLAKE2b-256 checksum
How to use checksums
e9a4076b22dab875a44c5ee88efebc99c466235188923636047858fab530d459
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / async_sunspec-0.1.0-py3-none-any.whl

Download URL async_sunspec-0.1.0-py3-none-any.whl
Size 202.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c125a812e4bba33602f1af606423c45fd14d55262c121a78bcb6067c8e3ed0d
BLAKE2b-256 checksum
How to use checksums
bfd8ff3a53052fde2b72b53a548f3f84edd95c029f87932e670a3d9edb8a6471
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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