resend
Resend Python SDK
What it is and what it does
Resend is a Python client for the Resend email delivery platform. It wraps the Resend API to let you send transactional emails programmatically, with support for standard email fields (to, cc, bcc, reply-to), HTML content, and metadata tagging. The SDK depends on requests for HTTP communication and typing_extensions for type hints, and works with Python 3.7 and later.
The package offers both synchronous and asynchronous interfaces. Sync calls use the standard requests library, while async support is available via an optional extra that brings in httpx. You configure the SDK once with an API key, then call resend.Emails.send() or resend.Emails.send_async() with email parameters. The library is actively maintained and carries no known security vulnerabilities.
Use it for:
- Send transactional emails (password resets, order confirmations) from a Python application.
- Build async email workflows that don't block application execution.
- Tag and organize emails for analytics or filtering on the Resend platform.
- Integrate email delivery into a FastAPI or async web framework without additional HTTP client setup.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Resend Python SDK provides a client library for sending emails through the Resend email platform API, supporting both synchronous and asynchronous operations.
Yes. The package is actively maintained, has minimal dependencies, carries no known vulnerabilities, and uses a permissive license. Install it if you need to send emails through Resend; the sync interface is straightforward and async support is available if your application requires it.
Install
resend on PyPI
pip
pip install resenduv
uv add resendpoetry
poetry add resendInstalling resend
Before you install
Low install friction with only two runtime dependencies (requests and typing_extensions). The package is actively maintained with a release just 2 days old and steady commit activity.
License in practice
Licensed under the permissive MIT license, allowing unrestricted use, modification, and distribution in both open and closed-source projects.
Quickstart
pip install resend
import resend
resend.api_key = "re_yourkey"
params = {
"from": "sender@example.com",
"to": ["recipient@example.com"],
"subject": "Hello",
"html": "<p>Email body</p>",
}
email = resend.Emails.send(params)
print(email)
Requires a Resend API key from the Resend Dashboard to authenticate requests.
Verify before relying
- Whether the async extra (resend[async]) requires additional system dependencies beyond httpx.
- Rate limiting or quota constraints imposed by the Resend platform on API calls.
- Retry behavior and error handling strategy for failed email sends.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — requests, typing_extensions |
| Maintenance | actively maintained — 2 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 13,707,507/month — #1,268 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: resend-2.36.0-py2.py3-none-any.whl
Keywords: email, email platform
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
azure-communication-emailSends emails via Azure Communication Services,…
permissive · top 5,000 on PyPI
mailtrapOfficial Python client for Mailtrap's email…
permissive · top 15,000 on PyPI
redmailRedmail simplifies sending emails with Python…
permissive · top 15,000 on PyPI
mailchimp-transactionalA Python client library for the Mailchimp…
unclear · top 15,000 on PyPI
fastapi-mailSends emails and attachments asynchronously…
permissive · top 5,000 on PyPI
yagmailSimplifies sending emails via Gmail or any SMTP…
permissive · top 15,000 on PyPI
notifications-python-clientA Python client library for sending emails,…
permissive · top 15,000 on PyPI
mandrillMandrill is a deprecated Python API client and…
permissive · top 15,000 on PyPI
emailsBuild and send HTML and plain-text emails with…
permissive · top 15,000 on PyPI
telegraphTelegraph is a Python wrapper for the Telegraph…
permissive · top 15,000 on PyPI