A wrapper for CharaChorder's Serial API written in Python
Project description
charachorder.py
A wrapper for CharaChorder's Serial API written in Python
Warning: This project is in beta; breaking changes will occur without notice. Please wait for v1.0.0
Features
- Supports all major versions of Python3.
- Exhaustive list of commands as in the Serial API.
- Events (coming soon).
Installation
Python 3.9 or higher is required.
# Linux/macOS
python3 -m pip install -U charachorder.py
# Windows
py -3 -m pip install -U charachorder.py
To install the development version, run the following:
git clone https://github.com/CharaChorder/charachorder.py
cd charachorder.py
python3 -m pip install -U .
Usage
from charachorder import CharaChorder
for device in CharaChorder.list_devices():
# Method 1
with device:
print(device.get_id())
# Method 2
device.open()
print(device.get_id())
device.close()
Links
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
charachorder_py-0.5.1.tar.gz
(11.6 kB
view hashes)
Built Distribution
Close
Hashes for charachorder.py-0.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a0759dd0b57372f6cbda00923bca8a60a8003698a65ae61f930ad04635bec32 |
|
MD5 | 3a6ea5b7aeaf59a4b59dafcb18a084c9 |
|
BLAKE2b-256 | 02bd672f5edd6f5cfded3c0963d35445a87c9221c58145d0700474b76a844e73 |