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.2.0.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for resend-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 338c143aa5aff894955b2c63e31470c194206d0f4165627d17ad9556c5f75e9a |
|
MD5 | f95b6f9fd3e32809093dd0dfc42332d3 |
|
BLAKE2b-256 | fe6cb89e633a8dc7cbede9419ce0d3f52c21de46878a888d404aa712c2dc4fae |