Skip to main content

PromptJuggler Python SDK

The official Python client for the PromptJuggler API. Run prompts and workflows, manage knowledge bases, and verify webhooks — with pydantic-typed models and flat, synchronous methods.

Requirements

  • Python 3.10+

Installation

pip install promptjuggler

Usage

from promptjuggler import PromptJuggler, RunStatus

pj = PromptJuggler("your-api-key")

# Trigger a run (async — returns the run ID)
created = pj.run_prompt("greeting", "production", {"name": "Ada"})

# Poll for the result
run = pj.get_prompt_run(created.id)
if run.status == RunStatus.COMPLETED:
    print(run.output)

Errors surface as ApiError (with a status_code), NetworkError (no response), or DecodeError (an undecodable success body), all subclasses of PromptJugglerError. Verify incoming webhooks with verify_webhook_signature().

Documentation

Full guides and the API reference: https://docs.promptjuggler.com/sdks/python/overview

License

MIT

Metadata

Release files for promptjuggler 1.5.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 promptjuggler 1.5.0
File Size Uploaded Provenance Actions
promptjuggler-1.5.0.tar.gz 48.4 kB With provenance Details for promptjuggler-1.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 162.7 kB

Release files / promptjuggler-1.5.0.tar.gz

Download URL promptjuggler-1.5.0.tar.gz
Size 48.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9d1280683944739eb53d08afbcd9b4737efc8783bd721eedb5d080d3432c3a0a
BLAKE2b-256 checksum
How to use checksums
19d4573074fd7b302ebfa54ea105eaacde0117bfb05f91dd95ccc027fa48203a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / promptjuggler-1.5.0-py3-none-any.whl

Download URL promptjuggler-1.5.0-py3-none-any.whl
Size 114.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87004df58ee44a06d47cb14d427c3e5ef902d621ac69aeaf5ff1bec05cc90572
BLAKE2b-256 checksum
How to use checksums
a0d5a9bcf5abd53c7ff63d9e983632faf14dd0c2232fae02fb5db96ea367ff8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Security for promptjuggler 1.5.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for promptjuggler-1.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

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.

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