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

Metadata

Release files for hidapi 0.7.99.post17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hidapi 0.7.99.post17
File Size Uploaded Provenance
hidapi-0.7.99.post17.tar.gz 36.5 kB Without provenance Details

Release files / hidapi-0.7.99.post17.tar.gz

Download URL hidapi-0.7.99.post17.tar.gz
Size 36.5 kB
Tags Source
SHA-256 checksum
How to use checksums
73051cbb6a7f56d3311de071aa1d68183cef4027ee5bfc2425a35efd31aa56f8
BLAKE2b-256 checksum
How to use checksums
75537c6789e1ff820ae9732f117de8658830b3d33420a8ef2de72faa9419d049
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for hidapi 0.7.99.post17

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.7.99.post17 This release

1 release file No provenance

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