python-neutronclient
CLI and Client Library for OpenStack Networking
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-neutronclientuv
uv add python-neutronclientpoetry
poetry add python-neutronclientInstalling 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
Tags
More Networking packages
h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
psutilpsutil retrieves real-time information about…
permissive · top 1,000 on PyPI
pyOpenSSLpyOpenSSL wraps OpenSSL's SSL/TLS functionality…
permissive · top 1,000 on PyPI
uvloopuvloop is a drop-in replacement for Python's…
permissive · top 1,000 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
pyzmqPyZMQ provides Python bindings for ZeroMQ…
permissive · top 1,000 on PyPI
neutron-libNeutron-lib provides shared routines,…
permissive · top 15,000 on PyPI
python-designateclientPython client library and command-line tool for…
permissive · top 15,000 on PyPI
python-novaclientPython bindings to the OpenStack Compute API,…
permissive · top 15,000 on PyPI
python-swiftclientPython client library for OpenStack Object…
permissive · top 15,000 on PyPI
python-zaqarclientPython client library for the OpenStack Zaqar…
permissive · top 15,000 on PyPI
python-ironicclientPython client library and CLI for the OpenStack…
permissive · top 15,000 on PyPI
python-magnumclientPython bindings and command-line tool for the…
permissive · top 15,000 on PyPI
python-glanceclientPython client library and command-line tool for…
permissive · top 15,000 on PyPI
python-heatclientPython client library and command-line tool for…
permissive · top 15,000 on PyPI
python-manilaclientProvides Python bindings and a command-line…
permissive · top 15,000 on PyPI