Mako


NameMako JSON
Version 1.3.6 PyPI version JSON
download
home_pagehttps://www.makotemplates.org/
SummaryA super-fast templating language that borrows the best ideas from the existing templating languages.
upload_time2024-10-21 21:53:09
maintainerNone
docs_urlNone
authorMike Bayer
requires_python>=3.8
licenseMIT
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/fa/0b/29bc5a230948bf209d3ed3165006d257e547c02c3c2a96f6286320dfe8dc/mako-1.3.6.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.6",
    "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": "4822bc14c6f02e6dccaafb3eba95764c8f096714260c2aa5f76f654fd16a23dd",
                "md5": "deb62711dbeeeb53e10bb5c223e00a5b",
                "sha256": "a91198468092a2f1a0de86ca92690fb0cfc43ca90ee17e15d93662b4c04b241a"
            },
            "downloads": -1,
            "filename": "Mako-1.3.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "deb62711dbeeeb53e10bb5c223e00a5b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 78557,
            "upload_time": "2024-10-21T21:53:11",
            "upload_time_iso_8601": "2024-10-21T21:53:11.904668Z",
            "url": "https://files.pythonhosted.org/packages/48/22/bc14c6f02e6dccaafb3eba95764c8f096714260c2aa5f76f654fd16a23dd/Mako-1.3.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fa0b29bc5a230948bf209d3ed3165006d257e547c02c3c2a96f6286320dfe8dc",
                "md5": "ca119a43eb3eff532bd5d55d585d1caa",
                "sha256": "9ec3a1583713479fae654f83ed9fa8c9a4c16b7bb0daba0e6bbebff50c0d983d"
            },
            "downloads": -1,
            "filename": "mako-1.3.6.tar.gz",
            "has_sig": false,
            "md5_digest": "ca119a43eb3eff532bd5d55d585d1caa",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 390206,
            "upload_time": "2024-10-21T21:53:09",
            "upload_time_iso_8601": "2024-10-21T21:53:09.593574Z",
            "url": "https://files.pythonhosted.org/packages/fa/0b/29bc5a230948bf209d3ed3165006d257e547c02c3c2a96f6286320dfe8dc/mako-1.3.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-21 21:53:09",
    "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"
}
        
Elapsed time: 0.38702s