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.

Installation

pip install sendmux-management

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.

Download files

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

Source Distribution

sendmux_management-1.2.1.tar.gz (77.5 kB view details)

Uploaded Source

Built Distribution

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

sendmux_management-1.2.1-py3-none-any.whl (242.4 kB view details)

Uploaded Python 3

File details

Details for the file sendmux_management-1.2.1.tar.gz.

File metadata

  • Download URL: sendmux_management-1.2.1.tar.gz
  • Upload date:
  • Size: 77.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for sendmux_management-1.2.1.tar.gz
Algorithm Hash digest
SHA256 761b7f2009683ab3d6e6f55ab2c3667c5e5843298c5251e50ed0bc0c62752052
MD5 bdbbb85cce9bc9eb3e1f62e83cc83562
BLAKE2b-256 f8c1fc33cfcaef69676e14765d00b156439a7b6d31adccec453f897d37e8780d

See more details on using hashes here.

Provenance

The following attestation bundles were made for sendmux_management-1.2.1.tar.gz:

Publisher: release-please.yml on Sendmux/sendmux-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sendmux_management-1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for sendmux_management-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab5cfcb8e4746606b0853b7e2403da64ed1b6a922a228c48acb4cafa6a74c09b
MD5 51d2f0d4b12e077306b67eb836de4154
BLAKE2b-256 d1a5066318a5d16e6130e3f94345b7560eb703a7189be6e01030c45384b48d93

See more details on using hashes here.

Provenance

The following attestation bundles were made for sendmux_management-1.2.1-py3-none-any.whl:

Publisher: release-please.yml on Sendmux/sendmux-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 files

1.2.0

2 files

1.1.0

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

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