A super-fast Python templating language

Edit Package python-Mako

Mako is a template library written in Python. It provides a familiar, non-XML
syntax which compiles into Python modules for maximum performance. Mako's
syntax and API borrows from the best ideas of many others, including Django
templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded
Python (i.e. Python Server Page) language, which refines the familiar ideas
of componentized layout and inheritance to produce one of the most
straightforward and flexible models available, while also maintaining close
ties to Python calling and scoping semantics.

Refresh
Refresh
Source Files
Filename Size Changed
Mako-0.9.1.tar.gz 0000421071 411 KB
python-Mako.changes 0000012168 11.9 KB
python-Mako.spec 0000002544 2.48 KB
Revision 16 (latest revision is 56)
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 213771 from Denisart Benjamin's avatar Denisart Benjamin (posophe) (revision 16)
- update to 0.9.1:
  - [bug] Fixed bug in Babel plugin where translator comments
    would be lost if intervening text nodes were encountered.
    Fix courtesy Ned Batchelder.  [ticket:225]
  
  - [bug] Fixed TGPlugin.render method to support unicode template
    names in Py2K - courtesy Vladimir Magamedov.
  
  - [bug] Fixed an AST issue that was preventing correct operation
    under alpha versions of Python 3.4.  Pullreq courtesy Zer0-.
  
  - [bug] Changed the format of the "source encoding" header output
    by the code generator to use the format ``# -*- coding:%s -*-``
    instead of ``# -*- encoding:%s -*-``; the former is more common
    and compatible with emacs.  Courtesy Martin Geisler.
  
  - [bug] Fixed issue where an old lexer rule prevented a template line
    which looked like "#*" from being correctly parsed.  [ticket:224] (forwarded request 213703 from dirkmueller)
Comments 0
openSUSE Build Service is sponsored by