Skip to main content

A Python client library to talk with Brultech Devices over a serial connection

Project description

Lint Build

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiobrultech-serial-0.1.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

aiobrultech_serial-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file aiobrultech-serial-0.1.0.tar.gz.

File metadata

  • Download URL: aiobrultech-serial-0.1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for aiobrultech-serial-0.1.0.tar.gz
Algorithm Hash digest
SHA256 475585fa92ec774d6bba98ce9a4736e9cc5eac3b68d889d3272f3eaab918625d
MD5 0a8b96b5f8b728143f779d35eaeb8a29
BLAKE2b-256 aaada1dddb7cecea9bda898e910568388e135d9b33ecb3565ae98522f45a21d1

See more details on using hashes here.

Provenance

File details

Details for the file aiobrultech_serial-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aiobrultech_serial-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for aiobrultech_serial-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a0f468ac56ad02bcca42ba2d61003ed39b31863a96da7979e6302bf57c04239
MD5 6b2d1b9226d6a7dd56e5d9f3424b3959
BLAKE2b-256 f218804ffc14b994f6b3e6ee073dfb174257064d84d3ed68db0967c60af81e1c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page