[ANN] pyTenjin 0.7.0 - the fastest and full-featured template engine

K

kwatch

Hi,

I have released pyTenjin 0.7.0
http://www.kuwata-lab.com/tenjin/

pyTenjin is the fastest template engine for Python.
It is not only very fast but also full-featured and easy-to-use.
You can embed Python statements and expressions into your text file.
Tenjin converts it into Python program and evaluate it.

Features:
* very fast
- x2 faster than Mako
- x3 faster than Cheetah and Myghty
- x9 faster than Django
- x60 faster than Kid
* Full-featured
- layout template
- partial template
- capturing
- preprocessing
- and so on...

You can see the detail of benchmark at:
http://www.kuwata-lab.com/tenjin/
(benchmark script is included in pyTenjin distribution.)


Enhancements in 0.7.0
---------------------

* Python 3.0 is now supported officially.
* Google AppEngine (GAE) supported.
http://www.kuwata-lab.com/tenjin/pytenjin-faq.html#faq-google-appengine
* Logging support.
* enerate_tostrfun() can take not only encode-encoding but also
decode-encoding.
* (Experimental) HTML helper functions are now provided.
* New command-line option '-a cache' supported.
* You can share caches between all engine objects.
* Pickle-base and text-base template caching support.

See CHANGES.txt for details.
http://www.kuwata-lab.com/pytenjin-CHANGES.txt


Changes in 0.7.0
----------------

* 'cache' option for tenjin.Engine() changed.
* to_str() is changed to encode unicode object into binary(=str)
using utf-8 encoding in default.
* Benchmark script now skips to do benchmark template libraries
which are failed to import.


Bugfix in 0.7.0
----------------
* In preprocessing, error was raised when expression is not string.
Now fixed.


Download and Install
--------------------

Type:

$ sudo eazy_install Tenjin

Or:

$ wget http://downloads.sourceforge.net/tenjin/Tenjin-0.7.0.tar.gz
$ tar xzf Tenjin-0.7.0.tar.gz
$ cd Tenjin-0.7.0
$ sudo python setup.py install


Documents
---------

* User's Guide
http://www.kuwata-lab.com/tenjin/pytenjin-users-guide.html

* FAQ
http://www.kuwata-lab.com/tenjin/pytenjin-faq.html

* Examples
http://www.kuwata-lab.com/tenjin/pytenjin-examples.html

* (Presentation) Tenjin - the fastest template engine in the world
http://www.slideshare.net/kwatch/tenjin-the-wastest-template-engine-in-the-world



Have fun!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,189
Members
46,735
Latest member
HikmatRamazanov

Latest Threads

Top