HC-USBSerial Python library via Serial protocol, using pySerial library as API
Project description
USBSerial_Python-library
USBSerial_Python-library
https://pypi.org/project/USBSerial
Getting Started
Installation
$ pip install USBSerial
Usage
Import
from usbserial import USBSerial
Examples
from usbserial import USBSerial
device = USBSerial(port = 'ttyUSB0', baudrate = 115200, timeout = 3, open = True)
print(device.readline())
print(device.read(size = 1))
Dev
Build
$ python3 -m build
Local test
$ pip install -e .
Build and Local test
$ python3 -m build && pip install -e . && python
Release
$ python -m twine upload dist/*
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
USBSerial-1.0.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
USBSerial-1.0.0-py3-none-any.whl
(14.8 kB
view hashes)
Close
Hashes for USBSerial-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9126c2599045268063361cec28b3d936ac59515e47b4eda34085bc8a15fee7f4 |
|
MD5 | 7dc299088be1c874cf835e80d5dc197a |
|
BLAKE2b-256 | 55216222bd946c5a1429988372242845b688276e96d12ddae7d65ac11d1eded3 |