Universal DDI Python Client
This repository provides a Python Client library for interacting with Infoblox APIs. The library is generated using the OpenAPI Generator project.
The following Infoblox APIs are supported:
Infoblox Cloud
- Infrastructure Management
- Infrastructure Provision (HostActivation API)
- Anycast Configuration Manager
- Upgrade Policy
Infoblox Threat Defense
Universal DDI
Installation
Minimum supported Python version: 3.10.
To install the Universal DDI Python Client, use the following command:
pip install universal-ddi-python-client
Usage
To use the Universal DDI Python Client, you need to import the client and create an instance of the client. For example:
from universal_ddi_client import ApiClient
client = ApiClient()
Additionally , you can also add a custom config to the client. For example:
from universal_ddi_client import Configuration, ApiClient
config = Configuration()
client = ApiClient(config)
Furthermore , you can import the specific API module and use the client to interact with the API. For example:
from dns_config import ViewApi
view_api = ViewApi(client)
Configuration
Client Name
The client name is used to identify the client in the logs. By default, the client name is set to universal-ddi-python-client. You can change this by creating an instance of Configuration and setting the client name. For example:
from universal_ddi_client import Configuration
config = Configuration(
client_name = "my-client",
)
Server URL
The default URL for the Cloud Services Portal is https://csp.infoblox.com. If you need to change this, you can create an instance of Configuration and set the URL. For example:
from universal_ddi_client import Configuration
config = Configuration(
portal_url = "https://csp.eu.infoblox.com",
)
You can also set the URL using the environment variable INFOBLOX_PORTAL_URL or BLOXONE_CSP_URL.
Note:
BLOXONE_CSP_URLis deprecated and will be removed in future releases. It is recommended to useINFOBLOX_PORTAL_URLinstead.
Authorization
An API key is required to access Infoblox API. You can obtain an API key by following the instructions in the guide for Configuring User API Keys.
To use an API key with Infoblox API, you can create a new instance of Configuration . For example:
from universal_ddi_client import Configuration
config = Configuration(
portal_key = "PORTAL_KEY",
)
Alternatively, You can also set the API key using the environment variable INFOBLOX_PORTAL_KEY or BLOXONE_API_KEY .
Note:
BLOXONE_API_KEYis deprecated and will be removed in future releases. It is recommended to useINFOBLOX_PORTAL_KEYinstead.
Note: The API key is a secret and should be handled securely. Hardcoding the API key in your code is not recommended.
Default Tags
The Infoblox API supports tagging resources. You can set default tags for all resources created using the client.
To set the Default Tags , you can create a new instance of Configuration to set the tags. For example:
from universal_ddi_client import Configuration
config = Configuration(
default_tags = {
"tag1": "value1",
"tag2": "value2",
}
)
Debugging
To enable debugging, you can set the debug parameter to True when creating an instance of Configuration. For example:
from universal_ddi_client import Configuration
config = Configuration(
debug = True,
)
This will enable debugging for the client and log all requests and responses to the console.
Alternatively, You can also enable debugging using the environment variable IB_LOG_LEVEL by setting it to DEBUG.
Support
For support and inquiries, contact Infoblox Support or refer to the official Universal DDI documentation.
Release files for universal-ddi-python-client 0.2.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 | |
|---|---|---|---|
| universal_ddi_python_client-0.2.0.tar.gz | 591.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| universal_ddi_python_client-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.6 MB
Release files / universal_ddi_python_client-0.2.0.tar.gz
| Download URL | universal_ddi_python_client-0.2.0.tar.gz |
|---|---|
| Size | 591.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ffc80117ba494b1aef759db4b899f6dc947f53af40f7919231c6aabef0665ca6
|
|
BLAKE2b-256 checksum How to use checksums |
2c1d3ed73e76db2426f42b358c11bbd2091dc75fe9c428e26e296d65eec2c8bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 16, 2026.
Transparency logRelease files / universal_ddi_python_client-0.2.0-py3-none-any.whl
| Download URL | universal_ddi_python_client-0.2.0-py3-none-any.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f4be39d4039527af9d121784be0ad3ab9cc900df65735cd75b473e07a5bb0c3b
|
|
BLAKE2b-256 checksum How to use checksums |
efb1bbe4cb64747be2c02352dc8f637aa563c01644fe674a499f79d8817659e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jul 16, 2026.
Transparency log