Async netbox library
An asyncio netbox library that conforms to any running netbox via it's OpenAPI spec
AIONetbox is distributed as a library intended to be included in other asyncio python projects. It has been developed on python 3.6+ though 3.8 is recommended.
pip install aionetbox
from aionetbox import AIONetbox netbox = AIONetbox.from_openapi( url='http://localhost:8000', api_key='0123abcd' ) sites = await netbox.dcim.dcim_sites_list() my_site = await netbox.dcim.dcim_sites_read(id=2) custom_field_sort = await netbox.dcim.dcim_regions_list(cf_sf_id='identifier')
Each module and method map to the swagger definition for netbox (
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for aionetbox-1.6.2-py3-none-any.whl