Metadata-Version: 2.4
Name: tsp-scale-python
Version: 1.1.0
Summary: Official Python SDK for TSP Scale Email and WhatsApp API
Author: TSP Scale
License-Expression: MIT
Project-URL: Homepage, https://tspscale.in
Project-URL: Documentation, https://tspscale.in/documentation
Keywords: smtp,email,whatsapp,automation,api-client
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
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>",
})

# Send WhatsApp
client.send_whatsapp({
    "to": "919988776655",
    "text": "Hello from Python!",
})

print(result)
```

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