Generic interface to multiple Python template engines - Tilt for Python
Python CoffeeScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lean Remove unused threading import Feb 8, 2013
test
.DS_Store Renamed module to Lean Jan 8, 2013
.gitignore Added .DS_Store to gitignore Jan 19, 2013
LICENSE Initial Commit Apr 26, 2012
MANIFEST.in
README.md Documentation updates Jan 9, 2013
register.py
setup.py Bump version to 0.2.4 Feb 8, 2013

README.md

Lean

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!

Installation

$ pip install lean

Basic Usage

from lean import Lean

tmpl = Lean.load('blah.coffee')
tmpl.render()

License

Copyright 2012 Will McKenzie

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