signal11/hidapi — pull request #87 by claws (2012-11-26 09:48:05+00:00)
Title: Python bindings for hidapi

This pull request would deliver a Python extension capability to the hidapi package. The Python bindings are based on the cython-hidapi package which in turn was based on some older versions of the hidapi C source. These versions had gotten out of date and were causing issues (segfault) on my setup. By updating the cython-hidapi C source files with the latest in the hidapi package the segfaulting issue I had on OSX was resolved.

The hidapi project is maintained and updated much more frequently than the cython-hidapi project.

This pull request would ensure that the Python hidapi extension stays in sync with the hidapi C source.

I merged the cython-hidapi change into hidapi and tested on OSX (10.8.2) and Linux (Ubuntu 12.04). The cython-hidapi package had previously worked on Windows and though I can not test explicitly on Windows there seems no reason that it should not work.

The original cython-hidapi author (gbishop) has given me the OK to submit this pull request (even though the cython-hidapi license explicitly allows this). I can provide a copy if necessary.

Regards,
Chris