Jinjerscore provides an alternate parser and compiler derived from Jinja2, which rather than generating a final (usually HTML) output, produces an Underscore template that aims to be equivalent to the input. So far, support for basic control structures and variable output is rather good, and support is planned for more advanced features like macros and filters.
You can install jinjerscore with pip:
pip install jinjerscore
You can fork jinjerscore from its git repository:
git clone http://github.com/hiidef/jinjerscore