Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork46
THIS IS NOT THE OFFICIAL REPO - PLEASE SUBMIT PRs ETC AT:http://github.com/sqlalchemy/mako
License
zzzeek/mako
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Mako is a template library written in Python. It provides a familiar, non-XMLsyntax which compiles into Python modules for maximum performance. Mako'ssyntax and API borrows from the best ideas of many others, including Djangotemplates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embeddedPython (i.e. Python Server Page) language, which refines the familiar ideasof componentized layout and inheritance to produce one of the moststraightforward and flexible models available, while also maintaining closeties to Python calling and scoping semantics.
<%inherit file="base.html"/><% rows = [[v for v in range(0,10)] for row in range(0,10)]%><table> % for row in rows: ${makerow(row)} % endfor</table><%def name="makerow(row)"> <tr> % for name in row: <td>${name}</td>\ % endfor </tr></%def>
Python is a great scripting language. Don't reinvent the wheel...your templates can handle it !
See documentation for Mako athttps://docs.makotemplates.org/en/latest/
Mako is licensed under an MIT-style license (see LICENSE).Other incorporated projects may be licensed under different licenses.All licenses allow for non-commercial and commercial use.
About
THIS IS NOT THE OFFICIAL REPO - PLEASE SUBMIT PRs ETC AT:http://github.com/sqlalchemy/mako
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.