py010parser is a python library that can parse 010 templates. It is a modified fork of Eli Bendersky's pycparser project.
Sweetscape's 010 editor is a binary-format editor and parser. Many templates can be found online for most binary formats.
This project (py010parser) is an effort to make 010 scripts parseable from python, with the intent to build additional tools using py010parser, such as pfp, an 010 template interpreter.