Skip to main content

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.

Metadata

Release files for tsp-scale-python 1.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tsp-scale-python 1.2.3
File Size Uploaded Provenance Actions
tsp_scale_python-1.2.3.tar.gz 5.7 kB Without provenance Details for tsp_scale_python-1.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tsp-scale-python 1.2.3
File Interpreter ABI Platform Actions
tsp_scale_python-1.2.3-py3-none-any.whl Python 3 none any Details for tsp_scale_python-1.2.3-py3-none-any.whl

Total release size: 12.5 kB

Release files / tsp_scale_python-1.2.3.tar.gz

Download URL tsp_scale_python-1.2.3.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
90eed5054f7c14c2c98a8cd929186c0e9f8d12016aedfd73504e8ad3dacd5288
BLAKE2b-256 checksum
How to use checksums
0a00ffb9fc522c52228579dac33c6b0d9d647ad296c7584c3115cce3406de209
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.2.3-py3-none-any.whl

Download URL tsp_scale_python-1.2.3-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7aa9c584a9b21ff8508c49f9397136e35eac7d46251d27ca858695fdf48bc2c9
BLAKE2b-256 checksum
How to use checksums
4391c1401064e2a6b2f94a6d8e5e835d5f8dc449e6c9936985e4f0ecd47ce2cd
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.2.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page