diff options
author | Chris Wanstrath <chris@ozmm.org> | 2009-10-28 23:58:40 -0700 |
---|---|---|
committer | Chris Wanstrath <chris@ozmm.org> | 2009-10-28 23:58:40 -0700 |
commit | 0ed75fa0faf449086bd28a2ca2a5d9ebbfb6f44d (patch) | |
tree | 62d32cccadf767368dc6c76633f30523afc6a811 /README.md | |
download | pystache-0ed75fa0faf449086bd28a2ca2a5d9ebbfb6f44d.tar.gz |
simple readme
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..e61044e --- /dev/null +++ b/README.md @@ -0,0 +1,41 @@ +Pystache +======== + +Inspired by [ctemplate][1] and [et][2], 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][3] or [Mustache][4] docs. + + +Tests +----- + +Want to run the tests? [nose][n] works great! + + easy_install nose + cd pystache + nosetests + + +Author +------ + + context = { 'author': 'Chris Wanstrath', 'email': 'chris@ozmm.org' } + Pystache.render("{{author}} :: {{email}}", context) + + +[1]: http://code.google.com/p/google-ctemplate/ +[2]: http://www.ivan.fomichev.name/2008/05/erlang-template-engine-prototype.html +[3]: http://google-ctemplate.googlecode.com/svn/trunk/doc/howto.html +[4]: http://github.com/defunkt/mustache#readme +[n]: http://somethingaboutorange.com/mrl/projects/nose/0.11.1/testing.html |