pygit2
Python bindings for libgit2 to programmatically interact with Git repositories.
3. Used by agents' projects
Dependency in 0 public GitHub projects set up for AI coding agents that we scanned (0.0%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What pygit2 does
Python bindings for libgit2 to programmatically interact with Git repositories.
pygit2 popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How pygit2 is used
- pygit2 joined the catalog on its public numbers (1,138,809 downloads a week on PyPI and 1,737 GitHub stars), not on our project count: it is a dependency in 6 public GitHub projects of our scan, 0 of them set up for AI coding agents.
- The most used alternative in our scan is GitPython (30 projects).
- Projects that use it most often also use aiohttp (100.0%), AnyIO (100.0%), attrs (100.0%).
Often used with
More about pygit2
Funding
- GitHub Sponsors: https://github.com/jdavid
- 2 GitHub sponsors
More in Dev workflow and config
Alternatives
pygit2 This page
Python library for interacting with Git repositories programmatically.
Get started
Install it.
pip install pygit2No step-by-step start for pygit2 yet: we have not written its hand-checked card.