Various Flask utilities.
Project description
Various Flask utilities. It’s a work in progress lib where I dump stuff occasionally. Feel free to contribute yours and send me pull requests.
Project links
Source
repository: https://bitbucket.org/zalew/flask-utils/
Install
pip install flask-utils
Contents
decorators.py
from flask_utils.decorators import render
@render('index.html')
def homepage():
return {'var1': 1, 'var2': 2}
jinja2htmlcompress.py
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-utils-0.1.1.tar.gz
(4.8 kB
view hashes)