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

    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

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.post18.tar.gz (36.5 kB view details)

Uploaded Source

Built Distributions

hidapi-0.7.99.post18-cp35-cp35m-win_amd64.whl (25.4 kB view details)

Uploaded CPython 3.5m Windows x86-64

hidapi-0.7.99.post18-cp35-cp35m-win32.whl (21.8 kB view details)

Uploaded CPython 3.5m Windows x86

hidapi-0.7.99.post18-cp34-cp34m-win_amd64.whl (22.6 kB view details)

Uploaded CPython 3.4m Windows x86-64

hidapi-0.7.99.post18-cp34-cp34m-win32.whl (21.0 kB view details)

Uploaded CPython 3.4m Windows x86

hidapi-0.7.99.post18-cp27-cp27m-win_amd64.whl (23.0 kB view details)

Uploaded CPython 2.7m Windows x86-64

hidapi-0.7.99.post18-cp27-cp27m-win32.whl (20.2 kB view details)

Uploaded CPython 2.7m Windows x86

File details

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

File metadata

File hashes

Hashes for hidapi-0.7.99.post18.tar.gz
Algorithm Hash digest
SHA256 52d9c789a177b56a32d676c1ecf7ea65d3fc9894d1692e4c5803b5590987bdc4
MD5 37ea6be34821b9c09e96916f5471da8f
BLAKE2b-256 86ce3498edb92b87841cc36d4d1da62a452fb3380becc82ae44e37c7ea4afad0

See more details on using hashes here.

File details

Details for the file hidapi-0.7.99.post18-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for hidapi-0.7.99.post18-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 da952a6a8cd0c8a8e2a13a3aa4af1ea90b1cee60cec28b1208d88d49744704ce
MD5 4613773c832da569775dd3ef71d57cff
BLAKE2b-256 fa848b5722750a6ff884ce10c816920d24b269b4b495124b65f9e9c3fa6d871b

See more details on using hashes here.

File details

Details for the file hidapi-0.7.99.post18-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for hidapi-0.7.99.post18-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 bdaf772285c6580df5b3abf877af8378cd2e0d8015eeac4289953a9d91938903
MD5 30dec57002cf4f3afa3257a98bca4f27
BLAKE2b-256 9d4bbf0637fde07baf2be0a212d3a578f38f2b22ea1d24d77f2bd2adf1a59420

See more details on using hashes here.

File details

Details for the file hidapi-0.7.99.post18-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for hidapi-0.7.99.post18-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 bd5e839fbd1cd5e1001976d8dbd7060d38d1e787d60c9198f6e26b901582c1eb
MD5 254a2f390541afaf62594f73364aab6f
BLAKE2b-256 574fbeaf15575ce2f483af562e6b318d81f1ac9ea9c0b1e42c0e55d35907ffde

See more details on using hashes here.

File details

Details for the file hidapi-0.7.99.post18-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for hidapi-0.7.99.post18-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 148836b57a70492d0cf12936bc75ed817c88e65de8547c9c90c4419f0be83f81
MD5 7527a10d0f0f675256f8875f23a187cc
BLAKE2b-256 ec1fa760da5a9066427ca2735cc0a24cbba353ee4b790f8eebc375ad2553bbe0

See more details on using hashes here.

File details

Details for the file hidapi-0.7.99.post18-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for hidapi-0.7.99.post18-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 778c1a6816221ca3dd1286d3bd6c8a8bb8ed9cf5071856caddf953e4d9ae52b8
MD5 391339461e147f12a7e240dece6633d6
BLAKE2b-256 0e4dbd2e2e7368a1fe67f93846edec3ca95ee18e489ba3d90e00f978b940ec03

See more details on using hashes here.

File details

Details for the file hidapi-0.7.99.post18-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for hidapi-0.7.99.post18-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 6b71a1866ce9a7c2a9207f53987167ff0ef87d52036c97e5a2eb483fd5df9f17
MD5 c122e53b87fcbeee7018d8b3041b8b9c
BLAKE2b-256 c07f50c2f55ca9da11426f5d77025f4944d0d06a87124ea177542ff5859acdd1

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