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 hashes)
Built Distribution
Close
Hashes for resend-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e620f58ab0388436715a248cd96a67e84ae9d0b604254ed23f95e63e315c4b40 |
|
MD5 | 7569ebd08d1a971f5017600120e739d6 |
|
BLAKE2b-256 | 44878a53d8921877cbfa9550224b8b10c15195cdef8c26493aa459aa8bebc8d4 |