# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-python-netbox VERSION= 0.0.24 KEYWORDS= python VARIANTS= v12 v13 SDESC[v12]= Python NetBox Client (3.12) SDESC[v13]= Python NetBox Client (3.13) HOMEPAGE= https://github.com/jagter/python-netbox CONTACT= Python_Automaton[python@ironwolf.systems] DOWNLOAD_GROUPS= main SITES[main]= PYPI/p/python-netbox DISTFILE[1]= python-netbox-0.0.24.tar.gz:main DIST_SUBDIR= python-src DF_INDEX= 1 SPKGS[v12]= single SPKGS[v13]= single OPTIONS_AVAILABLE= PY312 PY313 OPTIONS_STANDARD= none VOPTS[v12]= PY312=ON PY313=OFF VOPTS[v13]= PY312=OFF PY313=ON DISTNAME= python-netbox-0.0.24 GENERATED= yes [PY312].BUILDRUN_DEPENDS_ON= python-requests:single:v12 [PY312].USES_ON= python:v12,sutools [PY313].BUILDRUN_DEPENDS_ON= python-requests:single:v13 [PY313].USES_ON= python:v13,sutools [FILE:1237:descriptions/desc.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 [FILE:117:distinfo] 994891b925366cd72e5d6522c0b574c1ebbc71a99c333b15bfa8d5277eb01372 17259 python-src/python-netbox-0.0.24.tar.gz