dbr 40d09a12bf Pystash class with static method seems redundant,
change it to a single function. Also update the
tests
2009-10-31 01:20:56 +08:00
2009-10-28 23:59:09 -07:00
2009-10-28 23:58:40 -07:00

Pystache

Inspired by ctemplate and et, Mustache is a framework-agnostic way to render logic-free views.

As ctemplates says, "It emphasizes separating logic from presentation: it is impossible to embed application logic in this template language."

Pystache is a Python implementation of Mustache. It has been tested with Python 2.6.1.

Documentation

For now check out the ctemplate or Mustache docs.

Tests

Want to run the tests? nose works great!

easy_install nose
cd pystache
nosetests

Author

context = { 'author': 'Chris Wanstrath', 'email': 'chris@ozmm.org' }
Pystache.render("{{author}} :: {{email}}", context)
S
Description
No description provided
Readme MIT 212 KiB
Languages
Python 100%