Skip to main content

SuperSend TX transactional email API client for Python

Project description

SuperSend TX Python SDK

Official Python client for the SuperSend TX transactional email API.

pip install supersendtx
from supersendtx import SuperSendTX

tx = SuperSendTX("stx_your_key_here")

result = tx.emails.send(
    from_="you@yourdomain.com",
    to="user@example.com",
    subject="Hello",
    html="<p>It works.</p>",
)

print(result["id"], result["status"])

Django

pip install 'supersendtx[django]'
EMAIL_BACKEND = "supersendtx.django.EmailBackend"
# SUPERSENDTX_API_KEY in the environment

Docs: https://docs.supersendtx.com/sdks/python

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

supersendtx-0.8.3.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

supersendtx-0.8.3-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file supersendtx-0.8.3.tar.gz.

File metadata

  • Download URL: supersendtx-0.8.3.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for supersendtx-0.8.3.tar.gz
Algorithm Hash digest
SHA256 db2f5fb78a7e6f9320427d915adc7a39ffb70c184b8f4869db4c5ce4e438e8b1
MD5 2c40ab8911451873a816780ace20e7dc
BLAKE2b-256 9269827588aace8852f6c6ea55bf118b699e4d466f8eba7f5711489f4823b578

See more details on using hashes here.

File details

Details for the file supersendtx-0.8.3-py3-none-any.whl.

File metadata

  • Download URL: supersendtx-0.8.3-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for supersendtx-0.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 13c6995b0914fafe30f81613481671c38b4e638c53b433ff7a51e03449b92b67
MD5 ce83367ef79dd34ad4c3b7c9494fdf70
BLAKE2b-256 f64009f96e0d355bf86626646f179488252e4722f667fff1446998c298533b9a

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