Comparison
GitPython vs pygit2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Comparison
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python bindings for libgit2.
Actively maintained. Last release 4 weeks ago, commits in 16 of the last 26 weeks. A safe choice.
pip install pygit2| Metric | GitPython | pygit2 |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 94 | Pythie’s Index: 85 |
| Verdict | Actively maintained | Actively maintained |
| Downloads / month | 146.6M | 4.9M |
| Downloads, month over month | -2% | -3% |
| GitHub stars | 5.2K | 1.7K |
| Stars, last 7 days | – | – |
| Direct dependents | 4.5K | 271 |
| Last release | Oct 14, 2026 | Nov 4, 2026 |
| Releases, 12 months | 19 | 6 |
| Weeks with commits | 24 / 26 | 16 / 26 |
| Recent contributors | 8 | 12 |
| First release | Mar 2010 | Feb 2012 |
| Python versions | 3.8 – 3.15 | 3.11 – 3.15 |
| License | BSD-3-Clause | non-standard |
| Known vulnerabilities | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.