Tools to make writing Jinja2 extensions easier