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.
New BSD License