Skip to content
This repository was archived by the owner on Jul 26, 2026. It is now read-only.

gitpython-developers/gitdb

Repository files navigation

Archive Notice

The entire history of this repository is now contained in https://github.com/gitpython-developers/GitPython, where it is now maintained. For issues, please use its issue tracker as well.

GitDB

GitDB allows you to access bare git repositories for reading and writing. It aims at allowing full access to loose objects as well as packs with performance and scalability in mind. It operates exclusively on streams, allowing to handle large objects with a small memory footprint.

Installation

Latest Version Supported Python versions Documentation Status

From PyPI:

pip install gitdb

Speedups

If you want to go up to 20% faster, you can install gitdb-speedups with:

pip install gitdb-speedups

However, please note that gitdb-speedups is not currently maintained.

Requirements

  • smmap — declared as a dependency, automatically installed
  • pytest — for running the tests

Source

The source is available in a git repository on GitHub:

https://github.com/gitpython-developers/gitdb

Once the clone is complete, please be sure to initialize the submodule using:

cd gitdb
git submodule update --init

Run the tests with:

pytest

Development

Python package

The library is considered mature, and not under active development. Its primary (known) use is in GitPython.

Infrastructure

License

New BSD License

Releases

Packages

Used by

Contributors

Languages