A low level, lightweight client for interacting with the Infoblox WAPI
Project description
ibwapi
A low level, lightweight client for interacting with the Infoblox WAPI.
>>> import ibwapi
>>> wapi = ibwapi.Client(
... 'grid.example.com', # grid master FQDN
... ('admin','infoblox'), # auth tuple
... wapi_version='2.13.4' # WAPI version (optional)
... )
>>> resp = wapi.get(
... 'record:a', # object type
... {'name:':'myhost.example.com'}, # filters
... return_fields=['default','comment'] # return fields
... )
>>> resp
[{'_ref': 'record:a/ZG5zLmJpbmRfYSQuMS5uZXQuZHZvbHZlLmRzLGRjMSwxMC4xNy4xLjMx:myhost.example.com/Internal', 'comment': 'My Host', 'ipv4addr': '192.168.100.1', 'name': 'myhost.example.com', 'view': 'Internal'}]
>>> wapi.update(
... resp[0]['_ref'], # object ref
... {'comment':'New Comment'} # updated fields
... )
'record:a/ZG5zLmJpbmRfYSQuMS5uZXQuZHZvbHZlLmRzLGRjMSwxMC4xNy4xLjMx:myhost.example.com/Internal'
Installing and Supported Versions
ibwapi is available on PyPI:
$ python -m pip install ibwapi
This project depends on Requests, which is licensed under the Apache License 2.0. It will generally follow the Python versions supported by Requests which is currently 3.10+.
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 ibwapi-0.4.0.tar.gz.
File metadata
- Download URL: ibwapi-0.4.0.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1fbe151ecf39538ec5dfbb92c49a0cfa4aa9c4b75fbc9c08c183007328368fc
|
|
| MD5 |
fb43d2f7e7f88b340246f5caa42d828f
|
|
| BLAKE2b-256 |
1afbbaa800cc41bf23365b58f6073b2e74890eaa58f419498bdbb09609d04c9e
|
Provenance
The following attestation bundles were made for ibwapi-0.4.0.tar.gz:
Publisher:
publish.yml on rmbolger/py-ibwapi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ibwapi-0.4.0.tar.gz -
Subject digest:
e1fbe151ecf39538ec5dfbb92c49a0cfa4aa9c4b75fbc9c08c183007328368fc - Sigstore transparency entry: 1632396256
- Sigstore integration time:
-
Permalink:
rmbolger/py-ibwapi@fe16aaa7421e3dffbaa12c75693db943e8fbc440 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/rmbolger
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fe16aaa7421e3dffbaa12c75693db943e8fbc440 -
Trigger Event:
release
-
Statement type:
File details
Details for the file ibwapi-0.4.0-py3-none-any.whl.
File metadata
- Download URL: ibwapi-0.4.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
329c0f7795fd957c6309c0b63e6c86b94b7fb37811296611fe6ef9d442c5b59a
|
|
| MD5 |
a227caa8bd95b7da67b0de222f374d85
|
|
| BLAKE2b-256 |
db69e5e9cebf964a09bca81d5e862f197182ce6c253abf2f3a70f861a9e9a617
|
Provenance
The following attestation bundles were made for ibwapi-0.4.0-py3-none-any.whl:
Publisher:
publish.yml on rmbolger/py-ibwapi
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ibwapi-0.4.0-py3-none-any.whl -
Subject digest:
329c0f7795fd957c6309c0b63e6c86b94b7fb37811296611fe6ef9d442c5b59a - Sigstore transparency entry: 1632396261
- Sigstore integration time:
-
Permalink:
rmbolger/py-ibwapi@fe16aaa7421e3dffbaa12c75693db943e8fbc440 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/rmbolger
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fe16aaa7421e3dffbaa12c75693db943e8fbc440 -
Trigger Event:
release
-
Statement type: