Skip to main content

sendmux-management

PyPI version Python versions PyPI downloads Licence

Generated Python client for the Sendmux Management API.

Documentation

Requirements

  • Python 3.10 or newer.
  • A root Sendmux API key with the smx_root_* prefix.

For OAuth, use a REST access token with the scopes and mailbox access required by the operation. See OAuth for REST APIs.

Installation

pip install sendmux-management

OAuth access tokens

Pass either api_key or access_token. access_token accepts a bare token string or a synchronous callable; the callable is evaluated for each authenticated request. Your application owns token storage, expiry checks and refresh coordination.

import os

from sendmux_management import create_management_client

client = create_management_client(
    access_token=lambda: os.environ["SENDMUX_ACCESS_TOKEN"]
)

Usage

import os

from sendmux_management import DomainsApi, create_management_client

client = create_management_client(api_key=os.environ["SENDMUX_MANAGEMENT_API_KEY"])
api = DomainsApi(client)

domains = api.management_list_domains(limit=25)

for domain in domains.data:
    print(domain.id, domain.domain)

The package exports every generated Management model and API class plus:

  • create_management_client
  • configure_management
  • SendmuxManagementApiClient

Conditional requests

Generated methods expose ETag parameters directly when the API operation supports them.

import os

from sendmux_management import DomainsApi, create_management_client

client = create_management_client(api_key=os.environ["SENDMUX_MANAGEMENT_API_KEY"])
api = DomainsApi(client)

domain = api.management_get_domain(
    public_id="mdom_123",
    if_none_match='W/"etag"',
)

print(domain.data)

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.

Metadata

Release files for sendmux-management 1.4.1

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

Source distribution (sdist)

Source distribution for sendmux-management 1.4.1
File Size Uploaded
sendmux_management-1.4.1.tar.gz 80.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sendmux-management 1.4.1
File Interpreter ABI Platform
sendmux_management-1.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 332.2 kB

Release files / sendmux_management-1.4.1.tar.gz

Download URL sendmux_management-1.4.1.tar.gz
Size 80.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5a3fa505fb0f40c1e3a6a51a37fcdac62aef8f70cd42b3f8e3c3eea8494b090a
BLAKE2b-256 checksum
How to use checksums
2f81a056bd782563e4fcf1218c20ed17c2ef447d02b78f8b6edee105847b61fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / sendmux_management-1.4.1-py3-none-any.whl

Download URL sendmux_management-1.4.1-py3-none-any.whl
Size 252.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
caf621bf25c048417febb2d27e6afd852c0e98316754a5c54efd0021944392ff
BLAKE2b-256 checksum
How to use checksums
80f3beaedf87569236d6beb0729de2231c267845a710b94cecba47e586ea8d74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release history Release notifications | RSS feed

2.0.1

2 release files

2.0.0

2 release files

This release

1.4.1 This release

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release 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