SDSS-V Modbus PCL library
This library provides an asynchronous interface with modbus devices over a TCP ethernet controller (such as this one) and control of the connected I/O modules. The code is a relatively thin wrapper around Pymodbus with the main feature being that it's possible to define a PLC controller and a complete set of modules as a YAML configuration file which can then be loaded. It also provides convenience methods to read and write to the I/O modules and to convert the read values to physical units.
This code is mostly intended to interface with the SDSS-V FPS electronic boxes but is probably general enough for other uses. It's originally based on Rick Pogge's WAGO code.
Installation
To install, run
pip install sdss-drift
To install from source, git clone or download the code, navigate to the root of the downloaded directory, and do
pip install .
sdss-drift uses Poetry for development. To install it in development mode do
poetry install -E docs
Documentation
Refer to the Read the Docs documentation for more details.
Metadata
Release files for sdss-drift 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sdss_drift-1.2.0.tar.gz | 13.1 kB | Without provenance | Details for sdss_drift-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sdss_drift-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for sdss_drift-1.2.0-py3-none-any.whl |
Total release size: 26.3 kB
Release files / sdss_drift-1.2.0.tar.gz
| Download URL | sdss_drift-1.2.0.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6b6ae0021512be2ee477066168871e080d7b947c18f9849debc20f16bf921ff
|
|
BLAKE2b-256 checksum How to use checksums |
7d33b26df92d114798f618576c4c11797d880465e002738d28920313667d3b63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / sdss_drift-1.2.0-py3-none-any.whl
| Download URL | sdss_drift-1.2.0-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9bc829d4ffc657a99f938a42cf1e67416099eb74cf35f288e54bbc37d0fb6967
|
|
BLAKE2b-256 checksum How to use checksums |
e8b6e1affa5671e199a9b95ad053fc84485f098db6b3a0108bc4aa65a213bbda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for sdss-drift 1.2.0
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.