qmk_firmware/lib/python/xap_client
2023-08-25 18:57:33 +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 Fix xap_client gen after render_xap_output changes 2023-03-06 19:56:38 +00:00
device.py Fix xap cli bcd output 2023-08-25 18:57:33 +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 Fix xap_client gen after render_xap_output changes 2023-03-06 19:56:38 +00:00
types.py Fix xap_client gen after render_xap_output changes 2023-03-06 19:56:38 +00: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