Skip to main content

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)

Source distribution for aionetbox 1.7.4
File Size Uploaded
aionetbox-1.7.4.tar.gz 22.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aionetbox 1.7.4
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.7.4 This release

2 release files

1.7.3

2 release files

1.7.2

2 release files

1.7.1

2 release files

1.7.0

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.5.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page