Skip to main content

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

Project description

https://travis-ci.org/trezor/cython-hidapi.svg?branch=master

Description

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

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

License

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

Install

$ pip install hidapi

For other download options visit the PyPi page of cython-hidapi (https://pypi.python.org/pypi/hidapi/)

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 init
    $ git submodule update
  3. Build cython-hidapi extension module:

    $ python setup.py build
  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

Project details


Download files

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

Source Distribution

hidapi-0.7.99.post8.tar.gz (36.4 kB view details)

Uploaded Source

File details

Details for the file hidapi-0.7.99.post8.tar.gz.

File metadata

File hashes

Hashes for hidapi-0.7.99.post8.tar.gz
Algorithm Hash digest
SHA256 ccc44e4ae060a640731f27a77aaf22775406b14a123a5f545e68481acf0a9443
MD5 1c0c82f63b6a54d92975d952beb8f627
BLAKE2b-256 5a8d43b90c85af32e8815697213053b389221a3615e2230f448dad9cac00dcbd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page