Skip to main content

cython-hidapi

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.post14

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.post14
File Size Uploaded Provenance
hidapi-0.7.99.post14.tar.gz 36.6 kB Without provenance Details

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

Download URL hidapi-0.7.99.post14.tar.gz
Size 36.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fd42338a7e04235f6a6169e766036ea8538e683498fc8d4ad3683e2dfa1536b4
BLAKE2b-256 checksum
How to use checksums
93b908491f9522d0c5b6715087125b6b1880cf416052ed1075b152e34337f32f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for hidapi 0.7.99.post14

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
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