Skip to main content

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.

Source Distribution

flask-utils-0.1.1.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file flask-utils-0.1.1.tar.gz.

File metadata

File hashes

Hashes for flask-utils-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fb7b9c94b974964acbed8ce76f9949a72571794c7bda861af7d4323c0fa01dfe
MD5 f410a1954befac9a2d4682a6e0729159
BLAKE2b-256 364ef4986b56ff99ec09568a074ef577e17aa4e2b33f32d4bcba85121646e377

See more details on using hashes here.

Supported by

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