USB / HID windows helper library
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Installing and Using pywinusb.hid
.. contents:: Table of Contents
This project aims to be a simple USB/HID user application space (hence no system drivers needed) 100% python package (without C extensions). Initially targeting simple HID devices management.
The vision for this project is to be something similar to
PyParallelbut for USB/HID hardware enthusiasts.
All python code, using ctypes
Top level handling of HID events (usage events calling hook function handlers)
Depending on your application you might find these limitations
Windows only (so far...)
Maybe speed. I've had feedback by some users that speed is not a problem for high data throughput, but I think you might hit some Python limits if you are require any real time processing.
The most convenient way of installing is using
pip(see below for
pipinstall commands in Windows). I recommend you do
| pip install commands:
| For Python 2:
pip install pywinusb, or
py -2 -m pip install pywinusb
py -3 -m pip install pywinusb
So far only Windows OS it's supported.
./examplesdirectory for some (ok, few right now) scripts. These show, for instance, how to use pywinusb.hid to handle events from HID class devices usages events.
Latest code and some Wiki information can be found on the
main project code page_.
.. _main project code page: https://github.com/rene-aguirre/pywinusb
More on this later...
Feel free to contact me! use the
main code project page_, just tell what do you think about the project or bring me anything you think might be cool to consider.
Any participation it's appreciated, feel free to contribute more examples or applications or just a reference to your open source project that uses the library.
.. _main code project page: https://github.com/rene-aguirre/pywinusb