Python bitcoin qr reader and generator
Project description
Bitcoin qr tools
BitcoinVideoWidget
recognizes (and classifies) blazingly fast- Addresses (also BIP21 with amount)
- Transactions (also base43 electrum encoding)
- PSBT
- Xpub
- Descriptor
- Multipath Descriptor (like Sparrow)
- Partial descriptors (Specter DIY) (finger print , derivation, xpub)
- TxId
- Wallet Export Infos (Sparrow Format, Coldcard Sparrow QR format, Specter DIY, ...)
- Animated QR Codes (BBQR)
- Animated QR Codes (UR) (Transactions, Descriptors, Jade Wallet Export)
- Animated QR Codes (Specter)
- Recognizes (and classifies) blazingly fast
- QR Code generation via
Data.generate_fragments_for_qr()
- QR Code Widgets, via the widgets
QRCodeWidget
,QRCodeWidgetSVG
Demo
Run the demo with
python demo_reader.py
Detection even in bad light contitions and bad camera
Automatic image enhancement for bright hardware signer screens
Install package
From pypi
pip install bitcoin_qr_tools
From git
-
Setup poetry and install dependencies
curl -sSL https://install.python-poetry.org | python3 - # see https://python-poetry.org/docs/master/#installing-with-the-official-installer poetry config virtualenvs.in-project true poetry install
-
Run
poetry shell python -m bitcoin_qr_tools
Licences
The python files in bitcoin_qr_tools are under the GPL3.
The folder bitcoin_qr_tools/ur is from https://github.com/Foundation-Devices/foundation-ur-py and under BSD-2-Clause Plus Patent License.
The folder bitcoin_qr_tools/urtypes from https://github.com/selfcustody/urtypes is under MIT.
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
bitcoin_qr_tools-0.14.10.tar.gz
(71.0 kB
view details)
Built Distribution
File details
Details for the file bitcoin_qr_tools-0.14.10.tar.gz
.
File metadata
- Download URL: bitcoin_qr_tools-0.14.10.tar.gz
- Upload date:
- Size: 71.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.9 Linux/6.8.0-48-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 562d3bf2a6d2c2051e742fc8b16a5c84d151081e05dd9ecbaeef8b3dcd873573 |
|
MD5 | 3c6cd8943bf3605a6fe847def023ba0a |
|
BLAKE2b-256 | e1476a206df484d48583e6e38adad7751b56e9695ce51aca7a69da3066683534 |
File details
Details for the file bitcoin_qr_tools-0.14.10-py3-none-any.whl
.
File metadata
- Download URL: bitcoin_qr_tools-0.14.10-py3-none-any.whl
- Upload date:
- Size: 99.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.9 Linux/6.8.0-48-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4de08732af4859acb26105bfb9f883cc25a294f83a80807eb1c9ea1334c15fec |
|
MD5 | c9b4fe16e71f0b5184319110db50dbee |
|
BLAKE2b-256 | 31e2980a2f40a157dceb702fc386263db591c935aca1900817dc74a1d1ba5b10 |