Name | Mako JSON |
Version |
1.3.8
JSON |
| download |
home_page | https://www.makotemplates.org/ |
Summary | A super-fast templating language that borrows the best ideas from the existing templating languages. |
upload_time | 2024-12-07 18:41:33 |
maintainer | None |
docs_url | None |
author | Mike Bayer |
requires_python | >=3.8 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
=========================
Mako Templates for Python
=========================
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.
Nutshell
========
::
<%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>
Philosophy
===========
Python is a great scripting language. Don't reinvent the wheel...your templates can handle it !
Documentation
==============
See documentation for Mako at https://docs.makotemplates.org/en/latest/
License
========
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.
Raw data
{
"_id": null,
"home_page": "https://www.makotemplates.org/",
"name": "Mako",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": null,
"author": "Mike Bayer",
"author_email": "mike@zzzcomputing.com",
"download_url": "https://files.pythonhosted.org/packages/5f/d9/8518279534ed7dace1795d5a47e49d5299dd0994eed1053996402a8902f9/mako-1.3.8.tar.gz",
"platform": null,
"description": "=========================\nMako Templates for Python\n=========================\n\nMako is a template library written in Python. It provides a familiar, non-XML \nsyntax which compiles into Python modules for maximum performance. Mako's \nsyntax and API borrows from the best ideas of many others, including Django\ntemplates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded \nPython (i.e. Python Server Page) language, which refines the familiar ideas\nof componentized layout and inheritance to produce one of the most \nstraightforward and flexible models available, while also maintaining close \nties to Python calling and scoping semantics.\n\nNutshell\n========\n\n::\n\n <%inherit file=\"base.html\"/>\n <%\n rows = [[v for v in range(0,10)] for row in range(0,10)]\n %>\n <table>\n % for row in rows:\n ${makerow(row)}\n % endfor\n </table>\n\n <%def name=\"makerow(row)\">\n <tr>\n % for name in row:\n <td>${name}</td>\\\n % endfor\n </tr>\n </%def>\n\nPhilosophy\n===========\n\nPython is a great scripting language. Don't reinvent the wheel...your templates can handle it !\n\nDocumentation\n==============\n\nSee documentation for Mako at https://docs.makotemplates.org/en/latest/\n\nLicense\n========\n\nMako is licensed under an MIT-style license (see LICENSE).\nOther incorporated projects may be licensed under different licenses.\nAll licenses allow for non-commercial and commercial use.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A super-fast templating language that borrows the best ideas from the existing templating languages.",
"version": "1.3.8",
"project_urls": {
"Documentation": "https://docs.makotemplates.org",
"Homepage": "https://www.makotemplates.org/",
"Issue Tracker": "https://github.com/sqlalchemy/mako"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1ebf7a6a36ce2e4cafdfb202752be68850e22607fccd692847c45c1ae3c17ba6",
"md5": "4db7ceb84a033517bae5c5cf0bdac51e",
"sha256": "42f48953c7eb91332040ff567eb7eea69b22e7a4affbc5ba8e845e8f730f6627"
},
"downloads": -1,
"filename": "Mako-1.3.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4db7ceb84a033517bae5c5cf0bdac51e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 78569,
"upload_time": "2024-12-07T18:41:35",
"upload_time_iso_8601": "2024-12-07T18:41:35.983581Z",
"url": "https://files.pythonhosted.org/packages/1e/bf/7a6a36ce2e4cafdfb202752be68850e22607fccd692847c45c1ae3c17ba6/Mako-1.3.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5fd98518279534ed7dace1795d5a47e49d5299dd0994eed1053996402a8902f9",
"md5": "8e6f349493b5c545795e4f6451e070dd",
"sha256": "577b97e414580d3e088d47c2dbbe9594aa7a5146ed2875d4dfa9075af2dd3cc8"
},
"downloads": -1,
"filename": "mako-1.3.8.tar.gz",
"has_sig": false,
"md5_digest": "8e6f349493b5c545795e4f6451e070dd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 392069,
"upload_time": "2024-12-07T18:41:33",
"upload_time_iso_8601": "2024-12-07T18:41:33.960848Z",
"url": "https://files.pythonhosted.org/packages/5f/d9/8518279534ed7dace1795d5a47e49d5299dd0994eed1053996402a8902f9/mako-1.3.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-07 18:41:33",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "sqlalchemy",
"github_project": "mako",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "mako"
}