Resend Python SDK
Project description
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.
from resend import Resend
client = Resend(api_key="kl_123")
Example
import os
from resend import Resend
client = Resend(api_key=os.environ["RESEND_API_KEY"])
client.send_email(
to="to@email.com",
sender="from@email.com",
subject="hi",
html="<strong>hello, world!</strong>"
)
Example sending email using React
Coming soon.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
resend-0.1.1.tar.gz
(4.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file resend-0.1.1.tar.gz.
File metadata
- Download URL: resend-0.1.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a926d6d0e06d3ec428c74a04aca2e30f0e237f13d3a689c8881a851838ac1642
|
|
| MD5 |
da61d352c26cc4450ae6d53d16950823
|
|
| BLAKE2b-256 |
3745372b8d3417c588fcbc8a5d31a5a59c2cf41f3c1af36b0dd5af4415d9fce2
|
File details
Details for the file resend-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: resend-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e620f58ab0388436715a248cd96a67e84ae9d0b604254ed23f95e63e315c4b40
|
|
| MD5 |
7569ebd08d1a971f5017600120e739d6
|
|
| BLAKE2b-256 |
44878a53d8921877cbfa9550224b8b10c15195cdef8c26493aa459aa8bebc8d4
|