Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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.

Latest PyPI version Number of PyPI downloads

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

https://github.com/mitsuhiko/jinja2-htmlcompress/

Project details


Download files

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

Files for flask-utils, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size flask-utils-0.1.1.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page