lexty/Jinja2 Renderer

Render Jinja2 templates with custom variables

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
template_pathPath to the Jinja2 template file or directoryyes
output_pathPath where rendered files will be savedyes
variables_filePath to a JSON, YAML, or .env file with variables to use in templatesno
variables_file_formatExplicit format specification for variables_file (json, yaml, env). If not specified, format is auto-detected by file extensionno
variablesJSON string or key=value pairs for template variables (alternative to variables_file)no
environment_variablesUse environment variables in templates (true/false)notrue
recursiveProcess templates in subdirectories recursivelynofalse
file_patternGlob pattern for finding template files (e.g. "*.j2", "*.template")no*.j2
strictEnable strict undefined variable checkingnofalse
trim_blocksConfigure Jinja2 to trim blocksnotrue
lstrip_blocksConfigure Jinja2 to strip blocksnotrue
namedescription
rendered_filesList of rendered template files