A simple flask extension to render QR codes on template
Project description
A simple Flask extension to render QR codes on the template using [python-qrcode](https://github.com/lincolnloop/python-qrcode)
![](QRcode.png)
##Installation
` pip install Flask-QRcode `
##Usage:
###Extend the app:
` from flask.ext.qrcode import QRcode # [...] QRcode(app) # [...] `
###Then use it within your templates:
####Basic usage:
{{ qrcode(STRING_TO_ENCODE) }}
###More examples: [Examples folder](https://github.com/marcoagner/Flask-QRcode/tree/master/examples)
This will render the given string as a QR code image.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Flask-QRcode-0.3.1.tar.gz
(2.6 kB
view hashes)