Structured prompt management CLI with universal LLM provider support, version control, and git integration
Project description
Prompd Python CLI
This is the Python implementation of the Prompd CLI with rich features and LLM provider integrations.
Features
- Full LLM provider support (OpenAI, Anthropic, Ollama, etc.)
- Rich terminal output with colors and formatting
- Advanced validation and error reporting
- Git integration for version control
- Template engine with Jinja2
- Configuration management
Installation
cd cli/prompd/python
pip install -e .
Usage
# Validate a .prmd file
prompd validate example.prmd
# List available files
prompd list prompts/
# Show file structure
prompd show example.prmd
# Execute with LLM
prompd execute example.prmd --provider openai --model gpt-4 -p name=Alice
# Provider management
prompd provider list
prompd provider add custom-llm http://localhost:8080/v1 model1 model2
# Git operations
prompd git status
prompd git commit -m "Update prompts"
# Version management
prompd version bump example.prmd minor
prompd version history example.prmd
Dependencies
See pyproject.toml for full dependency list. Requires Python 3.8+.
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
prompd-0.3.4.tar.gz
(186.3 kB
view details)
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
prompd-0.3.4-py3-none-any.whl
(195.5 kB
view details)
File details
Details for the file prompd-0.3.4.tar.gz.
File metadata
- Download URL: prompd-0.3.4.tar.gz
- Upload date:
- Size: 186.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e5dc3c057616a39879d7e391d05d02efdd107e87aee85660792b2d4fe9848bc
|
|
| MD5 |
22c16e19eef074e3584d3e7232c93c1f
|
|
| BLAKE2b-256 |
db972a33cde9c18ddf0c753fab90e1f6958c14b3cae11014c1c3fde87d31578b
|
File details
Details for the file prompd-0.3.4-py3-none-any.whl.
File metadata
- Download URL: prompd-0.3.4-py3-none-any.whl
- Upload date:
- Size: 195.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e5230c76e52af78cdcb9dad671c08f79fe5a2e5ada500d8b1380539d17d830c
|
|
| MD5 |
7f726a25ce4b9c29727ff9c437a3356e
|
|
| BLAKE2b-256 |
3a7395bfafc51091b4dd7cf1d97a90f7fa7d267e10d3344967666f621a9c6357
|