ÿØÿà JFIF    ÿÛ „ ( %!1!%*+...983,7(-.- dependency_links.txt000064400000000001152407660530010622 0ustar00 PKG-INFO000064400000004661152407660530005660 0ustar00Metadata-Version: 2.1 Name: Mako Version: 1.1.0 Summary: A super-fast templating language that borrows the best ideas from the existing templating languages. Home-page: https://www.makotemplates.org/ Author: Mike Bayer Author-email: mike@zzzcomputing.com License: MIT Project-URL: Documentation, https://docs.makotemplates.org Project-URL: Issue Tracker, https://github.com/sqlalchemy/mako Keywords: templates Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: License :: OSI Approved :: MIT License Classifier: Environment :: Web Environment Classifier: Intended Audience :: Developers Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* License-File: LICENSE License-File: AUTHORS ========================= 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)] %> % for row in rows: ${makerow(row)} % endfor
<%def name="makerow(row)"> % for name in row: ${name}\ % endfor 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. top_level.txt000064400000000005152407660530007301 0ustar00mako SOURCES.txt000064400000007500152407660530006442 0ustar00AUTHORS CHANGES LICENSE MANIFEST.in README.rst setup.cfg setup.py tox.ini Mako.egg-info/PKG-INFO Mako.egg-info/SOURCES.txt Mako.egg-info/dependency_links.txt Mako.egg-info/entry_points.txt Mako.egg-info/not-zip-safe Mako.egg-info/requires.txt Mako.egg-info/top_level.txt doc/caching.html doc/changelog.html doc/defs.html doc/filtering.html doc/genindex.html doc/index.html doc/inheritance.html doc/namespaces.html doc/runtime.html doc/search.html doc/searchindex.js doc/syntax.html doc/unicode.html doc/usage.html doc/_static/basic.css doc/_static/changelog.css doc/_static/docs.css doc/_static/doctools.js doc/_static/documentation_options.js doc/_static/file.png doc/_static/jquery-3.2.1.js doc/_static/jquery.js doc/_static/language_data.js doc/_static/minus.png doc/_static/plus.png doc/_static/pygments.css doc/_static/searchtools.js doc/_static/sphinx_paramlinks.css doc/_static/underscore-1.3.1.js doc/_static/underscore.js doc/build/Makefile doc/build/caching.rst doc/build/changelog.rst doc/build/conf.py doc/build/defs.rst doc/build/filtering.rst doc/build/index.rst doc/build/inheritance.rst doc/build/namespaces.rst doc/build/requirements.txt doc/build/runtime.rst doc/build/syntax.rst doc/build/unicode.rst doc/build/usage.rst doc/build/unreleased/README.txt examples/bench/basic.py examples/bench/cheetah/footer.tmpl examples/bench/cheetah/header.tmpl examples/bench/cheetah/template.tmpl examples/bench/django/templatetags/__init__.py examples/bench/django/templatetags/bench.py examples/bench/kid/base.kid examples/bench/kid/template.kid examples/bench/myghty/base.myt examples/bench/myghty/template.myt examples/wsgi/run_wsgi.py mako/__init__.py mako/_ast_util.py mako/ast.py mako/cache.py mako/cmd.py mako/codegen.py mako/compat.py mako/exceptions.py mako/filters.py mako/lexer.py mako/lookup.py mako/parsetree.py mako/pygen.py mako/pyparser.py mako/runtime.py mako/template.py mako/util.py mako/ext/__init__.py mako/ext/autohandler.py mako/ext/babelplugin.py mako/ext/beaker_cache.py mako/ext/extract.py mako/ext/linguaplugin.py mako/ext/preprocessors.py mako/ext/pygmentplugin.py mako/ext/turbogears.py test/__init__.py test/sample_module_namespace.py test/test_ast.py test/test_block.py test/test_cache.py test/test_call.py test/test_cmd.py test/test_decorators.py test/test_def.py test/test_exceptions.py test/test_filters.py test/test_inheritance.py test/test_lexer.py test/test_lookup.py test/test_loop.py test/test_lru.py test/test_namespace.py test/test_pygen.py test/test_runtime.py test/test_template.py test/test_tgplugin.py test/test_util.py test/util.py test/ext/__init__.py test/ext/test_babelplugin.py test/ext/test_linguaplugin.py test/foo/__init__.py test/foo/mod_no_encoding.py test/foo/test_ns.py test/templates/badbom.html test/templates/bom.html test/templates/bommagic.html test/templates/chs_unicode.html test/templates/chs_unicode_py3k.html test/templates/chs_utf8.html test/templates/cmd_good.mako test/templates/cmd_runtime.mako test/templates/cmd_syntax.mako test/templates/crlf.html test/templates/gettext.mako test/templates/gettext_cp1251.mako test/templates/gettext_utf8.mako test/templates/index.html test/templates/internationalization.html test/templates/modtest.html test/templates/read_unicode.html test/templates/read_unicode_py3k.html test/templates/runtimeerr.html test/templates/runtimeerr_py3k.html test/templates/unicode.html test/templates/unicode_arguments.html test/templates/unicode_arguments_py3k.html test/templates/unicode_code.html test/templates/unicode_code_py3k.html test/templates/unicode_expr.html test/templates/unicode_expr_py3k.html test/templates/unicode_runtime_error.html test/templates/unicode_syntax_error.html test/templates/foo/modtest.html.py test/templates/othersubdir/foo.html test/templates/subdir/incl.html test/templates/subdir/index.html test/templates/subdir/modtest.html test/templates/subdir/foo/modtest.html.pyrequires.txt000064400000000022152407660530007146 0ustar00MarkupSafe>=0.9.2 not-zip-safe000064400000000001152407660530007002 0ustar00 entry_points.txt000064400000001112152407660530010045 0ustar00 [python.templating.engines] mako = mako.ext.turbogears:TGPlugin [pygments.lexers] mako = mako.ext.pygmentplugin:MakoLexer html+mako = mako.ext.pygmentplugin:MakoHtmlLexer xml+mako = mako.ext.pygmentplugin:MakoXmlLexer js+mako = mako.ext.pygmentplugin:MakoJavascriptLexer css+mako = mako.ext.pygmentplugin:MakoCssLexer [babel.extractors] mako = mako.ext.babelplugin:extract [lingua.extractors] mako = mako.ext.linguaplugin:LinguaMakoExtractor [console_scripts] mako-render = mako.cmd:cmdline