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.8+.

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.3.0.tar.gz (13.3 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.3.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file ibwapi-0.3.0.tar.gz.

File metadata

  • Download URL: ibwapi-0.3.0.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ibwapi-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1c06a09ad591ada1ce4d9ceff62a7e490718af09a8f8e3fd6c06631fd398df0a
MD5 67248f8205d2a00cf2c66cb60134c52d
BLAKE2b-256 f31072c3e2f6b02f51193e05b48c1b3ead969d4ff05799a95794a87a00adff00

See more details on using hashes here.

Provenance

The following attestation bundles were made for ibwapi-0.3.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.3.0-py3-none-any.whl.

File metadata

  • Download URL: ibwapi-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0fe78082170ba8c247c05e37ee6bddb9c95f87d0ba59b045646ee4e480138271
MD5 dc5fca460f2448cf956a58323ca51068
BLAKE2b-256 e10997d0b39514d7e23c8520131e1ae4829d8c8f457099f07435f008bf17b52f

See more details on using hashes here.

Provenance

The following attestation bundles were made for ibwapi-0.3.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