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!

Generic interface to multiple Python template engines - Tilt for Python

Project Description

Lean is intended to provide a consistent interface to various python templating languages. Code wise it is a port of Tilt for Ruby.

At the moment it just has support for CoffeeScript and Scss as those are what I need but I will be adding support for as many other python templating languages as I can. I will also be trying to add support for the compiled template functionality that Tilt has, just as soon as I can understand how it works and how to do it in Python.

If you want to get involved and help add support for other templating languages then please, get stuck in!


$ pip install lean

Basic Usage

from lean import Lean

tmpl = Lean.load('')


Copyright 2012 Will McKenzie

Lean is licensed under the MIT License, please see the LICENSE file for more details.

Release History

Release History

This version
History Node


History Node


History Node


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
Lean-0.2.4.tar.gz (6.3 kB) Copy SHA256 Checksum SHA256 Source Feb 8, 2013

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