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 22.214.171.124 )
- 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 setup.py install
or if you want to obtain a copy more easily:
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://github.com/gitpython-developers/GitPython.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.