A simple flask extension to render QR codes on template
Project description
Flask-QRcode
============
A simple Flask extension to render QR codes on the template using [python-qrcode](https://github.com/lincolnloop/python-qrcode)

##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:
<img src="{{ qrcode(STRING_TO_ENCODE) }}">
###More examples:
[Sample Application](https://github.com/marcoagner/Flask-QRcode/tree/master/sample_application)
##Contributing:
It's awesome that you want to contribute to this package. Thanks in advance!
The process is pretty stratighforward...
1. Fork this repository
2. Checkout from Master with a feature branch (prefer naming it related to what is being contributed)
3. Do your magic
* Install the dependencies:
```
pip install -r requirements.txt
pip install -e . # for installing flask_qrcode on editable mode
```
4. Don't be shy and... Pull Request!
============
A simple Flask extension to render QR codes on the template using [python-qrcode](https://github.com/lincolnloop/python-qrcode)

##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:
<img src="{{ qrcode(STRING_TO_ENCODE) }}">
###More examples:
[Sample Application](https://github.com/marcoagner/Flask-QRcode/tree/master/sample_application)
##Contributing:
It's awesome that you want to contribute to this package. Thanks in advance!
The process is pretty stratighforward...
1. Fork this repository
2. Checkout from Master with a feature branch (prefer naming it related to what is being contributed)
3. Do your magic
* Install the dependencies:
```
pip install -r requirements.txt
pip install -e . # for installing flask_qrcode on editable mode
```
4. Don't be shy and... Pull Request!
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.6.0.tar.gz
(2.4 kB
view details)
File details
Details for the file Flask-QRcode-0.6.0.tar.gz
.
File metadata
- Download URL: Flask-QRcode-0.6.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1209066f39dbe199f96a10658fd3eaa68d83f419a83bbb80f4e55803cfbfe224
|
|
MD5 |
7ef95fd6d82ed6911e573a08aa2ba8ef
|
|
BLAKE2b-256 |
d01b15e8b1065d3dd21e84bbde5d6325e82b26cde155b20abe3df0a5a4ad0bd5
|