Skip to main content

jps-llm-prompt-app

Build Publish to PyPI codecov

A lightweight command-line application for interactively browsing, filtering, and selecting prompts for Large Language Models (LLMs).
Built using Prompt Toolkit for a responsive, modern CLI experience with incremental search and auto-completion.


🚀 Overview

jps-llm-prompt-app streamlines prompt selection for developers who frequently interact with LLMs (e.g., ChatGPT, Claude, Gemini, local models).

Key goals:

  • Maintain a curated catalog of reusable prompts (e.g., coding requests, refactoring templates, testing prompts).
  • Search prompts interactively by keyword as you type.
  • Narrow the menu dynamically using fuzzy/incremental search.
  • Select a prompt and either:
    • print it to stdout,
    • copy to clipboard (optional feature),
    • or pass it directly to another tool.

Ideal for engineers who reuse structured prompts or maintain prompt libraries.


✨ Features

✅ Interactive Prompt Navigator

  • Incremental search while typing
  • Auto-completion based on available prompts
  • Keyboard-driven navigation (arrows, tab completion, enter to select)

✅ Flexible Prompt Catalog

  • Load prompts from:
    • built-in prompt sets
    • user-defined YAML/JSON files
    • additional plugin directories (future enhancement)

✅ CLI Tools

  • jps-llm-prompt-app → interactive interface
  • Options for outputting or piping selected prompts
  • Rich text preview before selection

🔧 Extensible Architecture

  • Clean separation of:
    • prompt data source manager
    • search engine
    • UI components (Prompt Toolkit-based)
  • Easily integrate with wrappers for API clients or shell workflows

📘 Example Usage

Start the interactive prompt selector:

jps-llm-prompt-app

Search Behavior

As you type:

  • Prompts are dynamically filtered
  • Matching text is highlighted
  • You may select using ↑/↓ and press Enter

📦 Installation

Install locally for development:

make install

Or via pip (after PyPI publish):

pip install jps-llm-prompt-app

🧪 Development

make fix && make format && make lint
make test

To run the app directly during development:

python -m jps_llm_prompt_app

📜 License

MIT License © Jaideep Sundaram

Metadata

Release files for jps-llm-prompt-app 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jps-llm-prompt-app 0.1.0
File Size Uploaded
jps_llm_prompt_app-0.1.0.tar.gz 10.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jps-llm-prompt-app 0.1.0
File Interpreter ABI Platform
jps_llm_prompt_app-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.6 kB

Release files / jps_llm_prompt_app-0.1.0.tar.gz

Download URL jps_llm_prompt_app-0.1.0.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
dfb258805ad4d5a8889621fd1ce1d019d02d29fca534de7e54b09041d8aeb6e6
BLAKE2b-256 checksum
How to use checksums
e936cfc0041885e125d492563d7953a92935b3412dca82324716576db739f7e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / jps_llm_prompt_app-0.1.0-py3-none-any.whl

Download URL jps_llm_prompt_app-0.1.0-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4343171d68d975669b82aacf689d5e85bf8b092c95b91a5225c5302aacfd4bd5
BLAKE2b-256 checksum
How to use checksums
0c24cdcc4c6c5b8453438b0d236e213ea9d99833cec1a75f1cf3f99bda49654f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page