Skip to main content

cython-hidapi

https://travis-ci.org/trezor/cython-hidapi.svg?branch=master

Description

A Cython interface to HIDAPI library.

This has been tested with:

  • TREZOR Hardware Wallet

  • the PIC18F4550 on the development board from CCS with their example program

  • the Fine Offset WH3081 Weather Station

It works on Linux, Windows and macOS.

Software Dependencies

License

cython-hidapi may be used by one of three licenses as outlined in LICENSE.txt

Install

$ sudo apt-get install python-dev libusb-1.0-0-dev libudev-dev
$ sudo pip install --upgrade setuptools
$ sudo pip install hidapi

For other download options visit the PyPi page.

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 update --init
  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.post20

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

Built distributions (wheels)

Table of built distributions (wheels) for hidapi 0.7.99.post20
File
hidapi-0.7.99.post20-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details
hidapi-0.7.99.post20-cp35-cp35m-win32.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-32 Details
hidapi-0.7.99.post20-cp34-cp34m-win_amd64.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-64 Details
hidapi-0.7.99.post20-cp34-cp34m-win32.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-32 Details
hidapi-0.7.99.post20-cp27-cp27m-win_amd64.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-64 Details
hidapi-0.7.99.post20-cp27-cp27m-win32.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-32 Details

Total release size: 185.4 kB

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

Download URL hidapi-0.7.99.post20.tar.gz
Size 51.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5f88fd3e79deeeaacd2f266e641434a342d25b779778393191c863dd4f2dffcc
BLAKE2b-256 checksum
How to use checksums
5bda3389aa1a510ca7e347b1d24cd7b742365efb8e2b251deeb6ab7ba18a56ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / hidapi-0.7.99.post20-cp35-cp35m-win_amd64.whl

Download URL hidapi-0.7.99.post20-cp35-cp35m-win_amd64.whl
Size 25.4 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
b00fa9217d167b4e68348d4262ad6404a37772a92b1a4cf71138a8c6375bbbde
BLAKE2b-256 checksum
How to use checksums
b2a2574954dfdc36d26e51ce830dc7ec0b5deb93061f3c6c606abbb79c228580
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / hidapi-0.7.99.post20-cp35-cp35m-win32.whl

Download URL hidapi-0.7.99.post20-cp35-cp35m-win32.whl
Size 21.8 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
7d5c5d932a6dd8ed8e98c3c7ea21e6e2f337fefeb1be5bb978abbf8db4a68fa0
BLAKE2b-256 checksum
How to use checksums
bb37c19424410a9e06227bd496304d0e4163e4249a3b31e4576828fad347f74e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / hidapi-0.7.99.post20-cp34-cp34m-win_amd64.whl

Download URL hidapi-0.7.99.post20-cp34-cp34m-win_amd64.whl
Size 22.6 kB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
d8867d13939a585298c291ef9f914f12eeb6a4664fea1a3f7c6c6d3c71cd5255
BLAKE2b-256 checksum
How to use checksums
01eb0f9f08dd08416c37b8761fabe182af265111bd7675d4fa38f5cf17e7c314
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / hidapi-0.7.99.post20-cp34-cp34m-win32.whl

Download URL hidapi-0.7.99.post20-cp34-cp34m-win32.whl
Size 21.0 kB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
643d8c85d20e6515ea7bbbcd4ce1430a392298382882bdf1839fa6d9ecb272e1
BLAKE2b-256 checksum
How to use checksums
02f90950b71ae6b8e3c5989ff5622a1be976ccfd4a3c1a2047139f5e177a0264
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / hidapi-0.7.99.post20-cp27-cp27m-win_amd64.whl

Download URL hidapi-0.7.99.post20-cp27-cp27m-win_amd64.whl
Size 23.1 kB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
6e851c5dcf3be25368f46f06b39156e0adecc6a4be85328aad9a0a7576e0e781
BLAKE2b-256 checksum
How to use checksums
e9c0af84c74ee86e280e353aca3625fb9a17fffe01de97aa66d90dfb4d349aff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / hidapi-0.7.99.post20-cp27-cp27m-win32.whl

Download URL hidapi-0.7.99.post20-cp27-cp27m-win32.whl
Size 20.2 kB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
52b49859df8389b67de090566ca9b4d19d9997fbd6069619c8583a0181a6b3d0
BLAKE2b-256 checksum
How to use checksums
7280af70c922a1c76af17add720d5f01333d8574e9e56186aee4fd89664a587e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for hidapi 0.7.99.post20

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