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). Verify incoming webhooks with verify_webhook_signature().

Documentation

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

License

MIT

Release files for promptjuggler 1.3.1

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.3.1
File Size Uploaded
promptjuggler-1.3.1.tar.gz 46.7 kB Details

Built distribution (wheel)

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

Total release size: 159.8 kB

Release files / promptjuggler-1.3.1.tar.gz

Download URL promptjuggler-1.3.1.tar.gz
Size 46.7 kB
Tags Source
SHA-256 checksum
How to use checksums
bb7d0ee1a29651eb769dd01fe88f3d18becf2ca7275a3d27bbf9e3135e723d14
BLAKE2b-256 checksum
How to use checksums
2e953b9972fd275efc95363bbdf2ab37daf72e9f14ebbb727be946c80e1aa5fd
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 Jul 30, 2026.

Transparency log

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

Download URL promptjuggler-1.3.1-py3-none-any.whl
Size 113.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1aa6e18d7020add6dc8c802ddf99d356171dc9f897505469914d51db699c0394
BLAKE2b-256 checksum
How to use checksums
e44414031cf37701b0a795c4a856b6014eedf3e073acc6ce430d0011a55bdada
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 Jul 30, 2026.

Transparency log

Release history Release notifications | RSS feed

1.3.2

2 release files

This release

1.3.1 This release

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.0

2 release files

0.1.0

2 release files

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