$npx skillfedfor your agent

az.cli

An interface to execute Azure CLI commands using Python

SkipPyPI UtilitiesReleased Mar 2021585.0K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — az.cli-0.5-py3-none-any.whl
v0.5 · released 2021-03-14 · Python >=3.7 · 1 runtime deps: azure-cli

No. While the package works and has low install friction, it is abandoned (last release 2021-03-14, last commit 2022-02-25). It will not receive updates for new Azure CLI versions, Python releases, or security issues. For new projects, use the official Azure SDK for Python instead; for existing code, consider migrating away.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires azure-cli to be installed and az login or service principal authentication to be configured in ~/.azure before use.
  • Low install friction with a single runtime dependency (azure-cli).
  • However, the package is abandoned—last release was 2021-03-14 and last commit 2022-02-25—so it will not receive updates or security fixes for new Azure CLI versions or Python releases.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute it freely with minimal restrictions.

last release 2021-03-14 (1979 days) · last repo commit 2022-02-25 · 22 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 585,025 downloads/mo, #5,887 on PyPI

Verify before relying

pip install az.cli

from az.cli import az

exit_code, result_dict, logs = az("group show -n test")
if exit_code == 0:
    print(result_dict)
else:
    print(logs)
  • Whether the package works with Azure CLI versions released after 2022-02-25 or Python versions beyond 3.8.
  • Current compatibility with modern azure-cli API changes or breaking changes in the underlying azure.cli.core module.
Same gist for agents: .md · .json

What it is and what it does

Az.cli is a thin Python wrapper around the Azure CLI that lets you call `az` commands from within Python scripts and get back structured results. Instead of shelling out and parsing text, you import the `az` function, call it with a command string (e.g., `az("group list")`), and receive a named tuple with an exit code, a parsed dictionary of the result, and any error logs. It relies on azure-cli being installed and configured on your system, using the same authentication and config stored in ~/.azure that the CLI itself uses.

The package is straightforward: it wraps the azure.cli.core interface and handles the plumbing of invoking commands and unpacking their output. It's useful for automation scripts, infrastructure-as-code tools, or applications that need to orchestrate Azure resources programmatically without building against the full Azure SDK.

Use it for

  • Automate Azure resource provisioning and management from Python scripts without calling subprocess directly.
  • Build infrastructure-as-code tools that need to query or modify Azure resources and parse the results as dictionaries.
  • Integrate Azure CLI commands into larger Python applications where you want structured output rather than text parsing.
  • Write test or validation scripts that verify Azure resource state by running CLI commands and checking the returned data.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

While the package works and has low install friction, it is abandoned (last release 2021-03-14, last commit 2022-02-25). It will not receive updates for new Azure CLI versions, Python releases, or security issues. For new projects, use the official Azure SDK for Python instead; for existing code, consider migrating away.

Install

az-cli on PyPI

Before you install

Low install friction with a single runtime dependency (azure-cli). However, the package is abandoned—last release was 2021-03-14 and last commit 2022-02-25—so it will not receive updates or security fixes for new Azure CLI versions or Python releases.

Requires azure-cli to be installed and az login or service principal authentication to be configured in ~/.azure before use.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute it freely with minimal restrictions.

Quickstart

pip install az.cli

from az.cli import az

exit_code, result_dict, logs = az("group show -n test")
if exit_code == 0:
    print(result_dict)
else:
    print(logs)

Verify before relying

  • Whether the package works with Azure CLI versions released after 2022-02-25 or Python versions beyond 3.8.
  • Current compatibility with modern azure-cli API changes or breaking changes in the underlying azure.cli.core module.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
azure-cli
MaintenanceAbandoned 1,979 days since the last release
Last repo commit
First released
Downloads585,025 / month, #5,887 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8

Evidence: az.cli-0.5-py3-none-any.whl

Tags

Capabilities
azure cli python wrapperrun az commands from pythonazure cli programmatic interfacepython azure management automationexecute azure cli in scripts
Topics
azure-integrationcli-wrapper

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 cli python wrapper”

  • az.cliExecutes Azure CLI commands from Python and returns structured…
  • azure-cli-coreProvides the core Python library and CLI framework for Microsoft…
  • azure-commonProvides shared utilities and common code for Microsoft Azure SDK…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also azure-cli-core · azure-cli · azdev · azure-cli-appservice · azure-cli-acr · azure-cli-sql · knack · azure-mgmt-resource-deploymentscripts · azure-mgmt-domainregistration · azure-storage-blob