gitdb2
A mirror package for gitdb
Decision gist · record as of 2026-08-14
No, unless you are maintaining legacy code that explicitly depends on gitdb2. The package is abandoned (last release 2020-02-23, repository archived), has unclear licensing, and its functionality is now maintained within GitPython. New projects should use GitPython directly. The high download count reflects its role as a transitive dependency rather than direct adoption.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a bare git repository on the filesystem to operate on; not a standalone tool for creating or initializing repositories.
- Low install friction with a single runtime dependency (gitdb).
- However, the package is abandoned—last release was 2020-02-23 and the repository is archived.
License · maintenance · safety
(unclear) — License treatment is unclear; no SPDX identifier or raw license text is available in the metadata, making it difficult to assess licensing obligations before use.
last release 2020-02-23 (2364 days) · last repo commit 2026-07-26 · 227 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 736,370 downloads/mo, #5,193 on PyPI
Alternatives
Verify before relying
pip install gitdb2
import gitdb
# Access a bare repository
repo = gitdb.GitDB('/path/to/bare/repo.git')- Whether gitdb2 is a maintained mirror or a deprecated fork; the summary states 'mirror package' but the relationship to the original gitdb is unclear.
- Actual license terms, since license_treatment is unclear and no SPDX or raw text is provided.
- Python version compatibility, as requires_python is empty and python_support is unspecified.
What it is and what it does
GitDB is a low-level library for direct access to bare git repositories. It allows you to read and write git objects (both loose objects and packs) with a focus on performance and memory efficiency by operating exclusively on streams. This means large objects can be handled without loading them entirely into memory.
The package is mature but no longer under active development; its primary use is as a dependency within GitPython. The repository is now archived, and the entire history has been folded into the GitPython project. If you need git repository access, you are more likely to use GitPython directly rather than gitdb2 as a standalone tool.
Use it for
- Building tools that need direct, efficient access to git object storage in bare repositories.
- Implementing custom git operations that require stream-based reading of large pack files or loose objects.
- Integrating git repository inspection into applications where memory footprint must be minimized.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are maintaining legacy code that explicitly depends on gitdb2.
The package is abandoned (last release 2020-02-23, repository archived), has unclear licensing, and its functionality is now maintained within GitPython. New projects should use GitPython directly. The high download count reflects its role as a transitive dependency rather than direct adoption.
Install
gitdb2 on PyPI
Before you install
Low install friction with a single runtime dependency (gitdb). However, the package is abandoned—last release was 2020-02-23 and the repository is archived. It is primarily maintained as a mirror; active development has moved to GitPython.
Requires a bare git repository on the filesystem to operate on; not a standalone tool for creating or initializing repositories.
License in practice
License treatment is unclear; no SPDX identifier or raw license text is available in the metadata, making it difficult to assess licensing obligations before use.
Quickstart
pip install gitdb2
import gitdb
# Access a bare repository
repo = gitdb.GitDB('/path/to/bare/repo.git')
Verify before relying
- Whether gitdb2 is a maintained mirror or a deprecated fork; the summary states 'mirror package' but the relationship to the original gitdb is unclear.
- Actual license terms, since license_treatment is unclear and no SPDX or raw text is provided.
- Python version compatibility, as requires_python is empty and python_support is unspecified.
Package facts
| License | Not declared unclear |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagegitdb |
| Maintenance | Abandoned 2,364 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 736,370 / month, #5,193 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: gitdb2-4.0.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “git repository access”
- gitdb2Provides low-level read and write access to bare git repositories,…
- gitdbGitDB provides low-level read and write access to bare git…
- pygit2pygit2 provides Python bindings to libgit2, enabling direct…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also gitdb · GitPython · smmap2 · scmrepo · dulwich · PyDriller · winrt-Windows.Storage.Streams · apache-airflow-providers-git · ar · base64io