Skip to main content

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


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.6.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

charachorder_py-0.6.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file charachorder_py-0.6.0.tar.gz.

File metadata

  • Download URL: charachorder_py-0.6.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for charachorder_py-0.6.0.tar.gz
Algorithm Hash digest
SHA256 f0c1272e6cea84eb11bd525a51174f5f9400db33ffed447596103bde1a24f359
MD5 15ac179c838564bac86a62bf9b5262e6
BLAKE2b-256 0aae664473eeac764f9c191440be16a02de6a7fd93e11d6e600c35b3f97db9e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for charachorder_py-0.6.0.tar.gz:

Publisher: pypi-publish.yml on CharaChorder/charachorder.py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file charachorder_py-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for charachorder_py-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 71208e4bc3532c2679ceed94902490ee7f79d2054971a441b9618c0c03408174
MD5 f04fa0ea8fad7fc9c62e191de4b7d91e
BLAKE2b-256 74de9a9c5e85583b85db06b4d12c23a4aa0bd297f4eca9b165e0119132417e4e

See more details on using hashes here.

Provenance

The following attestation bundles were made for charachorder_py-0.6.0-py3-none-any.whl:

Publisher: pypi-publish.yml on CharaChorder/charachorder.py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page