azure-mgmt-compute
Microsoft Azure Compute Management Client Library for Python
Decision gist · record as of 2026-08-14
Yes. This is the official, actively maintained Azure compute SDK for Python. It has low install friction, permissive licensing, no known vulnerabilities, and broad platform support (Python 3.10–3.14). Install it if you need to manage Azure compute resources programmatically; it is the standard choice for that task.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Requires Azure subscription and environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, and AZURE_SUBSCRIPTION_ID to be set for authentication.
- Low friction: pure Python wheel with only three lightweight runtime dependencies (isodate, azure-mgmt-core, typing-extensions).
License · maintenance · safety
MIT (permissive) — MIT license (permissive): you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2026-07-20 (25 days) · last repo commit 2026-08-14 · 5,588 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 19,953,480 downloads/mo, #1,050 on PyPI
Alternatives
Verify before relying
pip install azure-mgmt-compute
from azure.mgmt.compute import ComputeManagementClient
from azure.identity import DefaultAzureCredential
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = ComputeManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)- Whether the package supports all Azure compute resource types your use case requires (e.g., interconnect blocks, lifecycle hooks, immutability policies added in recent versions).
- Performance characteristics and rate-limiting behavior when managing large numbers of resources or bulk operations.
- Compatibility with authentication methods beyond Microsoft Entra token authentication.
What it is and what it does
azure-mgmt-compute is the official Microsoft Azure SDK for Python that lets you programmatically manage compute infrastructure in Azure. It wraps the Azure Resource Manager REST API, exposing operations to create, update, delete, and query virtual machines, scale sets, disks, snapshots, galleries, and related resources. The package handles authentication via Microsoft Entra and provides strongly typed models for all Azure compute entities.
You use it when you need to automate infrastructure provisioning, manage VM lifecycle at scale, or integrate Azure compute operations into Python applications. It requires Python 3.10 or later and depends on azure-mgmt-core for common SDK plumbing, isodate for date handling, and typing-extensions for type hints. The package is actively maintained, supports current Python versions, and carries no known vulnerabilities.
Use it for
- Automate provisioning and teardown of virtual machines and scale sets in CI/CD pipelines or infrastructure-as-code workflows.
- Build management dashboards or monitoring tools that query VM status, disk usage, and gallery metadata across Azure subscriptions.
- Implement custom scaling policies or lifecycle hooks for application-driven VM orchestration.
- Manage disk snapshots and immutability policies programmatically for backup and compliance automation.
- Integrate Azure compute operations into multi-cloud or hybrid infrastructure management platforms.
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 compute SDK for Python. It has low install friction, permissive licensing, no known vulnerabilities, and broad platform support (Python 3.10–3.14). Install it if you need to manage Azure compute resources programmatically; it is the standard choice for that task.
Install
azure-mgmt-compute on PyPI
Before you install
Low friction: pure Python wheel with only three lightweight runtime dependencies (isodate, azure-mgmt-core, typing-extensions). Actively maintained—latest release 25 days old, repository last committed 2026-08-14, no archived status.
Requires Python 3.10 or later. Requires Azure subscription and environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, and AZURE_SUBSCRIPTION_ID to be set for authentication.
License in practice
MIT license (permissive): you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install azure-mgmt-compute
from azure.mgmt.compute import ComputeManagementClient
from azure.identity import DefaultAzureCredential
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = ComputeManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Verify before relying
- Whether the package supports all Azure compute resource types your use case requires (e.g., interconnect blocks, lifecycle hooks, immutability policies added in recent versions).
- Performance characteristics and rate-limiting behavior when managing large numbers of resources or bulk operations.
- Compatibility with authentication methods beyond Microsoft Entra token authentication.
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 25 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 19,953,480 / month, #1,050 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_compute-38.2.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 › “azure virtual machine sdk”
- azure-mgmt-computeProvides Python bindings to manage Azure compute resources—virtual…
- azure-mgmt-sqlvirtualmachineManages SQL Server virtual machines in Microsoft Azure, providing a…
- azure-mgmt-networkManages Azure network resources (virtual networks, load balancers,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.
Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.
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…
Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.
Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.
Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.
Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
See also azure-mgmt-hybridcompute · azure-mgmt-containerservice · azure-mgmt-resource · azure-mgmt-apimanagement · azure-mgmt-machinelearningcompute · azure-mgmt-databoxedge · azure-mgmt-resource-deployments · azure-mgmt-costmanagement · azure-mgmt-network · azure-mgmt-storage