A Python client library to talk with Brultech Devices over a serial connection
Project description
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.
Development
Setup
python3.9 -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
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for aiobrultech_serial-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 319eea0776e4e9ac41f417e01ef2060d3b951fa204481b0b0849ec970d8df8da |
|
MD5 | a905fb0c86ba975cea0cb88175480f7f |
|
BLAKE2b-256 | 0852871b815ee586ce608979e44332de6af21985b509845f988942aa085ef04e |