qubrics-management
Generated Python client for the Qubrics Management API.
Documentation
- Management API reference: qubrics.com/docs/api/introduction
- Source repository: qubrics/qubrics-sdk
Requirements
- Python 3.10 or newer.
- A root Qubrics 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 qubrics-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 qubrics.management import create_management_client
client = create_management_client(
access_token=lambda: os.environ["QUBRICS_ACCESS_TOKEN"]
)
Usage
import os
from qubrics.management import DomainsApi, create_management_client
client = create_management_client(api_key=os.environ["QUBRICS_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_managementQubricsManagementApiClient
Conditional requests
Generated methods expose ETag parameters directly when the API operation supports them.
import os
from qubrics.management import DomainsApi, create_management_client
client = create_management_client(api_key=os.environ["QUBRICS_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 qubrics/qubrics-sdk with the package name, version, and request ID from any API error.
Licence
MIT. See the licence file.
Metadata
Release files for qubrics-management 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qubrics_management-3.0.0.tar.gz | 88.2 kB | Without provenance | Details for qubrics_management-3.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qubrics_management-3.0.0-py3-none-any.whl | Python 3 | none | any | Details for qubrics_management-3.0.0-py3-none-any.whl |
Total release size: 366.2 kB
Release files / qubrics_management-3.0.0.tar.gz
| Download URL | qubrics_management-3.0.0.tar.gz |
|---|---|
| Size | 88.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8c342b3afcf11775504c450a4d16ae4f85926ab445a890664a1b4acd02e9ea7
|
|
BLAKE2b-256 checksum How to use checksums |
fd6218989608f4b4eeb4402d7c296ae737f37aaf444df6121a2fe16ccb18b610
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / qubrics_management-3.0.0-py3-none-any.whl
| Download URL | qubrics_management-3.0.0-py3-none-any.whl |
|---|---|
| Size | 278.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
409f2ea8289956fb2e41155546bea3bc8ffe4ca731c122d4a7b00da91a778295
|
|
BLAKE2b-256 checksum How to use checksums |
ce359dc56ab3ddabbd943ae3693dc6d3033e620ba3364580b5e0e82218484127
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Security for qubrics-management 3.0.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.