Overview / Install¶
GitPython is a python library used to interact with Git repositories.
GitPython is a port of the grit library in Ruby created by Tom Preston-Werner and Chris Wanstrath.
Installing GitPython is easily done using setuptools. Assuming it is installed, just run the following from the command-line:
# easy_install GitPython
This command will download the latest version of GitPython from the Python Package Index and install it to your system. More information about easy_install and pypi can be found here:
Alternatively, you can install from the distribution using the setup.py script:
# python setup.py install
GitPython’s git repo is available on Gitorious, which can be browsed at:
and cloned from:
GitPython is licensed under the New BSD License. See the LICENSE file for more information.