Name | ibwapi JSON |
Version |
0.1.0
JSON |
| download |
home_page | None |
Summary | A low level, lightweight client for interacting with the Infoblox WAPI |
upload_time | 2024-11-08 23:34:15 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | None |
keywords |
infoblox
nios
wapi
ddi
rest
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# ibwapi
A low level, lightweight client for interacting with the Infoblox WAPI.
```python
>>> 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:
```console
$ python -m pip install ibwapi
```
This project depends on [Requests](https://requests.readthedocs.io/en/latest/), which is licensed under the Apache License 2.0. It will generally follow the Python versions supported by Requests which is currently 3.8+.
Raw data
{
"_id": null,
"home_page": null,
"name": "ibwapi",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "infoblox, nios, wapi, ddi, rest",
"author": null,
"author_email": "Ryan Bolger <ryan-oss@xyto.cc>",
"download_url": "https://files.pythonhosted.org/packages/83/10/2e44b42f3592c0fb8873d6fe05b0ab41de9d21735071cce8d6e732dfa68c/ibwapi-0.1.0.tar.gz",
"platform": null,
"description": "# ibwapi\n\nA low level, lightweight client for interacting with the Infoblox WAPI.\n\n```python\n>>> import ibwapi\n>>> wapi = ibwapi.Client(\n... 'grid.example.com', # grid master FQDN\n... ('admin','infoblox'), # auth tuple\n... wapi_version='2.13.4' # WAPI version (optional)\n... )\n>>> resp = wapi.get(\n... 'record:a', # object type\n... {'name:':'myhost.example.com'}, # filters\n... return_fields=['default','comment'] # return fields\n... )\n>>> resp\n[{'_ref': 'record:a/ZG5zLmJpbmRfYSQuMS5uZXQuZHZvbHZlLmRzLGRjMSwxMC4xNy4xLjMx:myhost.example.com/Internal', 'comment': 'My Host', 'ipv4addr': '192.168.100.1', 'name': 'myhost.example.com', 'view': 'Internal'}]\n>>> wapi.update(\n... resp[0]['_ref'], # object ref\n... {'comment':'New Comment'} # updated fields\n... )\n'record:a/ZG5zLmJpbmRfYSQuMS5uZXQuZHZvbHZlLmRzLGRjMSwxMC4xNy4xLjMx:myhost.example.com/Internal'\n```\n\n## Installing and Supported Versions\n\nibwapi is available on PyPI:\n\n```console\n$ python -m pip install ibwapi\n```\n\nThis project depends on [Requests](https://requests.readthedocs.io/en/latest/), which is licensed under the Apache License 2.0. It will generally follow the Python versions supported by Requests which is currently 3.8+.\n",
"bugtrack_url": null,
"license": null,
"summary": "A low level, lightweight client for interacting with the Infoblox WAPI",
"version": "0.1.0",
"project_urls": {
"Documentation": "https://github.com/rmbolger/py-ibwapi",
"Homepage": "https://github.com/rmbolger/py-ibwapi",
"Source": "https://github.com/rmbolger/py-ibwapi"
},
"split_keywords": [
"infoblox",
" nios",
" wapi",
" ddi",
" rest"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b067035a72b539504b5e02d71b7efc3edca54713b2c9a8332fcb3a74e5acaa8c",
"md5": "48294ad14ad68dd6c1397bab646ede49",
"sha256": "07294633232032ed84241bd1a6fe4f309e5ea8d251799a261ea0df24ec1c12a6"
},
"downloads": -1,
"filename": "ibwapi-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "48294ad14ad68dd6c1397bab646ede49",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 6916,
"upload_time": "2024-11-08T23:34:13",
"upload_time_iso_8601": "2024-11-08T23:34:13.907005Z",
"url": "https://files.pythonhosted.org/packages/b0/67/035a72b539504b5e02d71b7efc3edca54713b2c9a8332fcb3a74e5acaa8c/ibwapi-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "83102e44b42f3592c0fb8873d6fe05b0ab41de9d21735071cce8d6e732dfa68c",
"md5": "5a3974ae0b8d4128b58facaef52f580a",
"sha256": "ed5f3bb5282b4748b04d58dd6b9ba1d4d776bf85e076b5b38dd8d49912dc5a7c"
},
"downloads": -1,
"filename": "ibwapi-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "5a3974ae0b8d4128b58facaef52f580a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 11891,
"upload_time": "2024-11-08T23:34:15",
"upload_time_iso_8601": "2024-11-08T23:34:15.863245Z",
"url": "https://files.pythonhosted.org/packages/83/10/2e44b42f3592c0fb8873d6fe05b0ab41de9d21735071cce8d6e732dfa68c/ibwapi-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-08 23:34:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "rmbolger",
"github_project": "py-ibwapi",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "ibwapi"
}