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.16.0
head ⚡️ HEAD

Depends on:

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

Depends on when building from source:

python@3.12 3.12.7 Interpreted, interactive, object-oriented programming language
python@3.13 3.13.0 Interpreted, interactive, object-oriented programming language

Analytics:

Installs (30 days)
pygit2 250
Installs on Request (30 days)
pygit2 226
Build Errors (30 days)
pygit2 0
Installs (90 days)
pygit2 973
pygit2 --HEAD 1
Installs on Request (90 days)
pygit2 734
pygit2 --HEAD 1
Installs (365 days)
pygit2 5,579
pygit2 --HEAD 3
Installs on Request (365 days)
pygit2 3,149
pygit2 --HEAD 3
Fork me on GitHub