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.2.1.tar.gz (12.1 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.2.1-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ibwapi-0.2.1.tar.gz
Algorithm Hash digest
SHA256 6cf0344b4de3d676cb1b3a96f6378f2402ef5a63d1f11557787875070174b56b
MD5 7246bd29f16b8fb8577486fd5444991a
BLAKE2b-256 8cacfe803517253f3b72a83c1c1d4bebf51727ab60c35207c25620d9004852ed

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ibwapi-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ibwapi-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1bb494e3b8fdc076a3b4889ad21423d2a7232a2a0f1aa25c8b6ed9bf9a16b658
MD5 c2c4701175e20a7e975260e7bb427004
BLAKE2b-256 70403ecef97e189de82fcf0df35b4a306ab6be80d5f1a502f8a6640fc2c3f02d

See more details on using hashes here.

Provenance

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