Have you heard of kallithea [1]? Not sure if it be what you want though because it also supports mercurial (and uses it for its development). But iirc, it's written in python.
Thank you.
But I would like it all integrated nicely with the git web interface.