skillfed

azure-cli-nspkg

Microsoft Azure CLI Namespace Package

azure-cli-nspkg v3.0.4 75.0K downloads/30d#14,755 on PyPI4,602
Permissive license MIT Active released

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

uv

uv add azure-cli-nspkg

poetry

poetry add azure-cli-nspkg

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7

Tags

azure cli namespace packageazure cli extension infrastructureazure nspkgcli namespace supportazure command extension base
azure-ecosystemnamespace-package

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

Provides the namespace package infrastructure…

permissive · top 5,000 on PyPI

azure-mgmt-datalake-nspkg

Provides namespace package infrastructure for…

permissive · top 5,000 on PyPI

azure-mgmt-nspkg

Provides the namespace package infrastructure…

permissive · top 5,000 on PyPI

azure-cosmosdb-nspkg

Provides a namespace package stub for Azure…

permissive · top 5,000 on PyPI

azure-cli-acr

Provides the Azure CLI 'acr' command module for…

permissive · top 15,000 on PyPI

azure-storage-nspkg

Provides the Azure Storage namespace package…

permissive · top 5,000 on PyPI

azurefunctions-extensions-base

Provides base infrastructure for Azure…

permissive · top 15,000 on PyPI

azure-cli-telemetry

Collects and uploads telemetry data for the…

permissive · top 5,000 on PyPI

azure-cli-sql

A command-line module for the Azure CLI that…

permissive · top 15,000 on PyPI

azure-keyvault

A bundle package that installs three Azure Key…

permissive · top 5,000 on PyPI