Skip to main content

promptfork

Git for prompts. Cross-model regression testing CLI.

Install

pip install promptfork

Quick start

export PROMPTFORK_API_KEY=pf_xxxxx

# 1. Init a prompt + first version from a file
promptfork push summarize_ticket --file prompts/summarize.txt --message "initial"

# 2. Add a test case
promptfork add-test summarize_ticket angry_refund \
  --input ticket="I want my money back!" \
  --rubric "must mention refund"

# 3. Run across models
promptfork test summarize_ticket

# 4. Compare against a baseline version (regression check)
promptfork test summarize_ticket --baseline 1

Exits non-zero on regression — drop it into CI.

Config

PROMPTFORK_API_KEY — your account key from https://promptfork.online/dashboard PROMPTFORK_API_BASE — defaults to https://promptfork.online

License

MIT.

Metadata

Release files for promptfork 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 promptfork 0.1.0
File Size Uploaded Provenance Actions
promptfork-0.1.0.tar.gz 3.9 kB Without provenance Details for promptfork-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for promptfork 0.1.0
File Interpreter ABI Platform Actions
promptfork-0.1.0-py3-none-any.whl Python 3 none any Details for promptfork-0.1.0-py3-none-any.whl

Total release size: 8.3 kB

Release files / promptfork-0.1.0.tar.gz

Download URL promptfork-0.1.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2bf60a2c21c67f0923d6dd4f9bb52dc79ca4b7080eeb8108f24e6f2d8098deb6
BLAKE2b-256 checksum
How to use checksums
ea37ccff9ff9e0517d6fbccd40592decd3d2b031abdb521162c74bab5bb5db83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

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

Download URL promptfork-0.1.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52506df28cf9d4c9ad3167aa9fe19b282256a2859378d74020538f23a6af9c0c
BLAKE2b-256 checksum
How to use checksums
766caf3ca2a3371097667b11a37e3813888cb93ca79a47046a06da47040ada59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Security for promptfork 0.1.0

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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