Jinja2 in Python – Render Config

Jinja2 is a full-featured template engine for Python. The first time I used it with Flask, it comes packaged with the powerful Jinja templating language. But it also could be used for rendering configuration. Jinja templates use: {{ … }} – for variable {% … %} – for expressions or logic (like for loops) Jinja2 also allows for conditional statements: Jinja2...