Tools for working with template macros in flask/jinja2