llm-fragments-github
Load GitHub repository contents as fragments
Installation
Install this plugin in the same environment as LLM.
llm install llm-fragments-dir
Usage
Use -f dir:path/to/directory to recursively include every text file from the specified directory as a fragment. For example:
llm -f dir:/home/user/src/repo "Suggest new features for this tool"
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd llm-fragments-dir
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
llm install -e '.[test]'
To run the tests:
pytest .
Release files for llm-fragments-dir 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| llm_fragments_dir-0.1.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llm_fragments_dir-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.3 kB
Release files / llm_fragments_dir-0.1.tar.gz
| Download URL | llm_fragments_dir-0.1.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73d792ad98e60df053fcea641d9e7f7d829415aaaa9029ce22bed74590a4edb3
|
|
BLAKE2b-256 checksum How to use checksums |
491ecc4597e371d9a32c42ba132c48847051da1a16120f9cce07c1ebc64f4ee1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 7, 2025.
Transparency logRelease files / llm_fragments_dir-0.1-py3-none-any.whl
| Download URL | llm_fragments_dir-0.1-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95fe24487553b6fcd5ab1c6c438d9437dc0e958ddcb3a08d9e8c2c78ffa7149f
|
|
BLAKE2b-256 checksum How to use checksums |
d19a60907fddc4ed5efe5e65f956e76d3e1e02daddd90228fbb026d3d08dce05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 7, 2025.
Transparency log