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 discord.py
# Windows
py -3 -m pip install -U discord.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
- Documentation (TODO)
- CharaChorder's Official Discord Server
- Serial API
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-0.2.0.tar.gz
(6.1 kB
view hashes)
Built Distribution
Close
Hashes for charachorder-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2da70540e60293fe4b8782eab30c32bfef49d04781b8e0ac675b6f914d95aff5 |
|
MD5 | a1390e95eae0186fbc2ff5d0e0ab6cc4 |
|
BLAKE2b-256 | 7e903569ca9387389806492bbb0b49ffd8bde1aa37f628a3ffe33b4474537da4 |