Python library to communicate with Ledger Nano dongle
Project description
Python samples for BTChip - work in progress
Requirements
This API requires cython-hidapi version 0.7.99 (at least).
To install cython-hidapi, refer to the instructions on https://github.com/trezor/cython-hidapi until a packaged version is available. Interim Debian packages have been built by Richard Ulrich at https://launchpad.net/~richi-paraeasy/+archive/ubuntu/bitcoin/ (btchip-python, hidapi and python-hidapi)
For optional BIP 39 support during dongle setup, also install https://github.com/trezor/python-mnemonic - also available as a Debian package at the previous link (python-mnemonic)
Building on Windows
Download and install Python from https://www.python.org/ftp/python/2.7.8/python-2.7.8.msi
Download and install Python QT from http://downloads.sourceforge.net/project/pyqt/PyQt4/PyQt-4.11.1/PyQt4-4.11.1-gpl-Py2.7-Qt4.8.6-x32.exe
Download and install PyWin32 from http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/pywin32-218.win32-py2.7.exe/download
Download MinGW setup from http://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download
Install mingw32-gcc-g++ and mingw32-libz (dev and dll)
Create a /Lib/disutils/distutils.cfg file in your Python installation directory (typically /Python27) containing the following content
` [build] compliler=mingw32 `
Install distribute from https://gist.githubusercontent.com/anonymous/947191a4635cd7b7f79a/raw/36054b7f8d7b0c4c172628fd9bd16f46e53bb34b/distribute_setup.py
Install the dependencies by running /Python27/Scripts/easy_install.exe cython hidapi
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 btchip-python-0.1.18.tar.gz.
File metadata
- Download URL: btchip-python-0.1.18.tar.gz
- Upload date:
- Size: 20.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de14d7826d6b354923bf7d8ebfa28132728f752f1f5c23c847ff2d066c0198ce
|
|
| MD5 |
ca1b71114838566da9b29d042b61c0ad
|
|
| BLAKE2b-256 |
9e76235c1d0a34ffe72801e5e9d93d623e70662d550510ed8da7861ef427362b
|