All Projects → marcoagner → Flask-QRcode

marcoagner / Flask-QRcode

Licence: GPL-3.0 license
A concise Flask extension to easily render QR codes on Jinja2 templates using python-qrcode.

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to Flask-QRcode

smacha
SMACHA is a meta-scripting, templating, and code generation engine for rapid prototyping of ROS SMACH state machines.
Stars: ✭ 15 (-83.15%)
Mutual labels:  jinja2
Codeigniter3-absen-digital
Sistem Absensi Online dengan framework codeigniter 3
Stars: ✭ 33 (-62.92%)
Mutual labels:  qrcode
SkiaSharp.QrCode
Qr Code Generator with Skia. (no System.Drawing)
Stars: ✭ 72 (-19.1%)
Mutual labels:  qrcode
freesasa-python
FreeSASA Python Module
Stars: ✭ 26 (-70.79%)
Mutual labels:  pypi-packages
ZxingSupport
A Library based on Zxing, make you easy to develop 1D/2D barcode-scan App.
Stars: ✭ 15 (-83.15%)
Mutual labels:  qrcode
roundup
un-official mirror of http://hg.code.sf.net/p/roundup/code -- used for CI. Please visit https://issues.roundup-tracker.org for finding starter issues or log new issues.
Stars: ✭ 20 (-77.53%)
Mutual labels:  jinja2
ESCPOS
A ESC/POS Printer Commands Helper
Stars: ✭ 26 (-70.79%)
Mutual labels:  qrcode
pyqrshare
Lets you transfer files and directories from your computer to your mobile device by scanning a QR code right from the terminal.
Stars: ✭ 12 (-86.52%)
Mutual labels:  qrcode
qikQR
minimal desktop app to create QR codes.
Stars: ✭ 20 (-77.53%)
Mutual labels:  qrcode
barcode
No description or website provided.
Stars: ✭ 27 (-69.66%)
Mutual labels:  qrcode
promptpay
Thai QR PromptPay Generator
Stars: ✭ 24 (-73.03%)
Mutual labels:  qrcode
nova-qrcode-field
A Laravel Nova field to generate QR Code
Stars: ✭ 28 (-68.54%)
Mutual labels:  qrcode
copulae
Multivariate data modelling with Copulas in Python
Stars: ✭ 96 (+7.87%)
Mutual labels:  pypi-packages
go-emv-code
EMV® QR Code Encoder/Decoder for Go.
Stars: ✭ 60 (-32.58%)
Mutual labels:  qrcode
qrencode-el
QRCode encoder for Emacs in pure elisp
Stars: ✭ 18 (-79.78%)
Mutual labels:  qrcode
flask-jwt-login
Flask extension that helps authentication using JWT (for a personal purpose, not maintained now)
Stars: ✭ 12 (-86.52%)
Mutual labels:  flask-extensions
qrcode-utils
二维码生成工具
Stars: ✭ 82 (-7.87%)
Mutual labels:  qrcode
qrcode-generator
Generate QR Code matrices and images in RAW, PNG and SVG formats.
Stars: ✭ 30 (-66.29%)
Mutual labels:  qrcode
pipen
pipen - A pipeline framework for python
Stars: ✭ 82 (-7.87%)
Mutual labels:  jinja2
datasets
The primary repository for all of the CORGIS Datasets
Stars: ✭ 19 (-78.65%)
Mutual labels:  jinja2

Flask-QRcode

PyPI version

A concise Flask extension to easily render QR codes on Jinja2 templates using python-qrcode

You can read the full documentation here.

Installation

pip install Flask-QRcode

Usage:

Extend the app:

from flask_qrcode import QRcode
# [...]
QRcode(app)
# [...]

Then use it within your templates:

Basic usage:

<img src="{{ qrcode(STRING_TO_ENCODE) }}">

More examples:

For more examples, just run the sample application in this repository.

Sample Application

Contributing:

Thank you for considering contributing to this package.

As this is a simple package, the process is pretty straightforward...

  1. Fork this repository
  2. Checkout from master with to a feature branch with a name related to what is being contributed (e.g. "colored-qrcodes")

*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).

  1. Install dependencies and flask_qrcode on editable mode
    pip install -e .  # for installing flask_qrcode on editable mode
    
  2. Do your magic
  3. Provide new tests for your work and check that both this and the old ones are passing
  4. Pull Request!

Testing:

  1. Install dependencies and flask_qrcode on editable mode
pip install -e .  # for installing flask_qrcode on editable mode
  1. Run pytest
python setup.py test  # on package's root dir
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].