woom.render

woom.render#

Jinja text rendering

Attributes

JINJA_ENV

jinja2.Environment used to render woom commandline templates

JINJA_FILTERS

Default woom jinja filters

Functions

filter_as_env_str(value)

Convert to environment variable string

filter_replicate_option(values, opt_name[, ...])

Replicate a command line option with values

filter_strftime(date, format)

Create a WoomDate and format it

get_jinja_filter(name)

Simply return a filter function using its name

render(template, context[, strict, nested])

Render this text with Jinja

setup_template_loader(workflow_dir)

Setup Jinja loader to support user template extensions

Classes

WoomLoader(workflow_dir)

Jinja loader that searches for user templates