Mako (template engine)

{{Short description|Python template library}}

{{Multiple issues|{{Third-party|date=March 2022}}{{unreliable sources|date=March 2022}}}}

{{Infobox software

| name = Mako

| logo = MakoLogo large.png

| logo size = frameless

| author = Mike Bayer[http://techspot.zzzeek.org/ Mike Bayer is the creator of SQLAlchemy and Mako Templates for Python.]

| released = {{Start date and age|2006|12|31}}{{cite web| title=Mako Release History | url=https://pypi.org/project/Mako/#history | accessdate=7 March 2022}}

| latest release version = {{wikidata|property|reference|edit|P348}}

| latest release date =

| programming language = Python

| genre = Template engine

| license = MIT License

}}

Mako is a template library written in Python. Mako is an embedded Python (i.e. Python Server Page) language, which refines the familiar ideas of componentized layout and inheritance. The Mako template is used by Reddit.{{cite web | url=https://old.reddit.com/r/redditdev/comments/fewoh/a_beginners_guide_to_the_reddit_source_code_part/ | title=A Beginners Guide to the reddit Source Code: Part 2, the View, Templates and Mako | date=4 February 2011 }} It is the default template language included with the Pylons{{cite web | url=https://docs.pylonsproject.org/projects/pylons-webframework/en/latest/views.html | title=Views — Pylons Framework 1.0.2 documentation }} and Pyramid{{cite web | url=https://docs.pylonsproject.org/projects/pyramid-cookbook/en/latest/pylons/templates.html | title=Templates — the Pyramid Community Cookbook v0.2 | access-date=2022-03-07 | archive-date=2022-03-07 | archive-url=https://web.archive.org/web/20220307184846/https://docs.pylonsproject.org/projects/pyramid-cookbook/en/latest/pylons/templates.html | url-status=dead }} web frameworks.

See also

References

{{reflist|30em}}