Source Manual
This manual provides a quick overview of the hid_usb_relay package and links to each documented interface.
Documentation pages
- USB Relay — low-level relay control classes and helpers
- API — FastAPI server interface and HTTP endpoints
- CLI — command-line relay control interface
- GUI — desktop graphical user interface
Overview
The package supports three independent user interfaces while sharing a single relay control implementation in hid_usb_relay.usb_relay.
hid_usb_relay.usb_relaycontains the core device and service classes.hid_usb_relay.apiexposes HTTP endpoints via FastAPI.hid_usb_relay.cliprovides a command-line experience.hid_usb_relay.guilaunches a Dear PyGui desktop app.