AIO Netbox
An asyncio netbox library that conforms to any running netbox via it's OpenAPI spec
Installation
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
Usage
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 (/api/docs)
Metadata
Release files for aionetbox 1.7.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aionetbox-1.7.4.tar.gz | 22.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aionetbox-1.7.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 46.5 kB
Release files / aionetbox-1.7.4.tar.gz
| Download URL | aionetbox-1.7.4.tar.gz |
|---|---|
| Size | 22.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0aa35f4885fe6da99cb128076783432103deec44f79ab4d918e86b3bd3fb13d8
|
|
BLAKE2b-256 checksum How to use checksums |
b05bdd3b720e7d9e110676f7871395bd7d2c5988c4d988de15ffeac315e165cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / aionetbox-1.7.4-py3-none-any.whl
| Download URL | aionetbox-1.7.4-py3-none-any.whl |
|---|---|
| Size | 23.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
17852e4910b3e4552d66936e7193ccb436d960b9f72b516424c68792672c2a70
|
|
BLAKE2b-256 checksum How to use checksums |
9062bbffd2ebae762911f6e442feba10cfd3e1a510e02973448c1f49dd86188e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|