---
title: Python SDK 2.0
slug: python-sdk-2-0
description: 'See what changed in the new major version of the Resend Python SDK.'
image: https://cdn.resend.com/posts/python-sdk-2-0.jpg
created_at: "2024-06-07"
updated_at: "2024-11-28"
humans: ["derich-pacheco"]
---

A year ago, we [announced the first version of the Resend Python SDK](/changelog/announcing-the-python-sdk), and since then, we have been working on improving it.

Today, we are excited to announce the release of a new major version with some changes that will make it easier for developers to integrate email into their Python apps.

## Support for type hinting

Now users can use type hinting to specify types of their input parameters and get static type checking on their code base, for example:

```python
params: resend.Emails.SendParams = {
    "from": "onboarding@resend.dev",
    "to": ["delivered@resend.dev"],
    "subject": "hello world",
    "html": "<strong>it works!</strong>",
}

email = resend.Emails.send(params)
```

You should also be able to get auto-completion support from your favorite IDE.

![Attributes Autocomplete](https://cdn.resend.com/posts/python-sdk-2-0-2.jpg)

![Inline Documentation](https://cdn.resend.com/posts/python-sdk-2-0-3.jpg)

![Function Arguments/Returns](https://cdn.resend.com/posts/python-sdk-2-0-4.jpg)

## What's next?

We want to keep improving the SDK and make it easier for developers to integrate email into their Python apps.

Check the new example showing [how to use Resend with FastAPI](https://github.com/resend/resend-fastapi-example).

If you have any feedback or ideas, please let us know by [opening an issue on GitHub](https://github.com/resend/resend-python).
