{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/5"}],"enrichment":{"capability":"Executes Azure CLI commands from Python and returns structured results as a named tuple containing exit code, parsed output dictionary, and error logs.","skillfed_tags":["azure-integration","cli-wrapper"],"use_cases":["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."],"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.\n\nThe 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.","worth_installing":"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."},"id":"az-cli","links":{"html":"https://skillfed.io/packages/az-cli","md":"https://skillfed.io/packages/az-cli.md","pypi":"https://pypi.org/project/az-cli/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2021-03-14","license_spdx":null,"license_treatment":"permissive","name":"az.cli","python_support":"supports_current","summary":"An interface to execute Azure CLI commands using Python"},"popularity":{"monthly_downloads":585025,"position":5887,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.5"}
