Sign inSign up

saarphil/jinja2renderer

By saarphil

•Updated about 20 hours ago

Python3 based renderer for jinja2 templates

Image
Developer tools
0

7.0K

saarphil/jinja2renderer repository overview

A tiny renderer for jinja2 templates using json files as data source.

⁠Tags

⁠Current
  • latest (daily built)
⁠Older versions

Currently there's no specific versioning.

⁠HowTo

  1. Prepare your json data file
  2. Prepare your jinja2 template file
    The root element of your json file can be referenced as data.
  3. Run the container mounting both files
docker run \
    -v "/path/to/your/data.json:/opt/data/data.json" \
    -v "/path/to/your/template.jinja2:/opt/data/template.jinja2" \
    saarphil/jinja2renderer

Remember: Depending on your configuration it needs the --privileged flag to read the source files.

⁠Contact

  • support [at] codereaders.eu

Tag summary

Content type

Image

Digest

sha256:b8a2d5760…

Size

94.4 MB

Last updated

about 20 hours ago

docker pull saarphil/jinja2renderer