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.8 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/GetPsyched/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.4.2.tar.gz
(8.7 kB
view hashes)
Built Distribution
Close
Hashes for charachorder.py-0.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0786086f2d95b3b782a553f49542a1375b4c5ea357e6b4f42e8bd7175df9bf6d |
|
MD5 | 11f06c978edba5fb60abcd3799e016c0 |
|
BLAKE2b-256 | 273799f2cd3e8cc6d464f5e1633d480f6651370b2c71314896b7156a8c515552 |