qmk_firmware/lib/python/xap_client
2023-03-06 19:56:38 +00:00
..
__init__.py
client.py
constants.py Fix xap_client gen after render_xap_output changes 2023-03-06 19:56:38 +00:00
device.py
pyproject.toml
readme.md
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