It's not very useful but merely a proof of concept. As it doesn't provide the python context any access to bash internals or even support passing it variables. This program is distributed in the hope ...
This is a plugin for GCC, which links against libpython, and (I hope) allows you to invoke arbitrary Python scripts from inside the compiler. The aim is to allow you to write GCC plugins in Python.