skillfed

azure-devops

Python wrapper around the Azure DevOps 7.x APIs

azure-devops v7.1.0b4 5.2M downloads/30d#2,148 on PyPI684
Permissive license MIT AGING released

What it is and what it does

Azure DevOps is a thin Python wrapper around the Azure DevOps REST APIs, allowing developers to programmatically interact with Azure DevOps resources such as projects, teams, work items, repositories, and pipelines. It powers the Azure DevOps Extension for Azure CLI and is built on msrest for HTTP communication.

The package uses a connection-based model where you authenticate with a personal access token, obtain a connection object, and then retrieve typed clients (like core_client) to make API calls. It handles pagination and response objects transparently, making it suitable for automation scripts, CI/CD integrations, and administrative tools that need to interact with Azure DevOps programmatically.

Use it for:

  • Automate project and team management tasks across multiple Azure DevOps organizations.
  • Build custom dashboards or reporting tools that pull data from Azure DevOps work items and repositories.
  • Integrate Azure DevOps with external systems or workflows via Python scripts.
  • Manage repositories, branches, and pull requests programmatically.
  • Retrieve and process build and release pipeline data for analytics or auditing.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python bindings to the Azure DevOps REST APIs, enabling programmatic access to projects, teams, work items, repositories, and other Azure DevOps resources.

Yes, with conditions. The package is stable and widely used (top 5000 on PyPI), has no known vulnerabilities, and carries a permissive MIT license. However, the aging maintenance status and beta version number (7.1.0b4) suggest you should verify that the current release meets your API coverage needs before committing to production use.

Install

azure-devops on PyPI

pip

pip install azure-devops

uv

uv add azure-devops

poetry

poetry add azure-devops

Installing azure-devops

Before you install

Low install friction with a single runtime dependency (msrest). Maintenance status is aging—last release was in November 2023, though the repository remains active with recent commits and is not archived.

License in practice

MIT license is permissive, allowing commercial use, modification, and distribution with minimal restrictions.

Quickstart

pip install azure-devops

from azure.devops.connection import Connection
from msrest.authentication import BasicAuthentication

credentials = BasicAuthentication('', 'YOUR_PAT')
connection = Connection(base_url='https://dev.azure.com/YOURORG', creds=credentials)
core_client = connection.clients.get_core_client()
projects = core_client.get_projects()

Requires a personal access token (PAT) from Azure DevOps and the organization URL to authenticate.

Verify before relying

  • Whether the beta version (7.1.0b4) is suitable for production use or if a stable release is recommended.
  • Current API coverage relative to the latest Azure DevOps REST API specification.
  • Whether the aging maintenance status indicates planned deprecation or simply stable maturity.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.7)
Install friction low — pure-Python wheel
Runtime dependencies 1 — msrest
Maintenance aging — 998 days since the last release
Last repo commit
First released
Downloads 5,177,331/month — #2,148 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_devops-7.1.0b4-py3-none-any.whl

Keywords: Microsoft, VSTS, Team Services, SDK, AzureTfs, AzureDevOps, DevOps

Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

azure devops python apiazure devops sdkazure devops rest clientdevops automation pythonazure devops project managementazure pipelines pythonazure repos python client
azuredevops-automationrest-api-client

More Software Development packages