Generated Python client for the Sendmux Management API.
Project description
sendmux-management
Generated Python client for the Sendmux Management API.
Documentation
- Management API reference: sendmux.ai/docs/api/introduction
- Source repository: Sendmux/sendmux-sdk
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_clientconfigure_managementSendmuxManagementApiClient
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.
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_management-1.0.3.tar.gz.
File metadata
- Download URL: sendmux_management-1.0.3.tar.gz
- Upload date:
- Size: 72.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50b1c5ba38d43db40a3cc8fdd1d7f9a8fdaf00b397dae546287a7480d1755fff
|
|
| MD5 |
4d5a2412533bc7b8468a6aa7b5c3c04f
|
|
| BLAKE2b-256 |
0b9a32135711a83832388f9658c3eabdfa27d6dfcb0d3f98bcef835e383208ac
|
Provenance
The following attestation bundles were made for sendmux_management-1.0.3.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_management-1.0.3.tar.gz -
Subject digest:
50b1c5ba38d43db40a3cc8fdd1d7f9a8fdaf00b397dae546287a7480d1755fff - Sigstore transparency entry: 1859582113
- Sigstore integration time:
-
Permalink:
Sendmux/sendmux-sdk@d17ca8749174b7c4e70abf08ce0e2fb701d1bd5e -
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@d17ca8749174b7c4e70abf08ce0e2fb701d1bd5e -
Trigger Event:
push
-
Statement type:
File details
Details for the file sendmux_management-1.0.3-py3-none-any.whl.
File metadata
- Download URL: sendmux_management-1.0.3-py3-none-any.whl
- Upload date:
- Size: 227.7 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 |
3c616e33ba4438930db607fbde7101cc2ed6377b30b39baa76d8e371beb646b7
|
|
| MD5 |
ddd15d10e42d9d7ba86f298d53656827
|
|
| BLAKE2b-256 |
e692e50e06a36e92d7e7746ba3d4d2d2dc9cbec4744cbbd8516e77ebfd5043ee
|
Provenance
The following attestation bundles were made for sendmux_management-1.0.3-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_management-1.0.3-py3-none-any.whl -
Subject digest:
3c616e33ba4438930db607fbde7101cc2ed6377b30b39baa76d8e371beb646b7 - Sigstore transparency entry: 1859582135
- Sigstore integration time:
-
Permalink:
Sendmux/sendmux-sdk@d17ca8749174b7c4e70abf08ce0e2fb701d1bd5e -
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@d17ca8749174b7c4e70abf08ce0e2fb701d1bd5e -
Trigger Event:
push
-
Statement type: