Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

promptify_ai-0.3.1.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

promptify_ai-0.3.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file promptify_ai-0.3.1.tar.gz.

File metadata

  • Download URL: promptify_ai-0.3.1.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for promptify_ai-0.3.1.tar.gz
Algorithm Hash digest
SHA256 10a19ba91e62d8dfcd64a62128aa3f5a5aaccdf1362dc0b6232966e709fcdcc6
MD5 4d75df7da7785c60b216ff013772f352
BLAKE2b-256 75ba937c1ce80f917a1ee377a59f5abccac2ea917b5ce6189c94adddc369852d

See more details on using hashes here.

Provenance

The following attestation bundles were made for promptify_ai-0.3.1.tar.gz:

Publisher: python-publish.yml on gianlucagiudice/promptify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file promptify_ai-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: promptify_ai-0.3.1-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

Hashes for promptify_ai-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b100230b783401a9e74462cdd0409c8f7c74e6650bdc3402061e2125676e4b36
MD5 d9f2254bdace08bab145014256981f39
BLAKE2b-256 ce305d89ac5ee3169a2602033e0d993807fa078899e31933d15a08689a3bb5b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for promptify_ai-0.3.1-py3-none-any.whl:

Publisher: python-publish.yml on gianlucagiudice/promptify

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page