Skip to main content

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
    • SignerInfo(s) for Hardware Signer Exports (Wallet Export)
    • Animated QR Codes (BBQR), used by Coldcard
    • Animated QR Codes (UR), used by Foundation Passport, Keystone
    • Animated QR Codes used by Specter DIY
  • Recognizes (and classifies) blazingly fast
  • Animated QR Code generation via UnifiedEncoder.generate_fragments_for_qr()
    • For BBQR, UR, and Specter DIY
  • 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

screenshot

Automatic image enhancement for bright hardware signer screens

screenshot

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.

Metadata

Release files for bitcoin-qr-tools 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bitcoin-qr-tools 1.2.0
File Size Uploaded Provenance Actions
bitcoin_qr_tools-1.2.0.tar.gz 95.8 kB Without provenance Details for bitcoin_qr_tools-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bitcoin-qr-tools 1.2.0
File Interpreter ABI Platform Actions
bitcoin_qr_tools-1.2.0-py3-none-any.whl Python 3 none any Details for bitcoin_qr_tools-1.2.0-py3-none-any.whl

Total release size: 220.9 kB

Release files / bitcoin_qr_tools-1.2.0.tar.gz

Download URL bitcoin_qr_tools-1.2.0.tar.gz
Size 95.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3a36d8b3a63825458dccf9835b9c0e82078c32931c114c85f1c16f87506d73cd
BLAKE2b-256 checksum
How to use checksums
bf796051d9ba7d85e37b2a50086b35c5a458790824d8bae3fe7800794fd0db8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.10.9 Linux/6.8.0-55-generic

Release files / bitcoin_qr_tools-1.2.0-py3-none-any.whl

Download URL bitcoin_qr_tools-1.2.0-py3-none-any.whl
Size 125.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be7f237474c21358c4b6212c5405dbbf610e062b21f5856ae071eb430947521d
BLAKE2b-256 checksum
How to use checksums
b8dbda7a87b3d9e4f75079804ad8404b8f68e5b7ced46ab8aa011b8443b22fec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.5 CPython/3.10.9 Linux/6.8.0-55-generic

Security for bitcoin-qr-tools 1.2.0

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

1.2.0 This release

2 release files No provenance

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