Umbrella package for the Sendmux Python SDK.
Project description
sendmux-sdk
Optional umbrella package for the Sendmux Python SDK.
Documentation
- Sendmux docs: sendmux.ai/docs
- Management API reference: sendmux.ai/docs/api/introduction
- Mailbox API reference: sendmux.ai/docs/mailbox-api/introduction
- Sending API reference: sendmux.ai/docs/sending-api/introduction
- Source repository: Sendmux/sendmux-sdk
Requirements
- Python 3.10 or newer.
- A mailbox-scoped
smx_mbx_*key for Sending and Mailbox clients. - A root
smx_root_*key for Management clients.
Installation
pip install sendmux-sdk
Usage
import os
from sendmux_sdk import sending
client = sending.create_sending_client(api_key=os.environ["SENDMUX_SENDING_API_KEY"])
api = sending.EmailsApi(client)
response = api.sending_send_email(
sending.EmailSendRequest(
var_from=sending.Address(email="sender@example.com"),
to=sending.Address(email="recipient@example.com"),
subject="Hello from Sendmux",
html_body="<p>Hello.</p>",
text_body="Hello.",
),
idempotency_key="email_123",
)
print(response.data.message_id)
The umbrella package lazy-loads:
corefromsendmux_coresendingfromsendmux_sendingmailboxfromsendmux_mailboxmanagementfromsendmux_management
Use the per-surface packages directly when an integration only needs one API surface.
Support
Open an issue in Sendmux/sendmux-sdk with the package name, version, and request ID from any API error.
Licence
MIT. See the licence file.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sendmux_sdk-1.0.4.tar.gz.
File metadata
- Download URL: sendmux_sdk-1.0.4.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44001aaa9d3a6afbf91c38c1c65cbaa1df9db554356a4d0a6753566fa52a3082
|
|
| MD5 |
96a059d93d6a717491d66fff5db35f3e
|
|
| BLAKE2b-256 |
8af26d9dae8fb859b27a5e9dae3ab8fb49b95dec3678867d60747950a7eb48f2
|
Provenance
The following attestation bundles were made for sendmux_sdk-1.0.4.tar.gz:
Publisher:
release-please.yml on Sendmux/sendmux-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sendmux_sdk-1.0.4.tar.gz -
Subject digest:
44001aaa9d3a6afbf91c38c1c65cbaa1df9db554356a4d0a6753566fa52a3082 - Sigstore transparency entry: 1866384105
- Sigstore integration time:
-
Permalink:
Sendmux/sendmux-sdk@1f59ff3012c2890c8b9dfdb5e669d231340ec042 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Sendmux
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@1f59ff3012c2890c8b9dfdb5e669d231340ec042 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sendmux_sdk-1.0.4-py3-none-any.whl.
File metadata
- Download URL: sendmux_sdk-1.0.4-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a29ba7f42ddafaefac47f62654f4b60ceb2dfc636b192bbd9dab333d791c9a9b
|
|
| MD5 |
ea93c5a259300a7b88f80e5dda89feb1
|
|
| BLAKE2b-256 |
cfa24fb0259a499673397ff5f456954fb14ca12ae1c3f6597b40fcf1f778142f
|
Provenance
The following attestation bundles were made for sendmux_sdk-1.0.4-py3-none-any.whl:
Publisher:
release-please.yml on Sendmux/sendmux-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sendmux_sdk-1.0.4-py3-none-any.whl -
Subject digest:
a29ba7f42ddafaefac47f62654f4b60ceb2dfc636b192bbd9dab333d791c9a9b - Sigstore transparency entry: 1866384145
- Sigstore integration time:
-
Permalink:
Sendmux/sendmux-sdk@1f59ff3012c2890c8b9dfdb5e669d231340ec042 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Sendmux
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@1f59ff3012c2890c8b9dfdb5e669d231340ec042 -
Trigger Event:
push
-
Statement type: