Might need Jinja2. Generally, this is about what I want.