qmk_firmware/lib/python/xap_client
2022-07-19 00:55:36 +01:00
..
__init__.py Tidy up code/docstrings 2022-07-19 00:55:36 +01:00
client.py Tidy up code/docstrings 2022-07-19 00:55:36 +01:00
device.py Tidy up code/docstrings 2022-07-19 00:55:36 +01:00
readme.md Tidy up code/docstrings 2022-07-19 00:55:36 +01:00
routes.py Prep client gen for header parsing 2022-07-17 23:04:35 +01:00
types.py Prep client gen for header parsing - templates 2022-07-18 00:06:32 +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