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.
From PyPI:
pip install gitdb
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.
- smmap - declared as a dependency, automatically installed
- pytest - for running the tests
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
The library is considered mature, and not under active development. Its primary (known) use is in GitPython.
- Issue Tracker
New BSD License

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
