---
updatedAt: 2025-09-10T03:05:03.000Z
agentTools:
  projectIndex: https://postgrid.readme.io/llms.txt
---

# Using our Python SDK

A convenient way to access all of the PostGrid Print & Mail API features in one Python library.

# Getting Started

Before using any of the API features, you'll first want to install the [PostGrid Python SDK](https://github.com/postgrid/postgrid-python) by running:

```
pip install --upgrade postgrid-python
```

Next, you'll want to import the PostGrid Python library into your application and define your API key. You can find your API key under settings on the [PostGrid dashboard](https://dashboard.postgrid.com).

```python
import postgrid

postgrid.pm_key = 'YOUR_API_KEY_HERE'
```

# Next Steps

After setting everything up, you'll be able to start using the PostGrid Print & Mail API features.

View the [API docs](https://postgrid.readme.io/reference/overview) for information about each of the PostGrid Print & Mail API endpoints and some Python examples.

**Note that  all of the parameters used in the Python SDK are in`snake_case`, whereas the parameters for the Node SDK are in `camelCase`.**