azure-mgmt-devtestlabs
Microsoft Azure Devtestlabs Management Client Library for Python
What it is and what it does
This is the official Microsoft Azure SDK client library for managing Dev Test Labs resources. It provides programmatic access to create, configure, and manage labs, virtual machines, formulas, artifact sources, environments, and related infrastructure through the Azure Resource Manager API. The package wraps REST endpoints and handles authentication via Azure Active Directory.
Typical usage involves instantiating a DevTestLabsClient with Azure credentials, then calling methods to provision or manage lab resources. It depends on isodate for date handling, azure-mgmt-core for common ARM client logic, and typing-extensions for type hints. The package is actively maintained, supports Python 3.9 and later, and has no known security vulnerabilities.
Use it for:
- Automate provisioning and teardown of development and test lab environments in Azure.
- Programmatically manage lab virtual machines, including creation, deletion, and configuration.
- Deploy formulas and custom images to labs for repeatable environment setup.
- Integrate lab resource management into CI/CD pipelines or infrastructure-as-code workflows.
- Query and monitor lab resources, artifact sources, and environment states via API.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Manages Azure Dev Test Labs resources—labs, virtual machines, formulas, artifacts, and environments—through the Azure Resource Manager API.
Yes, if you need to manage Azure Dev Test Labs resources programmatically. The package is stable, actively maintained, and has low install friction. However, verify the unclear license terms before use in proprietary contexts, and ensure your Azure subscription and authentication environment variables are properly configured before deploying.
Install
azure-mgmt-devtestlabs on PyPI
pip
pip install azure-mgmt-devtestlabsuv
uv add azure-mgmt-devtestlabspoetry
poetry add azure-mgmt-devtestlabsInstalling azure-mgmt-devtestlabs
Before you install
Low friction install with three lightweight runtime dependencies. Actively maintained; last commit 2026-08-14 with a release 88 days prior. Supports Python 3.9+ across current and recent versions.
License in practice
License treatment is unclear; no SPDX or raw license metadata is available in the package record. Verify licensing terms before use in proprietary or restricted contexts.
Quickstart
pip install azure-mgmt-devtestlabs
from azure.mgmt.devtestlabs import DevTestLabsClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = DevTestLabsClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
Requires Azure subscription and environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, and AZURE_SUBSCRIPTION_ID for authentication.
Verify before relying
- Whether DefaultAzureCredential is available as a separate package dependency or must be installed separately.
- Scope and completeness of breaking changes introduced in 10.0.0b1 and their impact on existing code.
- Whether the package is compatible with the latest Azure SDK ecosystem changes post-release.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — isodate, azure-mgmt-core, typing-extensions |
| Maintenance | actively maintained — 88 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,295,884/month — #3,159 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_devtestlabs-9.0.1-py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
azure-mgmt-resource-deploymentsManages Azure resource deployments…
permissive · top 5,000 on PyPI
azure-mgmt-resource-deploymentscriptsProvides a Python client library for managing…
permissive · top 5,000 on PyPI
azure-mgmt-managementpartnerProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-logicProvides Python client library for managing…
permissive · top 5,000 on PyPI
azure-mgmt-resourceProvides Python bindings to manage Azure…
permissive · top 1,000 on PyPI
azure-mgmt-datafactoryManages Azure Data Factory resources—factories,…
permissive · top 5,000 on PyPI
azure-mgmt-resource-templatespecsManages Azure Resource Template Specs through a…
permissive · top 5,000 on PyPI
azure-mgmt-resource-subscriptionsManages Azure subscriptions and related…
permissive · top 15,000 on PyPI
azure-mgmt-iothubprovisioningservicesManages Azure IoT Hub Provisioning Services…
permissive · top 5,000 on PyPI
azure-mgmt-managedservicesProvides Python client library for managing…
unclear · top 15,000 on PyPI