Skip to content

Releases: posthook/posthook-python

v1.2.0

16 Mar 18:24

Choose a tag to compare

What's new

  • WebSocket listener: listen() and stream() APIs for real-time hook delivery via persistent WebSocket connection
  • Result type: Shared ack/accept/nack pattern across HTTP and WebSocket handlers
  • ASGI/WSGI handlers: Handler wrappers with automatic signature verification and Result dispatch
  • SSL compatibility: certifi-backed SSL context for websockets library
  • HTTP fallback: Automatic fallback to HTTP delivery when no listener is connected

See the README for usage examples.

v1.1.0

05 Mar 22:13

Choose a tag to compare

What's New

  • Async hooks support: ack() and nack() callbacks for long-running webhook processing
  • See the Async Hooks guide for details

v1.0.0

26 Feb 18:23

Choose a tag to compare

posthook-python v1.0.0

The official Python SDK for Posthook — schedule webhooks and deliver them reliably.

Features

  • Sync and async clients (Posthook and AsyncPosthook)
  • Schedule hooks with relative delay, absolute UTC time, or local time with timezone
  • Manage hooks: get, list, delete with auto-paginating list_all iterator
  • Bulk operations: retry, replay, cancel (by IDs or by filter)
  • Webhook signature verification for Flask, Django, and FastAPI
  • Typed errors with PosthookError hierarchy
  • Quota tracking on schedule responses
  • Only dependency: httpx

Install

pip install posthook-python

Requires Python 3.9+. See the README for full documentation.