azure-mgmt-network
Microsoft Azure Network Management Client Library for Python
Decision gist · record as of 2026-08-14
Yes. This is the official, actively maintained Azure network management client for Python. Install it if you need to manage Azure networking resources programmatically. Low install friction, no security vulnerabilities, and MIT licensing make it a straightforward choice for Azure-native projects. Verify that your codebase can accommodate the breaking changes in version 31.0.0 (hybrid models, method signature changes) if upgrading from earlier versions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10+.
- Authentication requires environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, and AZURE_SUBSCRIPTION_ID to be set.
- Low friction install with three lightweight runtime dependencies (isodate, azure-mgmt-core, typing-extensions).
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions. No copyleft obligations.
last release 2026-07-02 (43 days) · last repo commit 2026-08-14 · 5,588 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,916,363 downloads/mo, #1,811 on PyPI
Alternatives
Verify before relying
pip install azure-mgmt-network
from azure.mgmt.network import NetworkManagementClient
from azure.mgmt.core import DefaultAzureCredential
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = NetworkManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)- Whether hybrid model migration (mentioned in breaking changes) affects existing codebases using earlier versions.
- Performance characteristics when managing large numbers of network resources.
- Specific Azure regions or cloud environments supported by this client version.
What it is and what it does
This is Microsoft's official Python client library for managing Azure network infrastructure. It provides programmatic access to create, read, update, and delete virtual networks, subnets, network interfaces, load balancers, firewalls, ExpressRoute circuits, and related networking resources within Azure subscriptions. The library wraps Azure's REST APIs and handles authentication via Microsoft Entra tokens, with dependencies on isodate, azure-mgmt-core, and typing-extensions.
Version 31.0.1 is production-stable and actively maintained, supporting Python 3.10 through 3.14. Recent releases added new operation groups (commits, connection_policies, interconnect_groups, subgroups) and models for advanced networking scenarios like DDoS protection, ExpressRoute failover testing, and managed HSM integration. Breaking changes in 31.0.0 introduced hybrid models and modified method signatures for IPAM and network group operations.
Use it for
- Automate provisioning and configuration of Azure virtual networks, subnets, and network security groups in infrastructure-as-code pipelines.
- Manage load balancer rules, backend pools, and health probes programmatically across multiple Azure subscriptions.
- Configure ExpressRoute circuits and gateways for hybrid cloud connectivity and failover testing.
- Implement DDoS protection policies and firewall rules at scale across enterprise Azure deployments.
- Query and monitor network resource state, including connection monitors and traffic analytics.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is the official, actively maintained Azure network management client for Python. Install it if you need to manage Azure networking resources programmatically. Low install friction, no security vulnerabilities, and MIT licensing make it a straightforward choice for Azure-native projects. Verify that your codebase can accommodate the breaking changes in version 31.0.0 (hybrid models, method signature changes) if upgrading from earlier versions.
Install
azure-mgmt-network on PyPI
Before you install
Low friction install with three lightweight runtime dependencies (isodate, azure-mgmt-core, typing-extensions). Actively maintained as of 2026-08-14 with recent release 31.0.1 on 2026-07-02. Requires Python 3.10 or later; no compiled dependencies.
Requires Python 3.10+. Authentication requires environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, and AZURE_SUBSCRIPTION_ID to be set.
License in practice
MIT license permits commercial and private use with minimal restrictions. No copyleft obligations.
Quickstart
pip install azure-mgmt-network
from azure.mgmt.network import NetworkManagementClient
from azure.mgmt.core import DefaultAzureCredential
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = NetworkManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Verify before relying
- Whether hybrid model migration (mentioned in breaking changes) affects existing codebases using earlier versions.
- Performance characteristics when managing large numbers of network resources.
- Specific Azure regions or cloud environments supported by this client version.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesisodateazure-mgmt-coretyping-extensions |
| Maintenance | Actively maintained 43 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 6,916,363 / month, #1,811 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/StableProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: azure_mgmt_network-31.0.1-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 › “azure network management python”
- azure-mgmt-networkManages Azure network resources (virtual networks, load balancers,…
- azure-mgmt-relayManages Azure Relay namespaces, hybrid connections, and WCF relays…
- azure-mgmt-cdnManages Azure CDN resources (profiles, endpoints, origins, domains,…
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 azure-mgmt-botservice · azure-mgmt-hybridcompute · azure-mgmt-privatedns · azure-mgmt-resource · azure-mgmt-cdn · azure-mgmt-apimanagement · azure-core · azure-mgmt-managementgroups · azure-mgmt-frontdoor · azure-mgmt-datafactory