A concise Flask extension to easily render QR codes on Jinja2 templates using python-qrcode.
See the codeA concise Flask extension to easily render QR codes on Jinja2 templates using python-qrcode
You can read the full documentation here.

pip install Flask-QRcode
from flask_qrcode import QRcode
# [...]
QRcode(app)
# [...]
<img src="{{ qrcode(STRING_TO_ENCODE) }}">
For more examples, just run the sample application in this repository.
Thank you for considering contributing to this package.
As this is a simple package, the process is pretty straightforward...
*It's highly recommended that your contribution either creates a new feature, fixes something OR refactors the code and does not mix these (e.g. one PR fixing some existent feature and refactoring non-related code).
uv sync --group dev
uv sync --group dev
uv run pytest
A concise Flask extension to easily render QR codes on Jinja2 templates using python-qrcode.
See the codeA concise Flask extension to easily render QR codes on Jinja2 templates using python-qrcode
You can read the full documentation here.

pip install Flask-QRcode
from flask_qrcode import QRcode
# [...]
QRcode(app)
# [...]
<img src="{{ qrcode(STRING_TO_ENCODE) }}">
For more examples, just run the sample application in this repository.
Thank you for considering contributing to this package.
As this is a simple package, the process is pretty straightforward...
*It's highly recommended that your contribution either creates a new feature, fixes something OR refactors the code and does not mix these (e.g. one PR fixing some existent feature and refactoring non-related code).
uv sync --group dev
uv sync --group dev
uv run pytest
68 followers · starred May 2018