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.0

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.0
File Size Uploaded
sendmux_management-1.4.0.tar.gz 79.9 kB Details

Built distribution (wheel)

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

Total release size: 332.1 kB

Release files / sendmux_management-1.4.0.tar.gz

Download URL sendmux_management-1.4.0.tar.gz
Size 79.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e6e9dd22d82d99f518044c7382fd5d9e96f67dad1bd319c511e713de25f663bb
BLAKE2b-256 checksum
How to use checksums
a11e7b2ac0bbe891a6eb615ddbb785a6dbf375de30d845788cb167656ebe9fbc
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 10, 2026.

Transparency log

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

Download URL sendmux_management-1.4.0-py3-none-any.whl
Size 252.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1efe0f64666080fe4a640233ab12ec266f335247074fb1e2c62835b49205ce31
BLAKE2b-256 checksum
How to use checksums
68eb427367cd02c160e831e2eecba92aeae4cbcd80b7e31d1fa63c87eb1c2004
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 10, 2026.

Transparency log

Release history Release notifications | RSS feed

2.0.1

2 release files

2.0.0

2 release files

1.4.1

2 release files

This release

1.4.0 This release

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