Skip to main content

SDSS-V Modbus PCL library

Versions Documentation Status Code style: black Test codecov

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)

Source distribution for sdss-drift 1.2.0
File Size Uploaded
sdss_drift-1.2.0.tar.gz 13.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sdss-drift 1.2.0
File Interpreter ABI Platform
sdss_drift-1.2.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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