🤖 Teach your AI coding agent how to send email with Postmark Skills
x
Python SDK v0.3.0: now with sync support | Postmark

v0.3.0 adds a new synchronous wrapper that makes the library much more approachable for testing and simple use cases. If you're working in a Jupyter notebook, Flask app, or any other single-threaded environment, you no longer need to wrap everything in asyncio — the sync client works without it.

Here's what's new:

  • Sync wrapper — use the sync client when you don't need async. Great for quick testing, notebooks, and single-threaded environments.
  • Sync and async examples — all examples throughout the library now come in both flavors so you can pick the pattern that fits your project.
  • Bug fixes — a handful of improvements to prevent errors from getting thrown unexpectedly.

The async-first design is still there for those who want it — and it's worth it at scale. But now you can get started without it.

Check out the Python SDK wiki for full usage details, including a Jupyter notebook guide. Grab the latest version from PyPI:

pip install --upgrade postmark-python