The `azure-storage-nspkg` package is an internal Microsoft Azure Storage namespace package, primarily associated with the V2 Python SDK for Azure Storage. This package served to define the `azure.storage` namespace, allowing older client libraries like `azure-storage-blob` (versions < 3), `azure-storage-file`, and `azure-storage-queue` to be imported under this common prefix. The V2 SDK is deprecated; users should migrate to the V12 SDK, which uses separate, hyphenated packages (e.g., `azure-storage-blob` version 12.x.x) and does not require or use `azure-storage-nspkg`.
pip install azure-storage-nspkgVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to connect to Azure Blob Storage using the *V12 SDK* (`azure-storage-blob` version 12.x.x), which is the currently recommended approach. This package (`azure-storage-nspkg`) is not required for the V12 SDK. Replace `youraccount` and `yourkey` with your actual Azure Storage account details or set the `AZURE_STORAGE_CONNECTION_STRING` environment variable.
Migrate your code to use the V12 SDK. Refer to the official Microsoft documentation for migration guides (search 'Migrate from Azure Storage SDK V2 to V12 Python'). Install `azure-storage-blob`, `azure-storage-file-share`, or `azure-storage-queue` directly.
Avoid using `azure-storage-nspkg`. Install and use the V12 client libraries, such as `azure-storage-blob>=12.0.0`, `azure-storage-file-share>=12.0.0`, and `azure-storage-queue>=12.0.0`. These packages do not depend on or require `azure-storage-nspkg`.
Always explicitly specify the major version when installing: `pip install azure-storage-blob==2.*` for V2 (legacy) or `pip install azure-storage-blob>=12` for V12 (recommended). For new projects, *only* install V12 packages and avoid `azure-storage-nspkg` entirely.
No dependency data recorded yet.