Registry / devops / gitingest

gitingest

JSON →
library0.3.1pypypiunverified

CLI tool to analyze and create text dumps of codebases for LLMs. Current version 0.3.1, release cadence irregular.

pip install gitingest
INSTALL
IMPORT
SIG · GITINGEST
G
gitingest
devopspythonv0.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Analyze a local codebase and get a summary, directory tree, and file contents.

from gitingest import analyze # Analyze a local directory summary, tree, content = analyze(".", include_patterns=["*.py"], exclude_patterns=["__pycache__"]) print(summary) print(tree) print(content[:500])
gitingest --version
Debug
Known issues
gotchaThe library is very new (v0.3.1) and API may change without notice. Avoid pinning to an exact version in production until stable.
fix
Use version pinning with `gitingest>=0.3.1,<0.4.0` and monitor releases.
affects: <1.0.0
gotchaThe `analyze` function returns a tuple of three strings: (summary, tree, content). Content can be extremely large for big codebases, causing memory issues.
fix
Limit scope with `include_patterns` and `exclude_patterns` to reduce output size.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'gitingest'
Library not installed or installed in the wrong environment.
fix
Run `pip install gitingest` in the correct virtual environment.
RecursionError: maximum recursion depth exceeded
Symlinks or deeply nested directories in the target path causing infinite recursion.
fix
Use `exclude_patterns` to ignore problematic directories or provide a shallower path.
Upgrade
Version history
0.3.1latest on PyPI · released Jul 31, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
Amazon
1
OpenAI (training)
1
Resources
gitingest — pip install gitingest · libregistry