Searched full:mako (Results 1 – 25 of 230) sorted by relevance
12345678910
| /external/python/mako/ |
| D | setup.cfg | 2 name = Mako 3 version = attr: mako.__version__ 29 Issue Tracker=https://github.com/sqlalchemy/mako 54 mako = mako.ext.turbogears:TGPlugin 57 mako = mako.ext.pygmentplugin:MakoLexer 58 html+mako = mako.ext.pygmentplugin:MakoHtmlLexer 59 xml+mako = mako.ext.pygmentplugin:MakoXmlLexer 60 js+mako = mako.ext.pygmentplugin:MakoJavascriptLexer 61 css+mako = mako.ext.pygmentplugin:MakoCssLexer 64 mako = mako.ext.babelplugin:extract [babel] [all …]
|
| D | README.rst | 2 Mako Templates for Python 5 Mako is a template library written in Python. It provides a familiar, non-XML 6 syntax which compiles into Python modules for maximum performance. Mako's 8 templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded 45 See documentation for Mako at https://docs.makotemplates.org/en/latest/ 50 Mako is licensed under an MIT-style license (see LICENSE).
|
| /external/python/mako/doc/build/ |
| D | inheritance.rst | 8 new in Mako as of version 0.4.1 called the "block". This tag is very similar to 26 .. sourcecode:: mako 39 .. sourcecode:: mako 111 the way ``self`` works in a Python class, even though Mako is 113 functionality. (Mako doesn't take the "inheritance" metaphor too 125 .. sourcecode:: mako 151 .. sourcecode:: mako 178 .. sourcecode:: mako 201 to be overridden. Before Mako 0.4.1, there wasn't any such tag -- instead 208 .. sourcecode:: mako [all …]
|
| D | usage.rst | 10 This section describes the Python API for Mako templates. If you 11 are using Mako within a web framework such as Pylons, the work 12 of integrating Mako's API is already done for you, in which case 20 from mako.template import Template 28 template. When ``mytemplate.render()`` is called, Mako sets up a 41 from mako.template import Template 46 The :meth:`~.Template.render` method calls upon Mako to create a 54 from mako.template import Template 55 from mako.runtime import Context 72 from mako.template import Template [all …]
|
| D | namespaces.rst | 12 .. sourcecode:: mako 26 .. sourcecode:: mako 44 .. sourcecode:: mako 53 .. sourcecode:: mako 63 .. note:: In current versions of Mako, usage of ``import='*'`` is 70 .. sourcecode:: mako 84 .. sourcecode:: mako 90 Mako 0.2.3, allows the usage of a "custom" Mako tag, with the 93 .. sourcecode:: mako 101 .. sourcecode:: mako [all …]
|
| D | syntax.rst | 7 A Mako template is parsed from a text stream containing any kind 9 contain Mako-specific directives which represent variable and/or 15 of a Mako template. 24 .. sourcecode:: mako 38 .. sourcecode:: mako 50 Mako includes a number of built-in escaping mechanisms, 55 .. sourcecode:: mako 72 ``while`` and ``for``), as well as things like ``try``/``except``. In Mako, 78 .. sourcecode:: mako 88 although Mako has a built-in tag for defs which is more full-featured. [all …]
|
| D | runtime.rst | 4 The Mako Runtime Environment 25 some built-in variables provided by Mako's runtime environment. 42 .. sourcecode:: mako 78 variable with the class :class:`mako.runtime.Undefined`. The 97 just return a blank string?** - Mako tries to stick to the 105 .. sourcecode:: mako 118 work as well as you'd think. The reason for this is that Mako in 124 of where Mako creates copies of the :class:`.Context` include 128 as inlined functions, Mako tries to make them act that way), and 147 .. sourcecode:: mako [all …]
|
| D | defs.rst | 19 .. sourcecode:: mako 27 .. sourcecode:: mako 40 .. sourcecode:: mako 61 .. sourcecode:: mako 93 .. sourcecode:: mako 102 .. sourcecode:: mako 111 .. sourcecode:: mako 116 which is a central Mako concept that has its own chapter in 130 from mako.template import Template 152 .. sourcecode:: mako [all …]
|
| D | filtering.rst | 16 .. sourcecode:: mako 43 in 1.2.0 Mako applies the Python 3 ``str`` built-in. 52 .. sourcecode:: mako 66 .. sourcecode:: mako 77 .. sourcecode:: mako 88 .. sourcecode:: mako 168 .. sourcecode:: mako 174 .. sourcecode:: mako 184 .. sourcecode:: mako 202 .. sourcecode:: mako [all …]
|
| D | caching.rst | 10 .. sourcecode:: mako 26 any other third-party caching libraries that feature Mako integration. 36 .. sourcecode:: mako 44 .. sourcecode:: mako 56 Mako has two cache arguments available on tags that are 76 .. sourcecode:: mako 172 .. sourcecode:: mako 180 .. sourcecode:: mako 206 also accepted by the dogpile.cache Mako plugin, though not by Beaker itself). 228 includes its own Mako cache plugin -- see :mod:`dogpile.cache.plugins.mako_cache` in the [all …]
|
| D | conf.py | 2 # Mako documentation build configuration file 22 import mako # noqa 42 changelog_render_ticket = "https://github.com/sqlalchemy/mako/issues/%s" 45 "default": "https://github.com/sqlalchemy/mako/pull/%s", 46 "github": "https://github.com/sqlalchemy/mako/pull/%s", 67 site_adapter_template = "docs_adapter.mako" 80 project = "Mako" 81 copyright = "the Mako authors and contributors" 88 version = mako.__version__ 232 "Mako Documentation", [all …]
|
| D | unicode.rst | 7 In normal Mako operation, all parsed template constructs and 12 <set_template_file_encoding>` (still required in Python 3, although Mako defaults to ``utf-8``), 26 As of Mako 1.1.3, the default template encoding is "utf-8". Previously, a 30 Mako templates support Python's "magic encoding comment" syntax 33 .. sourcecode:: mako 59 constructs. By default, Mako's treatment of an expression like 62 .. sourcecode:: mako 87 .. sourcecode:: mako 129 from mako.template import Template 130 from mako.lookup import TemplateLookup
|
| /external/python/mako/mako/ |
| D | exceptions.py | 1 # mako/exceptions.py 2 # Copyright 2006-2023 the Mako authors and contributors <see AUTHORS file> 4 # This module is part of Mako and is released under 12 from mako import compat 13 from mako import util 74 Mako-specific template information. 152 import mako.template 164 info = mako.template._get_module_info(filename) 188 mtm = mako.template.ModuleInfo 248 import mako.template [all …]
|
| D | cmd.py | 1 # mako/cmd.py 2 # Copyright 2006-2023 the Mako authors and contributors <see AUTHORS file> 4 # This module is part of Mako and is released under 11 from mako import exceptions 12 from mako.lookup import TemplateLookup 13 from mako.template import Template
|
| /external/python/mako/mako/ext/ |
| D | pygmentplugin.py | 2 # Copyright 2006-2023 the Mako authors and contributors <see AUTHORS file> 4 # This module is part of Mako and is released under 30 name = "Mako" 31 aliases = ["mako"] 105 name = "HTML+Mako" 106 aliases = ["html+mako"] 113 name = "XML+Mako" 114 aliases = ["xml+mako"] 121 name = "JavaScript+Mako" 122 aliases = ["js+mako", "javascript+mako"] [all …]
|
| D | turbogears.py | 2 # Copyright 2006-2023 the Mako authors and contributors <see AUTHORS file> 4 # This module is part of Mako and is released under 7 from mako import compat 8 from mako.lookup import TemplateLookup 9 from mako.template import Template 25 if k.startswith("mako."):
|
| /external/python/mako/test/ |
| D | test_lookup.py | 4 from mako import exceptions 5 from mako import lookup 6 from mako import runtime 7 from mako.template import Template 8 from mako.testing.assertions import assert_raises_message 9 from mako.testing.assertions import assert_raises_with_given_cause 10 from mako.testing.config import config 11 from mako.testing.helpers import file_with_template_code 12 from mako.testing.helpers import replace_file_with_dir 13 from mako.testing.helpers import result_lines [all …]
|
| D | test_util.py | 6 from mako import compat 7 from mako import exceptions 8 from mako import util 9 from mako.testing.assertions import assert_raises_message 10 from mako.testing.assertions import eq_ 11 from mako.testing.assertions import in_ 12 from mako.testing.assertions import ne_ 13 from mako.testing.assertions import not_in
|
| D | test_cmd.py | 5 from mako.cmd import cmdline 6 from mako.testing.assertions import eq_ 7 from mako.testing.assertions import expect_raises 8 from mako.testing.assertions import expect_raises_message 9 from mako.testing.config import config 10 from mako.testing.fixtures import TemplateTest 59 os.path.join(config.template_base, "cmd_good.mako"), 72 os.path.join(config.template_base, "cmd_syntax.mako"), 86 os.path.join(config.template_base, "cmd_runtime.mako"),
|
| /external/python/mako/test/ext/ |
| D | test_linguaplugin.py | 5 from mako.testing.assertions import eq_ 6 from mako.testing.config import config 7 from mako.testing.exclusions import requires_lingua 8 from mako.testing.fixtures import TemplateTest 26 from mako.ext.linguaplugin import LinguaMakoExtractor 31 os.path.join(config.template_base, "gettext.mako"),
|
| D | test_babelplugin.py | 6 from mako.testing.assertions import eq_ 7 from mako.testing.config import config 8 from mako.testing.exclusions import requires_babel 9 from mako.testing.fixtures import TemplateTest 15 from mako.ext.babelplugin import extract 58 os.path.join(config.template_base, "gettext.mako") 97 os.path.join(config.template_base, "gettext_utf8.mako"), "rb" 106 os.path.join(config.template_base, "gettext_cp1251.mako"), "rb"
|
| /external/python/mako/test/testing/ |
| D | test_config.py | 9 from mako.testing._config import ConfigValueTypeError 10 from mako.testing._config import MissingConfig 11 from mako.testing._config import MissingConfigItem 12 from mako.testing._config import MissingConfigSection 13 from mako.testing._config import ReadsCfg 14 from mako.testing.assertions import assert_raises_message_with_given_cause 15 from mako.testing.assertions import assert_raises_with_given_cause
|
| /external/grpc-grpc/tools/buildgen/ |
| D | _mako_renderer.py | 15 """Simple Mako renderer. 17 Just a wrapper around the mako rendering library. 29 from mako import exceptions 30 from mako.lookup import TemplateLookup 31 from mako.runtime import Context 32 from mako.template import Template 48 "mako-renderer.py [-o out] [-m cache] [-P preprocessed_input] [-d dict]" 54 """Render the mako template with given context.
|
| /external/rust/crates/grpcio-sys/grpc/tools/buildgen/ |
| D | _mako_renderer.py | 15 """Simple Mako renderer. 17 Just a wrapper around the mako rendering library. 29 from mako import exceptions 30 from mako.lookup import TemplateLookup 31 from mako.runtime import Context 32 from mako.template import Template 46 out('mako-renderer.py [-o out] [-m cache] [-P preprocessed_input] [-d dict] [-d dict...]' 51 """Render the mako template with given context.
|
| /external/OpenCL-Headers/scripts/ |
| D | README.md | 10 The OpenCL headers are generated using Python [Mako Templates](https://www.makotemplates.org/). 12 In most cases, after installing Python for your platform, Mako may be installed using: 15 $ pip install Mako 20 Most changes only require modifications to the Mako templates. 24 …d if additional information needs to be propagated from the XML file into the Mako template itself.
|
12345678910