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
Intel sonoma
ventura
64-bit linux

Current versions:

stable 1.17.0
head ⚡️ HEAD

Depends on:

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

Depends on when building from source:

python@3.12 3.12.8 Interpreted, interactive, object-oriented programming language
python@3.13 3.13.1 Interpreted, interactive, object-oriented programming language

Analytics:

Installs (30 days)
pygit2 664
Installs on Request (30 days)
pygit2 262
Build Errors (30 days)
pygit2 0
Installs (90 days)
pygit2 1,079
Installs on Request (90 days)
pygit2 618
Installs (365 days)
pygit2 4,955
pygit2 --HEAD 3
Installs on Request (365 days)
pygit2 3,039
pygit2 --HEAD 3
Fork me on GitHub