neutron-lib
Neutron shared routines and utilities
Decision gist · record as of 2026-08-14
Yes, if you are developing or deploying OpenStack Neutron plugins or related networking services. No, if you are building standalone networking applications outside the OpenStack ecosystem—this library is tightly coupled to OpenStack infrastructure and has no value outside that context.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later; intended for OpenStack deployments and Neutron plugin development.
- Low install friction with a pure-Python wheel.
- Active maintenance with a release within the last day.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, typical for OpenStack projects.
last release 2026-08-13 (1 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 161,217 downloads/mo, #10,640 on PyPI
Alternatives
Verify before relying
pip install neutron-lib
from neutron_lib import constants
from neutron_lib.api import validators
# Use shared constants and validators
port_id = constants.DEVICE_OWNER_COMPUTE_PREFIX- Specific API surface and which Neutron plugin use cases are best served by this library versus direct Neutron imports.
- Whether the 24 runtime dependencies are all required for typical usage or if many are optional/conditional.
What it is and what it does
Neutron-lib is a shared library within the OpenStack Neutron networking ecosystem that extracts common code, constants, validators, and utilities used across Neutron plugins and related projects. It exists to reduce duplication and provide a stable, versioned interface for code that multiple Neutron components depend on.
The library is built on top of Oslo libraries (oslo.config, oslo.db, oslo.policy, etc.) and other OpenStack infrastructure components, and is primarily consumed by Neutron plugins, agents, and related OpenStack networking services. It is not a general-purpose networking library, but rather an internal abstraction layer for the OpenStack Neutron project itself.
Use it for
- Developing or extending OpenStack Neutron plugins that need access to shared constants, validators, and common abstractions.
- Building Neutron agents or services that require standardized configuration, logging, and policy handling via Oslo libraries.
- Integrating with OpenStack deployments where Neutron plugin code needs a stable, versioned set of shared utilities.
- Accessing OpenStack-specific networking constants and data models used across Neutron components.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are developing or deploying OpenStack Neutron plugins or related networking services.
No, if you are building standalone networking applications outside the OpenStack ecosystem—this library is tightly coupled to OpenStack infrastructure and has no value outside that context.
Install
neutron-lib on PyPI
Before you install
Low install friction with a pure-Python wheel. Active maintenance with a release within the last day. Depends on 24 runtime packages, mostly Oslo libraries and other OpenStack components, which is typical for OpenStack infrastructure code.
Requires Python 3.11 or later; intended for OpenStack deployments and Neutron plugin development.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions, typical for OpenStack projects.
Quickstart
pip install neutron-lib
from neutron_lib import constants
from neutron_lib.api import validators
# Use shared constants and validators
port_id = constants.DEVICE_OWNER_COMPUTE_PREFIX
Verify before relying
- Specific API surface and which Neutron plugin use cases are best served by this library versus direct Neutron imports.
- Whether the 24 runtime dependencies are all required for typical usage or if many are optional/conditional.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 24 packagespbrSQLAlchemypecankeystoneauth1netaddrstevedoreos-kenoslo.concurrencyoslo.configoslo.contextoslo.dboslo.i18noslo.logoslo.messagingoslo.policyoslo.serializationoslo.serviceoslo.utilsoslo.versionedobjectsosprofilersetproctitleWebObos-traitsdebtcollector |
| Maintenance | Actively maintained 1 days since the last release |
| First released | |
| Downloads | 161,217 / month, #10,640 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: OpenStackIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13 |
Evidence: neutron_lib-5.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “openstack neutron shared library”
- neutron-libNeutron-lib provides shared routines, utilities, and common…
- python-neutronclientPython bindings and client library for the OpenStack Neutron API,…
- os-kenos-ken is a component-based software defined networking framework for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Networking packages
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
uvloop is a drop-in replacement for Python's built-in asyncio event loop, implemented in Cython and using libuv, that accelerates async I/O operations.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
PyZMQ provides Python bindings for ZeroMQ (ØMQ), a lightweight messaging library that enables fast, asynchronous communication between distributed processes and applications.
See also python-neutronclient · ruamel.base · os-ken · glance-store · braintrust-core · os-vif · os-testr · oslo.vmware · scverse-misc · oslo.cache