Talks

Automating File Creation With Jinja2 Templates in Python

Kiran Jonathan

Kiran Jonathan

Research Software Engineer

Learn how Jinja2 provides a lightweight and simple templating infrastructure in Python to help you automate the creation of ordered, structured text files

Do you find yourself writing files with the same structure over and over and over again? Are you using clunky bash scripts with sed everywhere to automate your file creation? Jinja2 provides a lightweight and simple templating infrastructure in Python to help you automate the creation of ordered, structured text files, and works really nicely with other unordered inputs like yaml, dataclasses, and more.