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
from siobrultech_protocols.gem.packets import Packet
async def handler(packet: Packet) -> None:
print("{}".format(packet))
connect(handler, port)
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.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a0f468ac56ad02bcca42ba2d61003ed39b31863a96da7979e6302bf57c04239 |
|
MD5 | 6b2d1b9226d6a7dd56e5d9f3424b3959 |
|
BLAKE2b-256 | f218804ffc14b994f6b3e6ee073dfb174257064d84d3ed68db0967c60af81e1c |