Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Git Implementations and Bindings in Python

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

There are multiple Git implementations/bindings in Python: pygit2, Dulwich and GitPython .

Below is a simple comparison of the 3 packages.

pygit2dulwichGitPython
StatusActiveActiveMaintenance mode
Implementationbindings to libgit2pure Pythonbindings to the git command
LicenseGPLv2Apache, GPLv2BSD 3
Featurecompleteincompletecomplete

Overall, dulwich is recommended.

References