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.1.tar.gz (13.7 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.1-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qr_verbose-1.1.1.tar.gz
  • Upload date:
  • Size: 13.7 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.1.tar.gz
Algorithm Hash digest
SHA256 ab59588c3922d96614f378e64a07ea98dc090fca0632984b135e86252272ade2
MD5 0a9831488c50aaf652689120d872b0f8
BLAKE2b-256 27689f2b1409bcde43756c80fe4157280ae2c9544b799a4a0557b5fb916ac3de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qr_verbose-1.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3e3a923f9f897c3d472b08b8fca3ae710b4ee0ab9c84d09d2eb3c1d355feed28
MD5 83c185b2b6da5afe4dd568c16d65c7a7
BLAKE2b-256 28c4ae3d09cecd1ab441f4fe6c03517ed3333607a88ee029fefa7a0bebd10a7d

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