skillfed

python-neutronclient

CLI and Client Library for OpenStack Networking

python-neutronclient v13.0.0 398.3K downloads/30d#6,954 on PyPI
Permissive license Active released

What it is and what it does

python-neutronclient is a Python library that provides direct programmatic access to the OpenStack Neutron API, allowing developers to manage networks, subnets, ports, and other networking resources in OpenStack environments. It wraps the Neutron REST API and exposes it through a Python module, making it easier to integrate OpenStack networking operations into Python applications and scripts.

The package is officially deprecated as of its latest releases—the CLI tools have been removed and no new features will be added. However, it remains actively maintained for use by other OpenStack projects that depend on it. New development should target openstacksdk instead. The library depends on a suite of OpenStack and utility packages including keystoneauth1 for authentication, oslo libraries for logging and serialization, and cliff for command-line integration.

Use it for:

  • Programmatically create, update, and delete networks and subnets in OpenStack environments from Python code.
  • Manage network ports, security groups, and routing rules as part of infrastructure-as-code workflows.
  • Query and monitor OpenStack networking resources in existing deployments that already depend on this client.
  • Integrate OpenStack network operations into Python applications running on OpenStack infrastructure.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Python bindings and client library for the OpenStack Neutron API, providing programmatic access to OpenStack networking resources and operations.

Yes-with-conditions. Install if you are maintaining or extending an existing OpenStack project that already depends on python-neutronclient, or if you need to work with legacy OpenStack deployments where this client is already in use. Do not install for new projects—use openstacksdk instead, which is the officially recommended path forward. The package is actively maintained, has low install friction, and carries no known vulnerabilities, but its deprecated status means no new features or enhancements are planned.

Install

python-neutronclient on PyPI

pip

pip install python-neutronclient

uv

uv add python-neutronclient

poetry

poetry add python-neutronclient

Installing python-neutronclient

Before you install

Low install friction with a pure-wheel distribution. Actively maintained as of 36 days ago. Note: the project is officially deprecated—CLI functionality has been removed and no new features are planned; it remains in use by other OpenStack projects but migration to openstacksdk is recommended.

License in practice

Licensed under Apache License 2.0 (permissive). No restrictions on commercial or private use; modifications and redistribution are allowed under the same license terms.

Quickstart

pip install python-neutronclient

from neutronclient.v2_0 import client
netron = client.Client(session=session)
networks = neutron.list_networks()

Requires Python 3.9 or later. Requires an OpenStack Keystone session for authentication (typically obtained via keystoneauth1).

Verify before relying

  • Whether the deprecated status affects long-term reliability or support for existing OpenStack deployments.
  • Performance characteristics and scalability limits for large-scale network operations.
  • Compatibility guarantees with specific OpenStack release versions beyond Python version support.

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 13 — pbr, cliff, debtcollector, netaddr, openstacksdk, osc-lib, oslo.i18n, oslo.log, oslo.serialization, oslo.utils, keystoneauth1, python-keystoneclient, requests
Maintenance actively maintained — 36 days since the last release
First released
Downloads 398,322/month — #6,954 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: python_neutronclient-13.0.0-py3-none-any.whl

Environment :: OpenStackIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPython

Tags

openstack neutron clientopenstack networking api pythonneutron api bindingsopenstack network managementpython openstack sdk alternative
openstackdeprecatednetworking

More Networking packages

h11

h11 is a pure-Python HTTP/1.1 protocol…

permissive · top 100 on PyPI

psutil

psutil retrieves real-time information about…

permissive · top 1,000 on PyPI

pyOpenSSL

pyOpenSSL wraps OpenSSL's SSL/TLS functionality…

permissive · top 1,000 on PyPI

uvloop

uvloop is a drop-in replacement for Python's…

permissive · top 1,000 on PyPI

execnet

execnet lets you spawn and communicate with…

permissive · top 1,000 on PyPI

pyzmq

PyZMQ provides Python bindings for ZeroMQ…

permissive · top 1,000 on PyPI

neutron-lib

Neutron-lib provides shared routines,…

permissive · top 15,000 on PyPI

python-designateclient

Python client library and command-line tool for…

permissive · top 15,000 on PyPI

python-novaclient

Python bindings to the OpenStack Compute API,…

permissive · top 15,000 on PyPI

python-swiftclient

Python client library for OpenStack Object…

permissive · top 15,000 on PyPI

python-zaqarclient

Python client library for the OpenStack Zaqar…

permissive · top 15,000 on PyPI

python-ironicclient

Python client library and CLI for the OpenStack…

permissive · top 15,000 on PyPI

python-magnumclient

Python bindings and command-line tool for the…

permissive · top 15,000 on PyPI

python-glanceclient

Python client library and command-line tool for…

permissive · top 15,000 on PyPI

python-heatclient

Python client library and command-line tool for…

permissive · top 15,000 on PyPI

python-manilaclient

Provides Python bindings and a command-line…

permissive · top 15,000 on PyPI