4 Summary: A super-fast templating language that borrows the best ideas from the existing templating languages.
5 Home-page: https://www.makotemplates.org/
7 Author-email: mike@zzzcomputing.com
9 Project-URL: Documentation, https://docs.makotemplates.org
10 Project-URL: Issue Tracker, https://github.com/sqlalchemy/mako
12 Classifier: Development Status :: 5 - Production/Stable
13 Classifier: License :: OSI Approved :: MIT License
14 Classifier: Environment :: Web Environment
15 Classifier: Intended Audience :: Developers
16 Classifier: Programming Language :: Python
17 Classifier: Programming Language :: Python :: 3
18 Classifier: Programming Language :: Python :: 3.7
19 Classifier: Programming Language :: Python :: 3.8
20 Classifier: Programming Language :: Python :: 3.9
21 Classifier: Programming Language :: Python :: 3.10
22 Classifier: Programming Language :: Python :: Implementation :: CPython
23 Classifier: Programming Language :: Python :: Implementation :: PyPy
24 Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
25 Requires-Python: >=3.7
26 Description-Content-Type: text/x-rst
27 Provides-Extra: testing
29 Provides-Extra: lingua
32 =========================
33 Mako Templates for Python
34 =========================
36 Mako is a template library written in Python. It provides a familiar, non-XML
37 syntax which compiles into Python modules for maximum performance. Mako's
38 syntax and API borrows from the best ideas of many others, including Django
39 templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded
40 Python (i.e. Python Server Page) language, which refines the familiar ideas
41 of componentized layout and inheritance to produce one of the most
42 straightforward and flexible models available, while also maintaining close
43 ties to Python calling and scoping semantics.
50 <%inherit file="base.html"/>
52 rows = [[v for v in range(0,10)] for row in range(0,10)]
60 <%def name="makerow(row)">
71 Python is a great scripting language. Don't reinvent the wheel...your templates can handle it !
76 See documentation for Mako at https://docs.makotemplates.org/en/latest/
81 Mako is licensed under an MIT-style license (see LICENSE).
82 Other incorporated projects may be licensed under different licenses.
83 All licenses allow for non-commercial and commercial use.