https://github.com/ffy00/python-uhid
Pure Python typed Linux UHID wrapper
https://github.com/ffy00/python-uhid
hacktoberfest hid linux python uhid usb-hid usbhid
Last synced: 6 days ago
JSON representation
Pure Python typed Linux UHID wrapper
- Host: GitHub
- URL: https://github.com/ffy00/python-uhid
- Owner: FFY00
- License: mit
- Created: 2020-08-28T00:17:51.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-06-23T19:12:37.000Z (22 days ago)
- Last Synced: 2025-06-23T20:24:36.852Z (22 days ago)
- Topics: hacktoberfest, hid, linux, python, uhid, usb-hid, usbhid
- Language: Python
- Homepage: https://python-uhid.readthedocs.io/en/latest/
- Size: 79.1 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# python-uhid

[](https://python-uhid.readthedocs.io/en/latest/?badge=latest)
[](https://pypi.org/project/uhid/)Pure Python typed UHID wrapper.
Supported backends:
- Blocking IO + epoll
- Uses the epoll API to watch the UHID file descriptor for input events
- asyncio blocking IO
- Uses asyncio reader and writer tasks
- trio
- Async API built on top of trioSee the [examples folder](https://github.com/FFY00/python-uhid/tree/master/examples) for example snippets of each backend.
UHID is a Linux API to create virtual HID devices.
See the [official UHID documentation](https://www.kernel.org/doc/Documentation/hid/uhid.txt).