Metadata-Version: 2.4
Name: supersendtx
Version: 0.8.3
Summary: SuperSend TX transactional email API client for Python
Project-URL: Homepage, https://supersendtx.com
Project-URL: Documentation, https://docs.supersendtx.com/sdks/python
Project-URL: Repository, https://github.com/Super-Send/supersendtx-sdks
Project-URL: Issues, https://github.com/Super-Send/supersendtx-sdks/issues
Author: SuperSend TX
License-Expression: MIT
Keywords: email,supersend,supersendtx,transactional
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.10
Provides-Extra: dev
Requires-Dist: django>=4.2; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Provides-Extra: django
Requires-Dist: django>=4.2; extra == 'django'
Description-Content-Type: text/markdown

# SuperSend TX Python SDK

Official Python client for the [SuperSend TX](https://supersendtx.com) transactional email API.

```bash
pip install supersendtx
```

```python
from supersendtx import SuperSendTX

tx = SuperSendTX("stx_your_key_here")

result = tx.emails.send(
    from_="you@yourdomain.com",
    to="user@example.com",
    subject="Hello",
    html="<p>It works.</p>",
)

print(result["id"], result["status"])
```

## Django

```bash
pip install 'supersendtx[django]'
```

```python
EMAIL_BACKEND = "supersendtx.django.EmailBackend"
# SUPERSENDTX_API_KEY in the environment
```

Docs: https://docs.supersendtx.com/sdks/python
