Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 30 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-07T22:32:38.000Z (3 months ago)
- Last Synced: 2024-11-27T19:09:26.579Z (about 1 month 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: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# python-uhid
![checks](https://github.com/FFY00/python-uhid/workflows/checks/badge.svg)
[![Documentation Status](https://readthedocs.org/projects/python-uhid/badge/?version=latest)](https://python-uhid.readthedocs.io/en/latest/?badge=latest)
[![PyPI version](https://badge.fury.io/py/uhid.svg)](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).