Skip to content
This repository

Python wrapper for the hidapi (not active, use one of the forks)

branch: master

Merge pull request #8 from kelle62819/master

ARM distrib support and support for multiple identical devices through use of hid_open_path
latest commit cc52380f67
Gary Bishop authored
Octocat-spinner-32 .gitignore gitignore added, exclude build directory
Octocat-spinner-32 Readme.rst readme updated
Octocat-spinner-32 chid.pxd Added hid_open_path to chid.pxd
Octocat-spinner-32 hid-libusb.c Initial commit.
Octocat-spinner-32 hid-mac.c Added support for mac OS X
Octocat-spinner-32 hid-windows.c Initial commit.
Octocat-spinner-32 hid.pyx bug fix
Octocat-spinner-32 hidapi.h Initial commit.
Octocat-spinner-32 Added to support ARM distributions for machines like Ras…
Octocat-spinner-32 Added support for mac OS X
Octocat-spinner-32 Initial commit.
Octocat-spinner-32 Initial commit.
Octocat-spinner-32 nice try output



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


You are free to use cython-hidapi code for any purpose.


  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
Something went wrong with that request. Please try again.