pygit2

Install command:
brew install pygit2

Bindings to the libgit2 shared library

https://github.com/libgit2/pygit2

License: GPL-2.0-only WITH GCC-exception-2.0

Formula JSON API: /api/formula/pygit2.json

Formula code: pygit2.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sequoia
sonoma
ventura
monterey
Intel sonoma
ventura
monterey
64-bit linux

Current versions:

stable 1.15.1
head ⚡️ HEAD

Depends on:

cffi 1.17.1 C Foreign Function Interface for Python
libgit2 1.8.1 C library of Git core methods that is re-entrant and linkable

Depends on when building from source:

python-setuptools 75.1.0 Easily download, build, install, upgrade, and uninstall Python packages
python@3.11 3.11.10 Interpreted, interactive, object-oriented programming language
python@3.12 3.12.7 Interpreted, interactive, object-oriented programming language

Analytics:

Installs (30 days)
pygit2 298
Installs on Request (30 days)
pygit2 197
Build Errors (30 days)
pygit2 0
Installs (90 days)
pygit2 1,154
pygit2 --HEAD 1
Installs on Request (90 days)
pygit2 793
pygit2 --HEAD 1
Installs (365 days)
pygit2 6,162
pygit2 --HEAD 3
Installs on Request (365 days)
pygit2 3,185
pygit2 --HEAD 3
Fork me on GitHub