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.7.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.7.0
File Size Uploaded Provenance Actions
promptjuggler-1.7.0.tar.gz 48.5 kB With provenance Details for promptjuggler-1.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 162.8 kB

Release files / promptjuggler-1.7.0.tar.gz

Download URL promptjuggler-1.7.0.tar.gz
Size 48.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4edfc8adf4f0f77d4799977b32d4fab7aa39e03e55018e5a60c19442013ee6e6
BLAKE2b-256 checksum
How to use checksums
3dadebf55a19ada961e8f6ed7ae5b5c97a5de2f687f402dbb82ddc1f23510f16
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 15, 2026.

Transparency log

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

Download URL promptjuggler-1.7.0-py3-none-any.whl
Size 114.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c60da6498f6400b1c3ed223869d8ef62f017a4c8800c29bcb8e7261d3f7de1ff
BLAKE2b-256 checksum
How to use checksums
f5df489093f6aa29ffb9ad84cc1865dfe85dab5f932f742331e082cda6ffff2d
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 15, 2026.

Transparency log

Security for promptjuggler 1.7.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.7.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 15, 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