Skip to main content

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

ibwapi-0.4.0.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

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

ibwapi-0.4.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

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

Hashes for ibwapi-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e1fbe151ecf39538ec5dfbb92c49a0cfa4aa9c4b75fbc9c08c183007328368fc
MD5 fb43d2f7e7f88b340246f5caa42d828f
BLAKE2b-256 1afbbaa800cc41bf23365b58f6073b2e74890eaa58f419498bdbb09609d04c9e

See more details on using hashes here.

Provenance

The following attestation bundles were made for ibwapi-0.4.0.tar.gz:

Publisher: publish.yml on rmbolger/py-ibwapi

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

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

Hashes for ibwapi-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 329c0f7795fd957c6309c0b63e6c86b94b7fb37811296611fe6ef9d442c5b59a
MD5 a227caa8bd95b7da67b0de222f374d85
BLAKE2b-256 db69e5e9cebf964a09bca81d5e862f197182ce6c253abf2f3a70f861a9e9a617

See more details on using hashes here.

Provenance

The following attestation bundles were made for ibwapi-0.4.0-py3-none-any.whl:

Publisher: publish.yml on rmbolger/py-ibwapi

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page