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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.5m Windows x86-64

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

Uploaded CPython 3.5m Windows x86

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

Uploaded CPython 3.4m Windows x86-64

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

Uploaded CPython 3.4m Windows x86

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

Uploaded CPython 2.7m Windows x86-64

hidapi-0.7.99.post19-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.post19.tar.gz.

File metadata

File hashes

Hashes for hidapi-0.7.99.post19.tar.gz
Algorithm Hash digest
SHA256 890dea8bd8c4d35e1f1b29a9a3431aa1ee79ee1baf86cacb5913983a5bec5689
MD5 eed3f2a20c8a214377381639730bd55b
BLAKE2b-256 b221b9419ed5cc039090cf2b859940754dfd3282bdd9cef98fc4d3d777754deb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hidapi-0.7.99.post19-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 b81014d0f2fa163b75029bb5a74cc4e0b7478332e90c3245297785a2b19296f0
MD5 3f593f96a1e254283bd8a3c6ccc3d99e
BLAKE2b-256 2e37060f7c27032b05ce40a0e7d357cff437e7f1305e27c3a2ad9ced23413964

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hidapi-0.7.99.post19-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 66d448d9d81c789edc877b9dde8a5441858259ce59df1711e07d024d2c181342
MD5 fa251e944f8f98505ba7c1d650bf10ff
BLAKE2b-256 9d526dcf8c6cee20ebf93a9a71f0c2d73921dce1d2290c22515f8210c469026d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hidapi-0.7.99.post19-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 d409015c6774b465abe0b425bafeb472c6758395c7149d4ae3dd9e0f5cf9ac40
MD5 804487fe44e1336a2b7f45076351dc6a
BLAKE2b-256 d409c6afeb540c91c32d8f34d89ee00e5c8034c99f791918672b21ac8060a2df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hidapi-0.7.99.post19-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 3d6252bcd34d220e152cc17b27d5a3f01f162f7ba252fbf693254db37010957e
MD5 e2592e05a4bff4356fe4f4aec0d19437
BLAKE2b-256 436a809eef870e83c4128d1b8eaea9af9ee6d7a3b37798eda7587bfb323f6d58

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hidapi-0.7.99.post19-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 dad4863035eac3ee19afd645f0b2c7046a1f40202f96843db5b6c51815f52f7b
MD5 c99e2f1d2bdc75fdbf296f6dc26fa925
BLAKE2b-256 29e4b64a518534b421ac5792b6903165e2a2bd95667fd5255393655cebc38e42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hidapi-0.7.99.post19-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 686ba04b2fd3459afe0a9fddc268bef946df253a88fc6dc79391cce8de6ffe47
MD5 a16b77e4fa4eb061c8a2333ba88d7c41
BLAKE2b-256 743eec773e69dda3a34e487f71fa8120e2f004cadb679c78a6b869f37e1d8823

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