Skip to main content

Lightweight JSON-RPC client for Arduino over serial

Project description

Tether

Lightweight JSON-RPC client for Arduino over serial.

Pair with tether-arduino on the device side.

Install

pip install tether

Usage

from tether import Tether

device = Tether("/dev/ttyACM0")
device.ping()          # {"command": "ping", "status": "pong"}
device.get_a2()        # {"command": "get_a2", "raw": 512, "voltage": 2.5}
device.set_focus(0.5)  # positional arg sent as "value"

License

MIT

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

tether_arduino-0.1.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

tether_arduino-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file tether_arduino-0.1.0.tar.gz.

File metadata

  • Download URL: tether_arduino-0.1.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tether_arduino-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0fc1cd67e1db4e38bbfa9b347d39242c07ef2e0dd5de71ae17b3ccc4f23ccf52
MD5 0318908e5bae6c2a15fe67e2f76c87ad
BLAKE2b-256 eed056692aa24825df815c73aee3d665d5dfe4586d7ae118ba59feb486dcdf0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for tether_arduino-0.1.0.tar.gz:

Publisher: publish.yml on Revise-Robotics/tether-python

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

File details

Details for the file tether_arduino-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tether_arduino-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tether_arduino-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 653f9eeb6d2111f247100193badbe65022db3e62fabe3f5a644f9c32c1470842
MD5 e4fa39df9cf9e9f21d0a82aaed80b330
BLAKE2b-256 c1d7934ac1e9252161d0419c4a713d0cb1cde172dc84206a86684e57adbb9270

See more details on using hashes here.

Provenance

The following attestation bundles were made for tether_arduino-0.1.0-py3-none-any.whl:

Publisher: publish.yml on Revise-Robotics/tether-python

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