Skip to main content

GitPython is a python library used to interact with Git repositories.

GitPython provides object model read and write access to your git repository. Access repository information conveniently, alter the index directly, handle remotes, or go down to low-level object database access with big-files support.

With the new object database abstraction added in 0.3, its even possible to implement your own storage mechanisms, the currently available implementations are ‘cgit’ and pure python, which is the default.

Documentation

The latest documentation can be found here:

http://gitpython.readthedocs.org

Installation

As this version of GitPython depends on GitDB, which in turn needs smmap to work, installation is a bit more involved if you do a manual installation, instead of using pip.

Please have a look at the respective section in the docs for more information.

Live Coding

You can watch me fix issues or implement new features live on Twitch, or have a look at past recordings on youtube

Questions and Answers

http://stackexchange.com/filters/167317/gitpython

Issue Tracker

https://github.com/gitpython-developers/GitPython/issues

Metadata

Release files for GitPython 2.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for GitPython 2.0.2
File Size Uploaded Provenance Actions
GitPython-2.0.2.tar.gz 402.4 kB Without provenance Details for GitPython-2.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for GitPython 2.0.2
File Interpreter ABI Platform Actions
GitPython-2.0.2-py2.py3-none-any.whl Python 3, Python 2 none any Details for GitPython-2.0.2-py2.py3-none-any.whl

Total release size: 828.1 kB

Release files / GitPython-2.0.2.tar.gz

Download URL GitPython-2.0.2.tar.gz
Size 402.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d168fe7bd585757dd9f54708b065c07fd85597923513041f8c192135441004a1
BLAKE2b-256 checksum
How to use checksums
bd2b61086a6b73e5255d2e6f07807ec6974e2f485d22183671c86c2c2064624b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / GitPython-2.0.2-py2.py3-none-any.whl

Download URL GitPython-2.0.2-py2.py3-none-any.whl
Size 425.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
bfe6cf832e997456511078ad3c7416367c6b195e23bda4a3dbd277875bccce63
BLAKE2b-256 checksum
How to use checksums
9f4ec27ecaa02b1c6b6064c8c949d9203714fa228d127faf1b8e21f4759a5e89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for GitPython 2.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

2.1.2

This release

2.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page