Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
64 lines (39 sloc) 1.61 KB


GitPython is a python library used to interact with git repositories, high-level like git-porcelain, or low-level like git-plumbing.

It provides abstractions of git objects for easy access of repository data, and additionally allows you to access the git repository more directly using either a pure python implementation, or the faster, but more resource intensive git command implementation.

The object database implementation is optimized for handling large quantities of objects and large datasets, which is achieved by using low-level structures and data streaming.


  • Git ( tested with )
  • Python Nose - used for running the tests
  • Mock by Michael Foord used for tests. Requires 0.5


If you have downloaded the source code:

python install

or if you want to obtain a copy more easily:

easy_install gitpython

A distribution package can be obtained for manual installation at:


GitPython's git repo is available on GitHub, which can be browsed at:

and cloned using:

git clone git:// git-python


The html-compiled documentation can be found at the following URL:



Issues are tracked on github:


New BSD License. See the LICENSE file.

Jump to Line
Something went wrong with that request. Please try again.