GitPython looks useful. But it also seems that including it with the project would just move the problem, since it depends on GitDB. Ultimately, I think we always end up having the choice between declaring something an external dependency (and potentially making the installation of some apps dependent on it) and bloating our project with tons of included dependencies.