--- id: gitdb2 version: "4.0.2" license: unclear license_treatment: unclear maintenance: abandoned --- # gitdb2 — A mirror package for gitdb License: unclear · Maintenance: abandoned · Downloads: 736.4K/mo ## 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 above — verify before relying. Provides low-level read and write access to bare git repositories, operating on streams to handle large objects efficiently with minimal memory overhead. 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 pip install gitdb2 uv add gitdb2 poetry add gitdb2 ## Installing gitdb2 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. 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') Requires a bare git repository on the filesystem to operate on; not a standalone tool for creating or initializing repositories. 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: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 736.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags git repository access, bare git object storage, git pack reading, stream-based git operations, git loose objects, git database access, git-internals, archived [View on SkillFed](https://skillfed.io/packages/gitdb2) · [View on PyPI](https://pypi.org/project/gitdb2/)