Resend Python SDK
Project Links
Meta
Author: Derich Pacheco
Requires Python: >=3.7
Classifiers
Intended Audience
- Developers
License
- OSI Approved :: MIT License
Natural Language
- English
Operating System
- OS Independent
Programming Language
- Python :: 3.7
- Python :: 3.8
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
Resend Python SDK
Installation
To install Resend Python SDK, simply execute the following command in a terminal:
pip install resend
Setup
First, you need to get an API key, which is available in the Resend Dashboard.
import resend
import os
resend.api_key = "re_yourkey"
Example
You can get an overview about all parameters in the Send Email API reference.
import os
import resend
resend.api_key = "re_yourkey"
params: resend.Emails.SendParams = {
"from": "onboarding@resend.dev",
"to": ["delivered@resend.dev"],
"subject": "hi",
"html": "<strong>hello, world!</strong>",
"reply_to": "to@gmail.com",
"bcc": "bcc@resend.dev",
"cc": ["cc@resend.dev"],
"tags": [
{"name": "tag1", "value": "tagvalue1"},
{"name": "tag2", "value": "tagvalue2"},
],
}
email: resend.Emails.SendResponse = resend.Emails.send(params)
print(email)
2.17.0
Oct 14, 2025
2.16.0
Oct 08, 2025
2.15.0
Sep 24, 2025
2.14.0
Sep 20, 2025
2.13.1
Aug 26, 2025
2.13.0
Aug 13, 2025
2.12.0
Aug 06, 2025
2.11.0
Jul 10, 2025
2.10.0
May 15, 2025
2.9.0
May 06, 2025
2.8.0
Apr 27, 2025
2.7.0
Mar 25, 2025
2.6.0
Jan 23, 2025
2.5.1
Dec 17, 2024
2.4.0
Aug 14, 2024
2.3.0
Jul 24, 2024
2.2.0
Jul 05, 2024
2.1.0
Jun 10, 2024
2.0.0
May 27, 2024
1.2.0
May 24, 2024
1.1.0
May 17, 2024
1.0.2
May 14, 2024
1.0.1
May 09, 2024
1.0.0
May 09, 2024
0.8.0
Mar 06, 2024
0.7.2
Jan 18, 2024
0.7.1
Jan 15, 2024
0.7.0
Jan 10, 2024
0.6.0
Oct 21, 2023
0.5.2
Jul 25, 2023
0.5.1
Jun 14, 2023
0.4.0
May 20, 2023
0.3.0
May 02, 2023
0.2.0
Apr 26, 2023
0.1.1
Apr 19, 2023
0.1.0
Jan 17, 2023