tsp-scale-python
Official Python SDK for TSP Scale.
Install
pip install tsp-scale-python
Usage
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.
Metadata
Release files for tsp-scale-python 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tsp_scale_python-1.1.0.tar.gz | 3.5 kB | Without provenance | Details for tsp_scale_python-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tsp_scale_python-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for tsp_scale_python-1.1.0-py3-none-any.whl |
Total release size: 7.5 kB
Release files / tsp_scale_python-1.1.0.tar.gz
| Download URL | tsp_scale_python-1.1.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3706f205681ed242c4159b340c8f82a63fc459592b350d4ae6c157a7272d9d98
|
|
BLAKE2b-256 checksum How to use checksums |
680eb059136e19821bb4e5a003618d48fea866b7213c6ce402b519f046dde2a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / tsp_scale_python-1.1.0-py3-none-any.whl
| Download URL | tsp_scale_python-1.1.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d5aed9602f16bc036a0a885b6555cbd7403af5481941b917d635585f7ade47fb
|
|
BLAKE2b-256 checksum How to use checksums |
c474c53f100c93f55e43d4644cc44abc7e99bac23407ec9d8f79f54a15d0dda2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for tsp-scale-python 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.