Skip to main content

ranla

Official Python client for the Ranla email API.

pip install ranla
import os
from ranla import Ranla

client = Ranla(os.environ["RANLA_API_KEY"])

email = client.emails.send(
    from_="ops@yourdomain.com",
    to="user@example.com",
    subject="Your receipt",
    html="<p>Thanks for your purchase.</p>",
)
print(email["id"], email["status"])

Defaults to https://api.ranla.ai. API keys may start with rnl_ or stx_.

SuperSendTX is the same class under the previous name:

from ranla import SuperSendTX

The legacy supersendtx package on PyPI remains supported.

Django email backend

pip install 'ranla[django]'
# settings.py
EMAIL_BACKEND = "ranla.django.EmailBackend"
# Uses RANLA_API_KEY from the environment.

supersendtx.django.EmailBackend remains supported.

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ranla-0.8.6.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

ranla-0.8.6-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file ranla-0.8.6.tar.gz.

File metadata

  • Download URL: ranla-0.8.6.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.14

File hashes

Hashes for ranla-0.8.6.tar.gz
Algorithm Hash digest
SHA256 055625e19cb08fc6a28eb66a529a6d4d7ac5402e46a11d3d583cee4d47f850b2
MD5 2e95a37ab79179a8d6b1ce19ecb6b16c
BLAKE2b-256 62429d714372233d435aad477394063004e6c3565f627b4c0f81511706bb1f4e

See more details on using hashes here.

File details

Details for the file ranla-0.8.6-py3-none-any.whl.

File metadata

  • Download URL: ranla-0.8.6-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.14

File hashes

Hashes for ranla-0.8.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e508ffc8e111ea1a678687153728d12400ae79726c9cd6439d4a409faf763546
MD5 5b3160cf7731788c01f1fe3b53d5a81e
BLAKE2b-256 13c70991d8d0bff6bfbe410fdcbdbb2a3d87b4ed882251c5cef4b4ac465ec6bf

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.8.6 This release

2 files

0.8.5

2 files

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