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+.
Metadata
Release files for prompd 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| prompd-0.3.4.tar.gz | 186.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| prompd-0.3.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 381.8 kB
Release files / prompd-0.3.4.tar.gz
| Download URL | prompd-0.3.4.tar.gz |
|---|---|
| Size | 186.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e5dc3c057616a39879d7e391d05d02efdd107e87aee85660792b2d4fe9848bc
|
|
BLAKE2b-256 checksum How to use checksums |
db972a33cde9c18ddf0c753fab90e1f6958c14b3cae11014c1c3fde87d31578b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.3
|
Release files / prompd-0.3.4-py3-none-any.whl
| Download URL | prompd-0.3.4-py3-none-any.whl |
|---|---|
| Size | 195.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e5230c76e52af78cdcb9dad671c08f79fe5a2e5ada500d8b1380539d17d830c
|
|
BLAKE2b-256 checksum How to use checksums |
3a7395bfafc51091b4dd7cf1d97a90f7fa7d267e10d3344967666f621a9c6357
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.3
|
Security for prompd 0.3.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.