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.0.tar.gz (6.5 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.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

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

Hashes for promptify_ai-0.3.0.tar.gz
Algorithm Hash digest
SHA256 32426ea4f6414715d1b3795a77f72b719a67d395922bc6015aa305c17be0dd57
MD5 12145dcd2b1fee9748e79f3c2211a34a
BLAKE2b-256 5e4dcc1413ac60f5d94f57d2b8133d32a09af2b9c3cc33b5c92b1fe4fa72743b

See more details on using hashes here.

Provenance

The following attestation bundles were made for promptify_ai-0.3.0.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.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

Hashes for promptify_ai-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0f0327e9a0d6eb3f636d437832dc73a0b73022bad4d4b56aa40289d7174e8a2
MD5 ac832b1f59f87e05f3ce7ee778375ef1
BLAKE2b-256 5282629b68771a5fedb46edd15ccc9ba9d2c848326f6ef56e4749fedbe1d298b

See more details on using hashes here.

Provenance

The following attestation bundles were made for promptify_ai-0.3.0-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