What is aiobrultech-serial?
This library talks to devices from Brultech Research over their serial port, using siobrultech-protocols to decode the data.
Installation
pip install aiobrultech-serial
Usage
from aiobrultech_serial import connect
async with connect("/dev/ttyUSB0") as connection:
async for packet in connection.packets():
print(f"{packet}")
Look at scripts/dump.py
for a fuller example.
API Calls
This library also supports getting and setting information on the attached device. It supports all of the API calls available in siobrultech-protocols.
Development
Setup
python3.11 -m venv .venv
source .venv/bin/activate
# Install Requirements
pip install -r requirements.txt
# Install Dev Requirements
pip install -r requirements-dev.txt
# One-Time Install of Commit Hooks
pre-commit install
Testing
Tests are run with pytest.
Metadata
Release files for aiobrultech-serial 0.9.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 |
|---|---|---|---|---|
| aiobrultech-serial-0.9.0.tar.gz | 5.9 kB | Without provenance | Details for aiobrultech-serial-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiobrultech_serial-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for aiobrultech_serial-0.9.0-py3-none-any.whl |
Total release size: 10.7 kB
Release files / aiobrultech-serial-0.9.0.tar.gz
| Download URL | aiobrultech-serial-0.9.0.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35ee8894c4071cbbd0f6b776dcd37811dab8eb3ff6045c649cd2373d4e6b167c
|
|
BLAKE2b-256 checksum How to use checksums |
8514afbd6526f5d649e7ebc0e4da5f30a847ed94cfe70fde2fe0c1d3c493cc95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / aiobrultech_serial-0.9.0-py3-none-any.whl
| Download URL | aiobrultech_serial-0.9.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
71c555c0f162d9a97f7f9b6275ce5871e6919d1c2bc1aa0445f416743ddac5fc
|
|
BLAKE2b-256 checksum How to use checksums |
cfb89058281d65336d2c19c4d92cc4b3e9e5812320b869abbc3ca73d89af0f93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Security for aiobrultech-serial 0.9.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.