Skip to main content

Official Python SDK for TSP Scale email API

Project description

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>"
})

print(result)

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

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.0.0.tar.gz (3.4 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.0.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file tsp_scale_python-1.0.0.tar.gz.

File metadata

  • Download URL: tsp_scale_python-1.0.0.tar.gz
  • Upload date:
  • Size: 3.4 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.0.0.tar.gz
Algorithm Hash digest
SHA256 bce242b9dc0a62423d9e3dbba8bf95614baa1c392bc63e6422d3d94b217355b9
MD5 9c405bee998f410fe0c36bfff26e68a8
BLAKE2b-256 417ebf87e5ab73ae755e58df846354c933d4e81d06870c2fdf381d148aa982ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tsp_scale_python-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 19443e295f86cfcdedda8b99c88a0502f256bd14b758020f944f0c97d5ca3346
MD5 913d1b97172251c9a7e03d7e822eb5fd
BLAKE2b-256 2b749f432a15300e4db0a4d24acea6fbe61947e4bae80338bc9df372baa5c507

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