Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A Cython interface to the hidapi from https://github.com/signal11/hidapi

Project Description

Description

A Cython interface to HIDAPI library.

This has been tested with:

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

It works on Linux, Windows and macOS.

Software Dependencies

License

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

Install

$ sudo apt-get install python-dev libusb-1.0-0-dev libudev-dev
$ sudo pip install --upgrade setuptools
$ sudo pip install hidapi

For other download options visit the PyPi page.

Build from source

  1. Download cython-hidapi archive:

    $ git clone https://github.com/trezor/cython-hidapi.git
    $ cd cython-hidapi
    
  2. Initialize hidapi submodule:

    $ git submodule update --init
    
  3. Build cython-hidapi extension module:

    $ python setup.py build
    

    To use hidraw API instead of libusb add –without-libusb option:

    $ python setup.py build --without-libusb
    
  4. Install cython-hidapi module into your Python distribution:

    $ sudo python setup.py install
    
  5. Test install:

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

    $ python try.py
    
Release History

Release History

This version
History Node

0.7.99.post20

History Node

0.7.99.post19

History Node

0.7.99.post18

History Node

0.7.99.post17

History Node

0.7.99.post16

History Node

0.7.99.post15

History Node

0.7.99.post14

History Node

0.7.99.post13

History Node

0.7.99.post12

History Node

0.7.99.post11

History Node

0.7.99.post10

History Node

0.7.99.post9

History Node

0.7.99.post8

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
hidapi-0.7.99.post20-cp27-cp27m-win32.whl (20.2 kB) Copy SHA256 Checksum SHA256 cp27 Wheel Oct 31, 2016
hidapi-0.7.99.post20-cp27-cp27m-win_amd64.whl (23.1 kB) Copy SHA256 Checksum SHA256 cp27 Wheel Oct 31, 2016
hidapi-0.7.99.post20-cp34-cp34m-win32.whl (21.0 kB) Copy SHA256 Checksum SHA256 cp34 Wheel Oct 31, 2016
hidapi-0.7.99.post20-cp34-cp34m-win_amd64.whl (22.6 kB) Copy SHA256 Checksum SHA256 cp34 Wheel Oct 31, 2016
hidapi-0.7.99.post20-cp35-cp35m-win32.whl (21.8 kB) Copy SHA256 Checksum SHA256 cp35 Wheel Oct 31, 2016
hidapi-0.7.99.post20-cp35-cp35m-win_amd64.whl (25.4 kB) Copy SHA256 Checksum SHA256 cp35 Wheel Oct 31, 2016
hidapi-0.7.99.post20.tar.gz (51.3 kB) Copy SHA256 Checksum SHA256 Source Oct 29, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting