Official Python SDK for TSP Scale Email and WhatsApp API
Project description
tsp-scale-python
Official Python SDK for TSP Scale.
🚀 Quick Start (Zero-Config)
Initialize your project in seconds. This will link your project, install the SDK, and set up your secure config.
tsp-scale init
Manual Installation
pip install tsp-scale-python
🛠️ Usage
from tsp_scale_python import TspScaleClient
# Authenticates automatically from local config or environment variables
client = TspScaleClient()
def send_test():
res = client.send_email(
to="recipient@example.com",
subject="Hello from TSP Scale",
html="<h1>It works!</h1>"
)
print(res)
Note: The
senderfield is optional if your API Key is locked to a specific sender identity.
🔐 Production Deployment
When deploying to Railway, VPS, or Cloud, add these environment variables:
TSP_API_KEY: Your secret API key.TSP_PROJECT_ID: The unique ID generated duringinit.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tsp_scale_python-1.2.0.tar.gz.
File metadata
- Download URL: tsp_scale_python-1.2.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f939c5dc05e19547506d0b5851aa079e9d5e1a6283c4bd28310f405dc9eb307
|
|
| MD5 |
8ab020f5a8d2e1a1e28032b2e3e5bc60
|
|
| BLAKE2b-256 |
2c72523fa3e9e75e527d926aaf5137edce03257b34a184602db86b6b7081802a
|
File details
Details for the file tsp_scale_python-1.2.0-py3-none-any.whl.
File metadata
- Download URL: tsp_scale_python-1.2.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
700eea40232e0406969c5509a276ffd758ead6a7ae814ad965482c2a5d9ac118
|
|
| MD5 |
a6a745e13d908d54366791ba24ec244c
|
|
| BLAKE2b-256 |
e0a653c66e7f5768161fa69987afff3d211a4c7212e39a4a4658711202709a3a
|