qmk_firmware/lib/python/xap_client
2022-09-29 23:44:19 +01:00
..
__init__.py Tidy up code/docstrings 2022-07-19 00:55:36 +01:00
client.py stash 2022-09-29 23:44:19 +01:00
device.py Stub out nested routes 2022-09-29 23:44:19 +01:00
readme.md Tidy up code/docstrings 2022-07-19 00:55:36 +01:00
routes.py stash more lighting 2022-09-29 23:44:19 +01:00
types.py stash more lighting 2022-09-29 23:44:19 +01:00

XAP python3 bindings

Example

from xap_client import XAPClient

# List Available Devices
devices = XAPClient.devices()
selected = devices[0]

# Connect then run commands
with XAPClient().connect(selected) as dev:
    print(dev.version())

API

TODO