Skip to main content
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

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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for hidapi-0.7.99.post10.tar.gz
Algorithm Hash digest
SHA256 3b180c3b2765ba98cd37010b995907a1e5f647d6be0f51d24917fe8cccc43436
MD5 5994cf542ef86a1a0df6829cdc0a08be
BLAKE2b-256 2819924ad7cd4f73aac2edc7fa345bdff537b0504c0fe8825a6482df3f2facec

See more details on using hashes here.

Release history Release notifications | RSS feed

0.15.0

81 files

0.14.0.post4

79 files

0.14.0.post3

79 files

0.14.0.post2

69 files

0.14.0.post1

69 files

0.14.0

69 files

0.13.1

41 files

0.12.0.post2

41 files

0.12.0.post1

34 files

0.12.0

34 files

0.11.2

34 files

0.11.0.post2

31 files

0.11.0.post1

31 files

0.11.0

25 files

0.10.1

21 files

0.10.0.post1

9 files

0.10.0

9 files

0.9.0.post3

9 files

0.9.0.post2

9 files

0.9.0.post1

1 file

0.9.0

11 files

0.7.99.post21

13 files

0.7.99.post20

7 files

0.7.99.post19

7 files

0.7.99.post18

7 files

0.7.99.post17

1 file

0.7.99.post16

1 file

0.7.99.post15

1 file

0.7.99.post14

1 file

0.7.99.post13

1 file

0.7.99.post12

1 file

0.7.99.post11

1 file

This release

0.7.99.post10 This release

1 file

0.7.99.post9

1 file

0.7.99.post8

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page