Metadata-Version: 2.4
Name: tsp-scale-python
Version: 1.0.0
Summary: Official Python SDK for TSP Scale email API
Author: TSP Scale
License: MIT
Project-URL: Homepage, https://tspscale.in
Project-URL: Documentation, https://tspscale.in/docs
Keywords: smtp,email,api-client,transactional-email
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 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.31.0
Dynamic: license-file

# tsp-scale-python

Official Python SDK for TSP Scale.

## Install

```bash
pip install tsp-scale-python
```

## Usage

```python
from tsp_scale_python import TspScaleClient

client = TspScaleClient(
    api_key="YOUR_API_KEY",
    base_url="https://api.tspscale.in/api/v1",
)

result = client.send_email({
    "from": "support@yourdomain.com",
    "to": "user@example.com",
    "subject": "Hello from TSP Scale",
    "html": "<h1>It works</h1>"
})

print(result)
```

The SDK automatically adds signed security headers required by `/emails/send`.
