python-ecoA bridge to the ECO (CoffeeScript Template) compiler | |
Download |
python-eco Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Price:
- FREE
- Publisher Name:
- Tatsuo Ikeda
- Publisher web site:
- https://bitbucket.org/ikeikeikeike/
python-eco Tags
python-eco Description
python-eco is a bridge to the Eco (CoffeeScript Template) Template compiler.Python Ecoimport ecoeco.compile(open("template.eco"))# Out: u"function(...) {...}"context = eco.context_for("Hello ")context.call("render", {"name": "Sam"})# Out: u'Hello Sam'eco.render("Hello ", name="world")# Out: u'Hello world'Setuppip install ecoProduct's homepage
python-eco Related Software