amf-rotary-valve
This Python package provides control of AMF rotary valves.
Installation
$ pip install amf-rotary-valve
# List available devices
$ python -m amf_rotary_valve
Usage
from amf_rotary_valve import AMFDevice
device = AMFDevice(address="COM3")
device = AMFDevice(address="/dev/tty.usbmodem1101")
async with device:
await device.home()
valve_count = await device.get_valve_count()
current_valve = await device.get_valve()
# Rotate to the next valve
await device.rotate(current_valve % valve_count + 1)
for info in AMFDevice.list():
async with info.create() as device:
print(await device.get_unique_id())
Metadata
Release files for amf-rotary-valve 0.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 |
|---|---|---|---|---|
| amf-rotary-valve-0.2.0.tar.gz | 4.4 kB | Without provenance | Details for amf-rotary-valve-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| amf_rotary_valve-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for amf_rotary_valve-0.2.0-py3-none-any.whl |
Total release size: 9.7 kB
Release files / amf-rotary-valve-0.2.0.tar.gz
| Download URL | amf-rotary-valve-0.2.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e19460ca8b7322a17862845ac8fe6d83fd7b38f92e208fafb4908df1c93d099
|
|
BLAKE2b-256 checksum How to use checksums |
3040376ac23076ce76bebcd1ece778b6abd78fca873d21cf1fd36b528697ab35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / amf_rotary_valve-0.2.0-py3-none-any.whl
| Download URL | amf_rotary_valve-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bce22270ed6117062676e463692fd465d7ccc461427a3d2e54fd7d5a078db512
|
|
BLAKE2b-256 checksum How to use checksums |
c37cdfba498a08f82f0bc70e3c5ea444d3afcb557a20ae0919f14ad7e4e3e92a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Security for amf-rotary-valve 0.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.