Better asset management for Flask
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
flask_funnel
.gitignore
.travis.yml
CHANGELOG
CONTRIBUTORS
LICENSE
MANIFEST.in
README.rst
requirements.txt
setup.py
tox.ini

README.rst

Summary

A Flask extension for compressing/minifying assets.

A Flask-Script submanager is also provided.

https://api.travis-ci.org/rehandalal/flask-funnel.png

Documentation

Documentation is at http://flask-funnel.readthedocs.org/en/latest/.

Install

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

Quickstart

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)

Test

To run tests from a tarball or git clone:

$ python setup.py test