skillfed

azure-storage-file-share

Microsoft Azure Azure File Share Storage Client Library for Python

azure-storage-file-share v12.26.0 19.4M downloads/30d#1,065 on PyPI5,588
Permissive license MIT License Active released

What it is and what it does

This is the official Python client library for Azure File Share storage, part of the Azure SDK. It provides a programmatic interface to interact with fully managed file shares hosted in Azure, accessible via the standard SMB protocol. You can work with storage accounts, file shares, directories, and individual files up to 1 TiB in size.

The library supports multiple authentication methods (shared keys, SAS tokens, and other credential types) and offers both synchronous and asynchronous APIs. It's designed for scenarios like replacing on-premises file servers, migrating applications to the cloud, or sharing configuration and diagnostic data across cloud and on-premises deployments. The package is production-stable, actively maintained, and part of the official Azure SDK ecosystem.

Use it for:

  • Replace on-premises file servers with cloud-hosted shares accessible from multiple operating systems.
  • Store and retrieve shared application configuration, diagnostic logs, and dev/test artifacts in the cloud.
  • Implement 'lift and shift' migrations by mounting Azure file shares in existing applications.
  • Cache frequently accessed files on Windows Servers using Azure File Sync for local performance.
  • Programmatically manage file shares, directories, and permissions in automated deployment pipelines.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Interact with Azure File Share storage—create, read, update, and delete files and directories in cloud-hosted SMB file shares accessible from Windows, Linux, and macOS.

Yes. This is a production-stable, actively maintained official Azure SDK library with no known vulnerabilities, low install friction, and permissive licensing. Install it if you need to work with Azure File Share storage from Python—it's the standard way to do so. No gotchas for typical use cases.

Install

azure-storage-file-share on PyPI

pip

pip install azure-storage-file-share

uv

uv add azure-storage-file-share

poetry

poetry add azure-storage-file-share

Installing azure-storage-file-share

Before you install

Low install friction with a pure-Python wheel. Actively maintained with recent releases; last commit 2026-08-14. Depends on azure-core, cryptography, typing-extensions, and isodate—all standard Azure SDK components.

License in practice

MIT License (permissive). You may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install azure-storage-file-share

from azure.storage.fileshare import ShareServiceClient

service = ShareServiceClient(
    account_url="https://<account>.file.core.windows.net/",
    credential="<account_key_or_sas_token>"
)

Requires Python 3.9 or later. You must have an Azure subscription and a pre-configured storage account with file service endpoint.

Verify before relying

  • Whether async support requires aiohttp or another specific transport library to be installed separately.
  • Maximum file size and share capacity limits beyond the 1 TiB per-file mention in the description.

Package facts

License MIT License (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 4 — azure-core, cryptography, typing-extensions, isodate
Maintenance actively maintained — 67 days since the last release
Last repo commit
First released
Downloads 19,395,613/month — #1,065 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_storage_file_share-12.26.0-py3-none-any.whl

Keywords: azure, azure sdk

Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9

Tags

azure file share clientcloud file storage pythonsmb protocol azureazure storage sdkmanaged file sharesazure file synccloud file management
azure-sdkcloud-storagefile-sharing

More Internet packages

botocore

Botocore provides low-level, data-driven access…

permissive · top 100 on PyPI

aiobotocore

Provides an async client for AWS services using…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

filelock

Provides a platform-independent file locking…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

googleapis-common-protos

Provides common Protocol Buffer message…

permissive · top 100 on PyPI

azure-storage-blob

Client library for uploading, downloading, and…

permissive · top 1,000 on PyPI

pysmb

pysmb implements the SMB/CIFS protocol to let…

permissive · top 5,000 on PyPI

pins

Pins publishes and shares Python objects (data,…

permissive · top 15,000 on PyPI

azure-storage-queue

Client library for interacting with Azure Queue…

permissive · top 1,000 on PyPI

smbprotocol

SMBv2 and SMBv3 client library for Python that…

permissive · top 5,000 on PyPI

azure-storage

This package is a deprecated bundle for Azure…

permissive · top 5,000 on PyPI

azure-storage-file-datalake

Provides Python client library for Azure Data…

permissive · top 1,000 on PyPI

azure-data-tables

Provides a Python client for reading, writing,…

permissive · top 5,000 on PyPI

azure-mgmt-managedservices

Provides Python client library for managing…

unclear · top 15,000 on PyPI

azure-mgmt-iothubprovisioningservices

Manages Azure IoT Hub Provisioning Services…

permissive · top 5,000 on PyPI