pygit2
« Back to VersTracker
Description:
Bindings to the libgit2 shared library
Type: Formula  |  Latest Version: 1.19.0@0  |  Tracked Since: Oct 23, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: git bindings version-control python libgit2
Install: brew install pygit2
About:
pygit2 provides Python bindings for libgit2, a portable C library for the Git version control system. It enables developers to interact with Git repositories programmatically without requiring the Git command-line interface. This library offers high performance and fine-grained control over Git operations within Python applications.
Key Features:
  • High-performance C library bindings
  • Comprehensive API covering Git core features
  • No external Git binary dependency
  • Supports both reading and writing repositories
Use Cases:
  • Automating Git repository management tasks
  • Building custom Git tools and services
  • Integrating version control into Python applications
Alternatives:
  • GitPython – GitPython wraps the git command-line tool, while pygit2 uses libgit2 for direct library access and better performance
  • Dulwich – Dulwich is a pure Python implementation, while pygit2 provides bindings to a C library for faster execution
Version History
Detected Version Rev Change Commit
Oct 23, 2025 2:20pm 0 VERSION_BUMP 99ec3137
Jan 8, 2025 7:25pm 0 VERSION_BUMP e56c9c89
Jan 8, 2025 1:15pm 0 VERSION_BUMP 62409b35
Oct 11, 2024 9:30pm 0 VERSION_BUMP d4f804e5
Sep 11, 2024 12:16am 0 VERSION_BUMP ecd7ea3c
Jul 17, 2024 10:13am 0 VERSION_BUMP b7b0e45e
Nov 21, 2023 9:43am 0 VERSION_BUMP 94571b2c
Sep 25, 2023 12:38am 0 VERSION_BUMP 14f2c777
Sep 19, 2023 7:42pm 0 VERSION_BUMP 1c357177
Sep 7, 2023 8:20pm 0 VERSION_BUMP 3182362b
Sep 3, 2023 3:37am 1 VERSION_BUMP 0e703701
May 7, 2023 6:50pm 0 VERSION_BUMP 7bdcb891
Apr 9, 2023 9:11am 0 VERSION_BUMP 00a8d4b2
Apr 1, 2023 6:16pm 0 VERSION_BUMP 6619cd29