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.11.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.11.0
File Size Uploaded Provenance Actions
promptjuggler-1.11.0.tar.gz 49.6 kB With provenance Details for promptjuggler-1.11.0.tar.gz

Built distribution (wheel)

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

Total release size: 164.2 kB

Release files / promptjuggler-1.11.0.tar.gz

Download URL promptjuggler-1.11.0.tar.gz
Size 49.6 kB
Tags Source
SHA-256 checksum
How to use checksums
03023163627776d859c3af1834eafa841159e8999949003892f9910bff2f6d6b
BLAKE2b-256 checksum
How to use checksums
313352c92d96fbb8ef8fb49c8714e0b6e86bc3ba256524248d256d1ada960d1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 20, 2026.

Transparency log

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

Download URL promptjuggler-1.11.0-py3-none-any.whl
Size 114.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab66f809a868c6fff2c0b40f7d4652c3dce0ceb01e500170842068c3c0abf3f8
BLAKE2b-256 checksum
How to use checksums
631c724e127b0070f3c13c68e707fb78adf0fcf8b944f206d6b73e42f77cc81b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 20, 2026.

Transparency log

Security for promptjuggler 1.11.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.11.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 Nov 20, 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