Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Adds Coffescript support to Flask applications

Project Description

Adds Coffeescript [0] support to Flask [1] applications.

Flask-Espresso will compile on the fly your coffee-scripts in the template
directory of your application. To avoid performance issues, a cache mechanism
retrieves the scripts already compiled.

Install it

$ pip install Flask-Espresso

Note : Flask-Espresso requires you to have a javascript runtime installed on
your system.

How-to use it

A simple example to show you how to use it. Create a new Flask application and
put a coffeescript file ```` in its template directory.

from flask import Flask
from flask.ext.espresso import Espresso, espresso

app = Flask(__name__)
esp = Espresso(app)

def hello():
return espresso('')

if __name__ == "__main__":


Release History

Release History

This version
History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Flask-Espresso-0.2.0.tar.gz (54.8 kB) Copy SHA256 Checksum SHA256 Source Mar 14, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting