Template¶
- class rmote.tools.template.Template[source]¶
Bases:
ToolBuilt-in tool that renders Mako-like templates on the remote side.
All three methods execute on the remote process. See Templating for a full description of the template syntax.
- static render(template, **kwargs)[source]¶
Compile template and render it with kwargs as the variable namespace.
- static render_compiled(template, **kwargs)[source]¶
Render a pre-compiled
Templateinstance.Use this method when the template was compiled locally and passed as an argument to avoid re-compiling it on the remote side.