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.2.tar.gz
(11.6 kB
view details)
Built Distribution
File details
Details for the file charachorder_py-0.5.2.tar.gz
.
File metadata
- Download URL: charachorder_py-0.5.2.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a18a10a4c18c6fcfa1db5b8ae221fabc5e83d0878348f8ba39b9422b584461f |
|
MD5 | 39282d880eccfac704982aa4b1eaa206 |
|
BLAKE2b-256 | 794c7b3e05a64bb13aea886dacd29eb853a51cac9d0ad69062088c73ecfbbca5 |
File details
Details for the file charachorder.py-0.5.2-py3-none-any.whl
.
File metadata
- Download URL: charachorder.py-0.5.2-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2527fc524b7065e83d8b8237354cc02daecd9096bc56f46efc640b7f3d7c764f |
|
MD5 | b8659871156ac1f2b6c11644f958e772 |
|
BLAKE2b-256 | 0613dbe407654699da3b29c258d6f2bb732b714bfed506051b222581369ba898 |