python-uhid

Pure Python typed Linux UHID wrapper

MIT License

Downloads
141
Stars
9
Committers
1

python-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 trio

See the examples folder for example snippets of each backend.

UHID is a Linux API to create virtual HID devices. See the official UHID documentation.

Package Rankings
Top 22.8% on Pypi.org
Badges
Extracted from project README
Documentation Status PyPI version