Metadata-Version: 2.4
Name: tether-arduino
Version: 0.1.0
Summary: Lightweight JSON-RPC client for Arduino over serial
Project-URL: Homepage, https://github.com/Revise-Robotics/tether-python
Project-URL: Repository, https://github.com/Revise-Robotics/tether-python
Project-URL: Issues, https://github.com/Revise-Robotics/tether-python/issues
Author: Revise Robotics
License-Expression: MIT
License-File: LICENSE
Keywords: arduino,embedded,iot,json,rpc,serial
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Embedded Systems
Classifier: Topic :: System :: Hardware
Requires-Python: >=3.9
Requires-Dist: pyserial>=3.5
Description-Content-Type: text/markdown

# Tether

Lightweight JSON-RPC client for Arduino over serial.

Pair with [tether-arduino](https://github.com/Revise-Robotics/tether-arduino) on the device side.

## Install

```
pip install tether
```

## Usage

```python
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
