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.10.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.10.0
File Size Uploaded Provenance Actions
promptjuggler-1.10.0.tar.gz 49.5 kB With provenance Details for promptjuggler-1.10.0.tar.gz

Built distribution (wheel)

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

Total release size: 164.1 kB

Release files / promptjuggler-1.10.0.tar.gz

Download URL promptjuggler-1.10.0.tar.gz
Size 49.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7b7b1b1a5963613c07bd31ecad4f1841c2f42df24fef830a7203d1c8cfbb6ba4
BLAKE2b-256 checksum
How to use checksums
d5f5568509fb44cba529b129b1f350d02169bd48895b4b5f2c4c73e450c95606
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 17, 2026.

Transparency log

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

Download URL promptjuggler-1.10.0-py3-none-any.whl
Size 114.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b4082cda19cdec8bdd748d2b5bf8477faf55fb324a091b3d6908e3e86e0f6da
BLAKE2b-256 checksum
How to use checksums
37e65ed3c14264755aeb839ffd2e7f9f662213ca8359e126eb01a5fb2b02352c
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 17, 2026.

Transparency log

Security for promptjuggler 1.10.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.10.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 17, 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