Various Flask utilities.
Project description
flask-utils
===========
[![](https://pypip.in/v/flask-utils/badge.png)](https://crate.io/package/flask-utils)
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.
## 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/
===========
[![](https://pypip.in/v/flask-utils/badge.png)](https://crate.io/package/flask-utils)
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.
## 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
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.0.tar.gz
(4.6 kB
view details)
File details
Details for the file flask-utils-0.1.0.tar.gz
.
File metadata
- Download URL: flask-utils-0.1.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89d525e331c648a19fe83ccb7c7a455f23a81019c3867cfd012f15ad65ebacb2 |
|
MD5 | b3279164be0067940f91815d65019a27 |
|
BLAKE2b-256 | 08a304fe10a1d1276d25a477470194fa42196302fe4ce3f9d5fcb64805a98b94 |