Jinja2 is a full-featured template engine for Python

Jinja | The Pallets Projects

https://palletsprojects.com/p/jinja/

Jinja2 is a full-featured template engine for Python. It has full unicode support, an optional integrated sandboxed execution environment, widely used and BSD licensed.