spectra_dio
Python Module for PowerBox / PowerTwin digital I/O
Installation
pip install spectra_dio
Example Usage
import spectra_dio
dio = spectra_dio.DIO(spectra_dio.IOConfig.from_dmi())
dio.initialize()
# Read digital input status
print(dio.read_di())
# Set digital output DO0 on
dio.write_do(0, True)
Metadata
Release files for spectra_dio 1.0.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 | |
|---|---|---|---|
| spectra_dio-1.0.0.tar.gz | 16.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spectra_dio-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.0 kB
Release files / spectra_dio-1.0.0.tar.gz
| Download URL | spectra_dio-1.0.0.tar.gz |
|---|---|
| Size | 16.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1b56170d4b2db3ab63ba21d6893f5a639dc75fdea6ea8f8cb87a27ef3c92a28
|
|
BLAKE2b-256 checksum How to use checksums |
78e5b64724b1b20f6ea8ded55fbb66cd50bf45034e8421d5e9ae446f0195c8f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.12.4 CPython/3.10.12
|
Release files / spectra_dio-1.0.0-py3-none-any.whl
| Download URL | spectra_dio-1.0.0-py3-none-any.whl |
|---|---|
| Size | 17.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d188ec7c081dfaa5d51fcd5cd5c520db5be91c20162c687ae2d2771dfe0c6c26
|
|
BLAKE2b-256 checksum How to use checksums |
781b13ec9c2e877e80ed058a8883eaa5126f718518509a141b08ccad9f074f9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.12.4 CPython/3.10.12
|