azure-cli-nspkg
Microsoft Azure CLI Namespace Package
What it is and what it does
azure-cli-nspkg is a namespace package that establishes the package structure needed for Microsoft Azure CLI and its extensions to coexist and extend one another. It does not provide CLI commands or user-facing functionality itself; instead, it defines the Python namespace hierarchy that allows separate packages (such as azure-cli-core and individual command modules) to register themselves as part of the same logical azure namespace without conflicting.
The package is a foundational dependency for the Azure CLI ecosystem. It is automatically installed as a transitive dependency when you install Azure CLI or its extensions, and it should not be installed directly by end users. Its role is purely infrastructural—enabling the modular architecture that allows Azure CLI to be extended with new commands and features through separate, independently-versioned packages.
Use it for:
- Developing custom Azure CLI extensions that need to register commands in the azure namespace.
- Installing Azure CLI and its official command modules, which depend on this namespace package.
- Maintaining a modular Azure CLI installation where different command groups are provided by separate packages.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides namespace package infrastructure for Microsoft Azure CLI extensions to register and extend the azure cli command hierarchy.
No—not for direct installation. This is a transitive dependency that should be installed automatically when you install Azure CLI or its extensions. Installing it directly serves no purpose and may indicate a misconfiguration. If you are developing Azure CLI extensions, it will be pulled in as a dependency; if you are an end user, install azure-cli instead.
Install
azure-cli-nspkg on PyPI
pip
pip install azure-cli-nspkguv
uv add azure-cli-nspkgpoetry
poetry add azure-cli-nspkgInstalling azure-cli-nspkg
Before you install
Low install friction with a single lightweight runtime dependency (azure-nspkg). Maintenance status is active with recent repository activity, though the package itself has not been updated since 2019-07-02.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install azure-cli-nspkg
# This package is not intended for direct end-user installation.
# It is installed as a dependency by Azure CLI extension packages.
This is a namespace package intended for use by other Azure CLI packages, not for direct end-user installation or standalone use.
Verify before relying
- Whether this package is still required for modern Azure CLI extension development or if the namespace structure has evolved.
- Current Python version support beyond the classifiers (which list up to 3.7); the package may work on newer versions but this is not explicitly documented.
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — azure-nspkg |
| Maintenance | actively maintained — 2,600 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 75,025/month — #14,755 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_cli_nspkg-3.0.4-py2.py3-none-any.whl; azure_cli_nspkg-3.0.4-py3-none-any.whl
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-nspkgProvides the namespace package infrastructure…
permissive · top 5,000 on PyPI
azure-mgmt-datalake-nspkgProvides namespace package infrastructure for…
permissive · top 5,000 on PyPI
azure-mgmt-nspkgProvides the namespace package infrastructure…
permissive · top 5,000 on PyPI
azure-cosmosdb-nspkgProvides a namespace package stub for Azure…
permissive · top 5,000 on PyPI
azure-cli-acrProvides the Azure CLI 'acr' command module for…
permissive · top 15,000 on PyPI
azure-storage-nspkgProvides the Azure Storage namespace package…
permissive · top 5,000 on PyPI
azurefunctions-extensions-baseProvides base infrastructure for Azure…
permissive · top 15,000 on PyPI
azure-cli-telemetryCollects and uploads telemetry data for the…
permissive · top 5,000 on PyPI
azure-cli-sqlA command-line module for the Azure CLI that…
permissive · top 15,000 on PyPI
azure-keyvaultA bundle package that installs three Azure Key…
permissive · top 5,000 on PyPI