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.5.tar.gz
(70.3 kB
view hashes)
Built Distribution
Close
Hashes for bitcoin_qr_tools-0.14.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ec7aabec9b4c83904d9455a005e11a0397be35b49b8f16818dd32622669b342 |
|
MD5 | 0163f457241446e04bcd4d1197464bd1 |
|
BLAKE2b-256 | 9b59dcfa13312b44a74ecd517cb74e35f23dcd303adcf97e3dd8a5c5248c2769 |