Skip to main content

A QR code generator with detailed visualization

Project description

PyPI

QR Verbose

qr-verbose is a Python package for generating QR codes with detailed visualization desined mainly for educational purposes. You can generate a scannable QR code with qr-verbose, more importantly you can also generate the same QR with intermediate level information rarely available in QR code generators/encoders.

Installation

Install the required dependencies:

pip install qr-verbose

or from sources

git clone https://git@git.sourcecraft.dev/malkovskynv/qr-verbose.git
cd qr-verbose
pip install .

qr-verbose is provided as CLI entry point, check

qr-verbose --help

If qr-verbose is not available check the PATH variable, when the package is installed pip will show a warning about CLI script not being part of the PATH. You can either add the Python bin path to the PATH variable or specify the full path to the installed location of the script.

Usage

You can generate a regular scannable QR code like this

qr-verbose -m 2 -v 3 \
    --logo-path docs/images/logo_example.png \
    --logo-radius=3.5 \
    -e M \
    -o regular.png \
    t.me/a_zachem_eto_nuzhno  

{align=center width=400px}

The same but unmasked and with visual data layout

qr-verbose -m -1 -v 3 \
    --logo-path docs/images/logo_example.png \
    --logo-radius=3.5 \
    -e M \
    -t ascii \
    -o ascii.png \
    t.me/a_zachem_eto_nuzhno  

ascii{align=center width=400px}

The QR at the top of the README is generated via the following command (annotations are manual)

qr-verbose -m 0 -v 3 \
    --logo-path docs/images/logo_example.png \
    --logo-radius=3.5 \
    --logo-transparency=255 \
    -t color \
    -e M \
    -o repo_url.png \
    --white-data-background \
    sourcecraft.dev/malkovskynv/qr-verbose

More examples can be found in the docs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qr_verbose-1.1.0.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qr_verbose-1.1.0-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file qr_verbose-1.1.0.tar.gz.

File metadata

  • Download URL: qr_verbose-1.1.0.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for qr_verbose-1.1.0.tar.gz
Algorithm Hash digest
SHA256 f471aecc9ef3ccc93767325e64920d01e26c870d0e87af4e35f8bb4eca4234a4
MD5 2d300b94a8b961cbe7ce72375b5f2d2c
BLAKE2b-256 c39f419b62830d83d8cce683f4accf24f9134a28ab2ec78b7b19a29ddee13dcc

See more details on using hashes here.

File details

Details for the file qr_verbose-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: qr_verbose-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for qr_verbose-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75eb7499c0eaae7a3dc90fdac1e3c271fd62c0b1126d68a73a2b743cb917d9c3
MD5 bc95190e5c3fb444e384029eca11ea6c
BLAKE2b-256 070430a90beddde37a5b61148e28a417dad1563a3d5085649cea8108c265fe08

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page