NetBox SDK¶
SDK-first NetBox toolkit for Python, the terminal, and Textual UIs.
netbox-sdk is built as three sibling packages:
netbox_sdk— standalone NetBox REST SDKnetbox_cli— Typer-powered CLInetbox_tui— Textual-powered TUI
The repository ships three public surfaces:
netbox_sdkfor Python integrationsnbxfor CLI workflows- multiple Textual TUIs for browsing, debugging, and guided command execution
The SDK package itself exposes three layers:
NetBoxApiClientfor low-level async HTTP controlapi()/Apifor the async facade layertyped_api()for the versioned typed client backed by committed Pydantic models
The current typed SDK release lines are NetBox 4.6, 4.5, 4.4, and 4.3, plus 4.7 as an opt-in preview line.
Continuous integration exercises the live-NetBox suite against
v4.6.6, v4.6.3, v4.6.2, and v4.5.10.
Documented release
This site documents the netbox-sdk 0.0.11 source candidate. The latest final release on the default PyPI index is 0.0.11; use ==0.0.11 for a reproducible normal-index install. Release candidates are validated through an access-controlled package registry, TestPyPI, and source artifacts, not published to the default PyPI index.
-
SDK
-
CLI
-
TUI
-
Quick Start
Product split¶
SDKdocs focus on importable Python APIs, request layers, authentication, and versioned typed clients.CLIdocs focus on thenbxcommand tree, dynamic commands, GraphQL, demo profile, and captured command examples.TUIdocs focus on the main browser, developer workbench, CLI builder, logs viewer, and Django model browser.