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