No project description provided
Project description
jrender
jrender
is a command-line tool that renders Jinja template files using a
context built from YAML files and mappings supplied on the command line. It is primarily designed for quickly testing
template files.
Installation
Requires Python version 3.9 or higher and pip.
pip install jrender
Example
# Create a template file
> echo "Hello {{name}}" > hello.jinja
# Render the template by supplying values
> jrender hello.jinja name=World
# Values provided through the command line are always interpreted as strings. For other data types or more complex data
# structures, provide the context in a YAML file.
> jrender hello.jinja -f vars.yaml
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jrender-1.1.tar.gz
(3.1 kB
view hashes)
Built Distribution
jrender-1.1-py3-none-any.whl
(3.4 kB
view hashes)