A Cython interface to the hidapi from https://github.com/signal11/hidapi
Project description
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
Python (http://python.org/download/)
Cython (http://cython.org/#download)
hidraw or libusb and libudev on Linux
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
Download cython-hidapi archive:
$ git clone https://github.com/trezor/cython-hidapi.git $ cd cython-hidapi
Initialize hidapi submodule:
$ git submodule init $ git submodule update
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
Install cython-hidapi module into your Python distribution:
$ [sudo] python setup.py install
Test install:
$ python >>> import hid >>>
Try example script:
$ python try.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file hidapi-0.7.99.post12.tar.gz
.
File metadata
- Download URL: hidapi-0.7.99.post12.tar.gz
- Upload date:
- Size: 36.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a95c06552ed9312f0ef8cf3463bc1eaea633be668a0780c700d317bb8b0752c9 |
|
MD5 | e1b54ec7c09733929b831bd358ca5a4b |
|
BLAKE2b-256 | 8841152f23d94031945d345d5a1291efb532d2ace8c0df56bb01dd702d65324d |