Skip to main content

Groundmail Python SDK

Official Python client for the Groundmail transactional email API.

pip install groundmail
from groundmail import Groundmail

tx = Groundmail("gm_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 'groundmail[django]'
EMAIL_BACKEND = "groundmail.django.EmailBackend"
# GROUNDMAIL_API_KEY in the environment

Docs: https://docs.groundmail.dev/sdks/python

Metadata

Release files for groundmail 0.8.4

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

Source distribution (sdist)

Source distribution for groundmail 0.8.4
File Size Uploaded Provenance
groundmail-0.8.4.tar.gz 7.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for groundmail 0.8.4
File Interpreter ABI Platform
groundmail-0.8.4-py3-none-any.whl Python 3 none any Details

Total release size: 15.0 kB

Release files / groundmail-0.8.4.tar.gz

Download URL groundmail-0.8.4.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8886d7c6e3ac05c4485e0398e42d7355b04d3fbebac49a4cf47063b7c00344df
BLAKE2b-256 checksum
How to use checksums
597080109cc590bfff0fbb7ff696b4a575bc0aee7dbad7a3be6642616bf8be37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / groundmail-0.8.4-py3-none-any.whl

Download URL groundmail-0.8.4-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e92cebab23227fb33f6979c4f31f2d82cd4812c3f67a552160f92dd46ac7aa22
BLAKE2b-256 checksum
How to use checksums
fd6005f78c4aeccca8b44c2148ee80dbb4cfed78e03e1011fd4fe47b0b095e94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for groundmail 0.8.4

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.

Release history Release notifications | RSS feed

This release

0.8.4 This release

2 release files No provenance

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