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-1.2.3.tar.gz 0000491336 480 KB
python-Mako.changes 0000025698 25.1 KB
python-Mako.spec 0000002832 2.77 KB
Revision 48 (latest revision is 55)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1007102 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 48)
- update to 1.2.3:
  * Fixed issue in lexer in the same category as that of :ticket:`366` where
    the regexp used to match an end tag didn't correctly organize for matching
    characters surrounded by whitespace, leading to high memory / interpreter
    hang if a closing tag incorrectly had a large amount of unterminated space
    in it. Credit to Sebastian Chnelik for locating the issue.
  * As Mako templates inherently render and directly invoke arbitrary Python
    code from the template source, it is **never** appropriate to create
    templates that contain untrusted input.
Comments 0
openSUSE Build Service is sponsored by