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
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.0.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for resend-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9535eeb1377bc31a5b00be2ed9df02b4bad0eb246f01b6d135bef6f77a02e32b |
|
MD5 | 5168e421e1b2a8ad02bcb12174278f84 |
|
BLAKE2b-256 | f6df56684ffb709ff1d310333e096ca4d4eb62300409b5b613a9e032d872740b |