Skip to main content

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 sender field 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 during init.

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

tsp_scale_python-1.2.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tsp_scale_python-1.2.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

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

Hashes for tsp_scale_python-1.2.0.tar.gz
Algorithm Hash digest
SHA256 8f939c5dc05e19547506d0b5851aa079e9d5e1a6283c4bd28310f405dc9eb307
MD5 8ab020f5a8d2e1a1e28032b2e3e5bc60
BLAKE2b-256 2c72523fa3e9e75e527d926aaf5137edce03257b34a184602db86b6b7081802a

See more details on using hashes here.

File details

Details for the file tsp_scale_python-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tsp_scale_python-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 700eea40232e0406969c5509a276ffd758ead6a7ae814ad965482c2a5d9ac118
MD5 a6a745e13d908d54366791ba24ec244c
BLAKE2b-256 e0a653c66e7f5768161fa69987afff3d211a4c7212e39a4a4658711202709a3a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page