Skip to main content

NetBox Python API Client

Project description

NetBox Python

Python API client library for NetBox.

Note: This is a preliminary release and still under development.

Release Build status Commit activity License

Project license

Pull Requests welcome code with love by netbox-community

Table of Contents

About

This is a thin python wrapper over the NetBox API.

Getting Started

To install run pip install netbox-python.

Alternatively, you can clone the repo and run python setup.py install.

Usage

The full documentation is at https://netbox-community.github.io/netbox-python/, but the following should be enough to get started using it.

To begin, import the NetBox client and instantiate it:

from netbox_python import NetBoxClient
nb = NetBoxClient(
    base_url="http://127.0.0.1:8000/", token="1dc6fa5bfcef8390dd83a261c36ed8f1551b2d6b"
)

The first argument NetBoxClient takes is the NetBox URL. The 'token' argument is from NetBox.

Roadmap

See the open issues for a list of proposed features (and known issues).

Support

Reach out to the maintainer at one of the following places:

Contributing

First off, thanks for taking the time to contribute! Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated.

Please read our contribution guidelines, and thank you for being involved!

Authors & contributors

The original setup of this repository is by Arthur Hanson.

For a full list of all authors and contributors, see the contributors page.

License

This project is licensed under the Apache Software License 2.0.

See LICENSE for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netbox_python-0.1.0.tar.gz (19.8 kB view details)

Uploaded Source

Built Distribution

netbox_python-0.1.0-py2.py3-none-any.whl (15.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file netbox_python-0.1.0.tar.gz.

File metadata

  • Download URL: netbox_python-0.1.0.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for netbox_python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c77e1ff5ff7bd44561d5a16ec362081202753965e88d5947edaa8a2d8e901aea
MD5 ffbc2e87e00c412863353b1779b876e4
BLAKE2b-256 c7df223eeb4687243b97d9ce4979fed894fb19cd8eb517ed5295721ed8bce83b

See more details on using hashes here.

File details

Details for the file netbox_python-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for netbox_python-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c8302c84df4f6ac63c83f8cdeba160b59ed9856fdf5dffcfa09958fad5ff1441
MD5 8c1007d7d3a4e6e24de378fea8277f6c
BLAKE2b-256 9cbb290d12a139e68657637a0b96abdfeab1055b326fc17a2e2489ab4277dae2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page