qmk_firmware/lib/python/xap_client
2022-10-16 20:24:37 +01:00
..
__init__.py Generate python effect constants 2022-10-13 01:43:47 +01:00
client.py stash 2022-09-29 23:44:19 +01:00
constants.py Align client/docs gen with recent changes 2022-10-16 20:24:37 +01:00
device.py Add eeprom init route 2022-10-01 04:16:19 +01:00
pyproject.toml Dummy client config - more config 2022-10-12 01:23:00 +01:00
readme.md Tidy up code/docstrings 2022-07-19 00:55:36 +01:00
routes.py Align client/docs gen with recent changes 2022-10-16 20:24:37 +01:00
types.py Stub out lighting sets 2022-10-03 01:04:49 +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