Official Python SDK
Postscale now has an official Python SDK:
postscale.
- Python 3.10+ support. The package uses
httpxand supports synchronous and asynchronous clients. - API-native requests. SDK calls keep the same
snake_casefields as the REST API and OpenAPI docs. - Structured result shape. Resource methods return
PostscaleResultobjects withdata,error, andheaders. - Email sending and attachments. The first release includes email sending, attachment helpers, domains, DKIM, aliases, inbound, stats, warming, suppressions, webhooks, templates, usage, and trust resources.
- Webhook verification. The SDK verifies the timestamped
X-Postscale-Signatureformat and supports multiple candidate secrets during rotation windows.
Install it with:
pip install postscale
Start with the SDKs and HTTP Clients guide, then use Sending Emails and Webhooks for production integration details.
This release covers public product APIs only. Billing, invoices, onboarding, browser auth, MFA, API-key management, admin routes, Stripe webhooks, unsubscribe endpoints, and contact forms are intentionally excluded.