Skip to main content

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:

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

###More examples: [Examples folder](https://github.com/marcoagner/Flask-QRcode/tree/master/sample_application)

Project details


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.5.1.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file Flask-QRcode-0.5.1.tar.gz.

File metadata

  • Download URL: Flask-QRcode-0.5.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Flask-QRcode-0.5.1.tar.gz
Algorithm Hash digest
SHA256 5ac0eb45e6e6e7220206b01d1bbaed885afff1138178f1747c3eddc1322978fd
MD5 16d8d4fe54962dd7e725a2583a9935e1
BLAKE2b-256 373f9f9924bf59bf126b672c3a7254deaa87d0432e41d4e598280742520d07fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page