Gather files into a single prompt for LLM consumption
Project description
🪄 promptify
Gather your codebase into a single, LLM-ready prompt in seconds!
Install with:
pip install promptify-ai
promptify is a command-line tool that collects files from your project into a single prompt file. With one command you can include your whole codebase or selected files with clear headers.
How to Use
# Collect files from 'myapp/' and output to 'llm_context.txt'
promptify -s myapp -o llm_context.txt -p '*.md' '*.js' -e 'docs'
# Include files under 'app/src' and add a project tree from 'app' (the default
# tree is generated from the current directory)
promptify -s app/src -o prompt.llm -t app
# See all available options
promptify -h
Features
- Combine your project or chosen files using patterns
- Exclude files or directories as needed
- Adds file headers and an optional project tree
- Copies results to your clipboard
How it Works
- Recursively scans directories for your patterns
- Concatenates files with clear boundaries
- Optionally saves to a file and copies the prompt
License
MIT License.
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
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 promptify_ai-0.3.0.tar.gz.
File metadata
- Download URL: promptify_ai-0.3.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32426ea4f6414715d1b3795a77f72b719a67d395922bc6015aa305c17be0dd57
|
|
| MD5 |
12145dcd2b1fee9748e79f3c2211a34a
|
|
| BLAKE2b-256 |
5e4dcc1413ac60f5d94f57d2b8133d32a09af2b9c3cc33b5c92b1fe4fa72743b
|
Provenance
The following attestation bundles were made for promptify_ai-0.3.0.tar.gz:
Publisher:
python-publish.yml on gianlucagiudice/promptify
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
promptify_ai-0.3.0.tar.gz -
Subject digest:
32426ea4f6414715d1b3795a77f72b719a67d395922bc6015aa305c17be0dd57 - Sigstore transparency entry: 295561455
- Sigstore integration time:
-
Permalink:
gianlucagiudice/promptify@b2922959cddb307703af99666179310d0ad84fc6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/gianlucagiudice
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b2922959cddb307703af99666179310d0ad84fc6 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file promptify_ai-0.3.0-py3-none-any.whl.
File metadata
- Download URL: promptify_ai-0.3.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0f0327e9a0d6eb3f636d437832dc73a0b73022bad4d4b56aa40289d7174e8a2
|
|
| MD5 |
ac832b1f59f87e05f3ce7ee778375ef1
|
|
| BLAKE2b-256 |
5282629b68771a5fedb46edd15ccc9ba9d2c848326f6ef56e4749fedbe1d298b
|
Provenance
The following attestation bundles were made for promptify_ai-0.3.0-py3-none-any.whl:
Publisher:
python-publish.yml on gianlucagiudice/promptify
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
promptify_ai-0.3.0-py3-none-any.whl -
Subject digest:
e0f0327e9a0d6eb3f636d437832dc73a0b73022bad4d4b56aa40289d7174e8a2 - Sigstore transparency entry: 295561457
- Sigstore integration time:
-
Permalink:
gianlucagiudice/promptify@b2922959cddb307703af99666179310d0ad84fc6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/gianlucagiudice
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b2922959cddb307703af99666179310d0ad84fc6 -
Trigger Event:
workflow_run
-
Statement type: