python-python-netbox
Port variant py311
Summary Python NetBox Client (3.11)
Package version 0.0.22
Homepage https://github.com/jagter/python-netbox
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants py310
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 07 JAN 2023, 04:18:24 UTC
Port created 07 JAN 2023, 04:18:24 UTC
Subpackage Descriptions
single ============================ Python Netbox Client ============================ python-netbox is a client for the Netbox (https://github.com/digitalocean/netbox) API. It's based on the APIv2 which is released since version 2.0.0. It requires python 3. The full documentation can be found here_. .. _here: http://python-netbox.readthedocs.io/en/latest/# ----------------- Installation ----------------- To get the latest version from Github: $ pip3 install python-netbox ----------------- Usage ----------------- To start with the module: >>> from netbox import NetBox >>> netbox = NetBox(host='127.0.0.1', port=32768, use_ssl=False, auth_token='token') ----------------- Examples ----------------- Get all devices: >>> netbox.dcim.get_devices() Get devices per rack: >>> netbox.dcim.get_devices(rack_id=1) Get device by name >>> netbox.dcim.get_devices(name='device_name') Create a site: >>> netbox.dcim.create_site('site1', 'site1') Delete a site: >>> netbox.dcim.delete_site('site1') Get IP address object: >>> netbox.ipam.get_ip_addresses(address='10.0.0.1/16') ----------------- Support ----------------- If you have questions or comments please send an email to thomas@tjrb.nl
Configuration Switches (platform-specific settings discarded)
PY310 OFF Build using Python 3.10 PY311 ON Build using Python 3.11
Package Dependencies by Type
Build (only) python-setuptools:single:py311
autoselect-python:single:standard
Build and Runtime python-requests:single:py311
python311:single:standard
Download groups
main mirror://PYPI/p/python-netbox
Distribution File Information
c2a560c648739e2f0473ac86a06f32a5c4055e3d6733998f2851a75beb97b201 13099 python-netbox-0.0.22.tar.gz
Ports that require python-python-netbox:py311
No other ports depend on this one.