Comparison
dulwich vs GitPython vs pygit2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python Git Library
Actively maintained. Last release 5 days ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install dulwichGitPython is a Python library used to interact with Git repositories
Actively maintained. Last release 7 weeks ago, commits in 24 of the last 26 weeks. A safe choice.
$
pip install gitpythonPython bindings for libgit2.
Actively maintained. Last release 4 weeks ago, commits in 16 of the last 26 weeks. A safe choice.
$
pip install pygit2In short
- GitPython is the most used: 146.6M downloads a month, 2.7× more than dulwich.
- Maintenance is comparable: GitPython 94, dulwich 87, pygit2 85 on Pythie’s Index.
- Safe default for a new project: GitPython.