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 1.7.3.2 )
- 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:
easy_install gitpython
A distribution package can be obtained for manual installation at:
http://pypi.python.org/pypi/GitPython
GitPython's git repo is available on GitHub, which can be browsed at:
https://github.com/gitpython-developers/GitPython
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:
http://packages.python.org/GitPython/
http://groups.google.com/group/git-python
Issues are tracked on github:
https://github.com/gitpython-developers/GitPython/issues
New BSD License. See the LICENSE file.