Repository navigation
gitdb
Directory actions
More options
Directory actions
More options
Latest commit
History
History
View commit history for this file.
gitdb
Folders and files
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
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 the GitPython repository on GitHub:
https://github.com/gitpython-developers/GitPython/tree/main/gitdb
Tests require Git and Bash. Each test class gets a temporary repository generated
from scratch with packed and loose objects; no source checkout history is needed.
Run the tests with:
pytest
DEVELOPMENT
The library is considered mature, and not under active development. Its primary (known) use is in GitPython.
INFRASTRUCTURE
- Discussions
-
- Issue Tracker
-
LICENSE
New BSD License