Metadata-Version: 2.1
Name: resend
Version: 0.3.0
Summary: Resend Python SDK
Home-page: https://github.com/resendlabs/resend-python
Author: Derich Pacheco
Author-email: carlosderich@gmail.com
License: UNKNOWN
Description: # Resend Python SDK
        
        [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
        ![Build](https://github.com/drish/resend-py/actions/workflows/test.yaml/badge.svg)
        [![codecov](https://codecov.io/gh/drish/resend-py/branch/main/graph/badge.svg?token=GGD39PPFM0)](https://codecov.io/gh/drish/resend-py)
        [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
        [![PyPI](https://img.shields.io/pypi/v/resend)](https://pypi.org/project/resend/)
        [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/resend)](https://pypi.org/project/resend)
        ---
        
        ## 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](https://resend.com).
        
        ```py
        import resend
        import os
        
        resend.api_key = os.environ["RESEND_API_KEY"]
        ```
        
        ## Example
        
        ```py
        import os
        import resend
        
        resend.api_key = os.environ["RESEND_API_KEY"]
        
        params = {
            "from": "r@email.io",
            "to": ["to@gmail.com"],
            "subject": "hi",
            "html": "<strong>hello, world!</strong>",
            "reply_to": "to@gmail.com",
            "bcc": "to@gmail.com",
            "cc": ["to@gmail.com"],
            "tags": [
                {"name": "tag1", "value": "tagvalue1"},
                {"name": "tag2", "value": "tagvalue2"},
            ],
        }
        
        r = resend.Emails.send(
        
        )
        print(r)
        ```
        
Keywords: email,email platform
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.7
Description-Content-Type: text/markdown
