aionetbox-1.7.3
توضیحات
Async netbox library
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | aionetbox-1.7.3 |
| نام | aionetbox |
| نسخه کتابخانه | 1.7.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Marco Ceppi |
| ایمیل نویسنده | marco@vapor.io |
| آدرس صفحه اصلی | https://github.com/vapor-ware/aionetbox |
| آدرس اینترنتی | https://pypi.org/project/aionetbox/ |
| مجوز | GNU General Public License v3.0 |
# 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`)

نیازمندی
| مقدار | نام |
|---|---|
| <4.0 | aiohttp[speedups] |
| - | prance[osv] |
| - | prance[icu,osv] |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl aionetbox-1.7.3:
pip install aionetbox-1.7.3.whl
نصب پکیج tar.gz aionetbox-1.7.3:
pip install aionetbox-1.7.3.tar.gz