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


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


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.2.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiobrultech-serial-0.2.0.tar.gz
  • Upload date:
  • Size: 3.6 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.2.0.tar.gz
Algorithm Hash digest
SHA256 f4e590ea379e494e7cfeb79fd22a3b79acdab53fe8e2e6436036bfd6f3565dd3
MD5 09ee72d97a0eff91aa34b51ec07da81a
BLAKE2b-256 3f1a97edd3483d201180ec0ce21cf45b62e23ad58bfb7a8febe2693fd296b588

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: aiobrultech_serial-0.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c1728bb7a7bdf70c1642db0e5bea7187c68df5b7dba63d246d3dd3930f4f975b
MD5 1ba8f5d7ea49db2101dc01aa5727d41a
BLAKE2b-256 c75ecbf4f6afde19dd606722c9de046a3a4e13602dba70e4e5d0c88ddf0de7ba

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