A simple tool to gather source code from a local repo or folder into a single file for LLM context windows.
Project description
gitgather
To install gitgather, run the following command:
pip install gitgather
$ gitgather --help
usage: gitgather [-h] [--no-git] [--all] [--no-dotfiles] [-v] [--include INCLUDE] [--exclude EXCLUDE] repo_path output_file
Concatenate git repository files for LLM context analysis.
positional arguments:
repo_path Path to the git repository
output_file Output file path
options:
-h, --help show this help message and exit
--no-git Include all files, not just those tracked by git
--all Include all files, including hidden ones (overrides --no-dotfiles)
--no-dotfiles Exclude dotfiles
-v, --verbose Enable verbose output
--include INCLUDE Include files matching these patterns
--exclude EXCLUDE Exclude files matching these patterns
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gitgather-0.0.2.tar.gz
(11.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gitgather-0.0.2.tar.gz.
File metadata
- Download URL: gitgather-0.0.2.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f97fa5fd16990b5d97eb4b390704b304f79af00dbd6a6b2794cb834da13679e6
|
|
| MD5 |
799e2d5af3c1da9d83291f73a07fff75
|
|
| BLAKE2b-256 |
9dc282be26a802ec51045e26158fb3b3127ff43b5584828ad0527ed39a217916
|
File details
Details for the file gitgather-0.0.2-py3-none-any.whl.
File metadata
- Download URL: gitgather-0.0.2-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2f1922426a433f9aed1ff63a2e80a353a9d32b2bf5d5ee3e645eae0307889a5
|
|
| MD5 |
dc682436610a6e0eb33cf92d1638fe93
|
|
| BLAKE2b-256 |
d2b0add33025ba5e75ef6d9a83252a86658827e9818c4fdd70dda9dc683fb696
|