Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

An concise flask extension to render QR codes

Project Description

[![PyPI version](https://badge.fury.io/py/Flask-QRcode.svg)](https://badge.fury.io/py/Flask-QRcode)

> A concise Flask extension to render QR codes 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:

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

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

[Sample Application](https://github.com/marcoagner/Flask-QRcode/tree/master/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. Pull Request!

## Testing:

1. Install dependencies and flask_qrcode on editable mode ` pip install -e .  # for installing flask_qrcode on editable mode ` 2. Run pytest ` python setup.py test  # on package's root dir `

Release History

Release History

This version
History Node

1.0.1

History Node

0.10.0

History Node

0.9.0

History Node

0.8.0

History Node

0.7.0

History Node

0.6.0

History Node

0.5.1

History Node

0.5.0

History Node

0.4.0

History Node

0.3.1

History Node

0.3.0

History Node

0.2.0

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Flask-QRcode-1.0.1.tar.gz (4.5 kB) Copy SHA256 Checksum SHA256 Source Aug 13, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting