A Flask extension for compressing/minifying assets.
A Flask-Script submanager is also provided.
Documentation is at http://flask-funnel.readthedocs.org/en/latest/.
To install:
$ pip install Flask-Funnel
You can also install the development version https://github.com/rehandalal/flask-funnel/tarball/master#egg=Flask-Funnel-dev:
$ pip install Flask-Funnel==dev
or:
$ git clone git://github.com/rehandalal/flask-funnel.git $ mkvirtualenv flaskfunnel $ python setup.py develop $ pip install -r requirements.txt
To get started using Flask-Funnel simply add the following to your Flask app:
from flask import Flask from flask.ext.import Funnel app = Flask(__name__) Funnel(app)
To run tests from a tarball or git clone:
$ python setup.py test