Conrad Relaycard
Control Conrad relaycard via python
https://www.conrad.com/p/conrad-components-197720-relay-card-component-12-v-dc-24-v-dc-197720
Usage
from conrad_relaycard import Relaycard
rly = Relaycard()
rly.setup()
rly.get_port(1, 1)
rly.set_port(1, 1, True)
via CLI
usage: conrad-relaycard [-h] [-v] [-q] [-i INTERFACE] [-a ADDRESS] [-p PORT] [--scan] [--get-ports] [--set-ports STATE] [--toggle-ports]
options:
-h, --help show this help message and exit
-v, --verbose Output verbosity
-q, --quiet Minimized output (allow easier parsing)
-i INTERFACE, --interface INTERFACE
Serial interface to use
-a ADDRESS, --address ADDRESS
Relaycard address (not needed for --scan)
-p PORT, --port PORT Ports to get/set (only for some commands)
--scan Scan for relay cards
--get-ports Get port states on relay card
--set-ports STATE Set port states on relay card <on/off>
--toggle-ports Toggle port states on relay card
Metadata
Release files for conrad-relaycard 0.2
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 |
|---|---|---|---|---|
| conrad_relaycard-0.2.tar.gz | 9.7 kB | Without provenance | Details for conrad_relaycard-0.2.tar.gz |
Release files / conrad_relaycard-0.2.tar.gz
| Download URL | conrad_relaycard-0.2.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed1661105309206e83342667aac33fc2a74598840db7d314f04a3c7613631f3b
|
|
BLAKE2b-256 checksum How to use checksums |
7344b21d39826f07b256bb6d7a70a3d2a634615c8fc4072b854d6e587e801ad2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for conrad-relaycard 0.2
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.