skillfed

azure-mgmt-devtestlabs

Microsoft Azure Devtestlabs Management Client Library for Python

azure-mgmt-devtestlabs v9.0.1 2.3M downloads/30d#3,159 on PyPI5,588
License unclear Active released

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-devtestlabs

uv

uv add azure-mgmt-devtestlabs

poetry

poetry add azure-mgmt-devtestlabs

Installing 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

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.9

Tags

azure devtestlabs managementazure lab automationdevtest labs client libraryazure vm lab provisioningazure resource management sdk
azure-sdkinfrastructure-as-codecloud-management

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

azure-mgmt-resource-deployments

Manages Azure resource deployments…

permissive · top 5,000 on PyPI

azure-mgmt-resource-deploymentscripts

Provides a Python client library for managing…

permissive · top 5,000 on PyPI

azure-mgmt-managementpartner

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-logic

Provides Python client library for managing…

permissive · top 5,000 on PyPI

azure-mgmt-resource

Provides Python bindings to manage Azure…

permissive · top 1,000 on PyPI

azure-mgmt-datafactory

Manages Azure Data Factory resources—factories,…

permissive · top 5,000 on PyPI

azure-mgmt-resource-templatespecs

Manages Azure Resource Template Specs through a…

permissive · top 5,000 on PyPI

azure-mgmt-resource-subscriptions

Manages Azure subscriptions and related…

permissive · top 15,000 on PyPI

azure-mgmt-iothubprovisioningservices

Manages Azure IoT Hub Provisioning Services…

permissive · top 5,000 on PyPI

azure-mgmt-managedservices

Provides Python client library for managing…

unclear · top 15,000 on PyPI