Python wrapper for the hidapi (not active, use one of the forks)
C Python
Latest commit 3530c94 Jun 19, 2015 @gbishop Merge pull request #20 from ulrichard/license
changing the license




A cython interface to the hidapi from with the C modification for windows from so I could build it with mingw on windows.

This has been tested with:

  • the PIC18F4550 on the development board from CCS with their example program.
  • the Fine Offset WH3081 Weather Station.

It works on Linux, Windows XP and OS X.

Software Dependencies


cython-hidapi may be used by one of three licenses as outlined in LICENSE.txt.


  1. Download cython-hidapi archive:

    $ git clone
    $ cd cython-hidapi

For other download options (zip, tarball) visit the github web page of cython-hidapi

  1. Build cython-hidapi extension module for your platform:

    $ python setup[-mac|-windows].py build
  2. Install cython-hidapi module into your Python distribution:

    $ [sudo] python setup[-mac|-windows].py install
  1. Test install:

    $ python
    >>> import hid
  1. Try example script:

    $ python