skillfed

azure-storage-file

Microsoft Azure Storage File Client Library for Python

azure-storage-file v2.1.0 2.7M downloads/30d#2,915 on PyPI344
Permissive license MIT License DORMANT released

What it is and what it does

azure-storage-file is a Python client library for Microsoft Azure Storage's file service, enabling programmatic management of file shares, directories, and files in the cloud. It abstracts the Azure Storage REST API into a straightforward Python interface, allowing you to create and delete shares, upload and download files, and perform directory operations without manually handling HTTP requests or authentication.

The package depends on azure-common and azure-storage-common for shared authentication and utility logic. It targets Python 2.7 and 3.3–3.7 and is distributed as a pure-Python wheel, making installation straightforward. However, the package has been dormant since August 2019 and is considered legacy; Microsoft has moved file storage functionality into the newer azure-storage-file-share package, which receives active maintenance.

Use it for:

  • Upload and download files to Azure file shares from a Python application without writing REST API calls directly.
  • Automate backup or archival workflows by programmatically creating shares and uploading batches of files to Azure Storage.
  • Manage file share permissions and directory hierarchies in Azure Storage as part of infrastructure-as-code or deployment automation.
  • Integrate Azure file storage into legacy Python applications that depend on the older azure-storage-file API.

Worth the install?

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

Provides a Python client library to create, read, update, and delete files and shares in Microsoft Azure Storage, with support for advanced file operations.

Yes, but with conditions. The package is stable and has no known vulnerabilities, making it safe for existing workloads already using it. However, do not adopt it for new projects—Microsoft has deprecated this package in favor of azure-storage-file-share, which receives active maintenance. If you are starting a new project, use the newer package instead. For legacy applications already depending on azure-storage-file, it remains functional and low-risk to keep installed.

Install

azure-storage-file on PyPI

pip

pip install azure-storage-file

uv

uv add azure-storage-file

poetry

poetry add azure-storage-file

Installing azure-storage-file

Before you install

Low install friction with a pure-Python wheel distribution. Maintenance is dormant—the package has not released since 2019-08-02, though the repository remains active with a recent commit on 2024-08-09. Suitable for stable, established workloads but not for projects requiring ongoing updates or bug fixes.

License in practice

MIT License (permissive) permits commercial and private use with minimal restrictions, making it safe to adopt in most projects.

Quickstart

pip install azure-storage-file

from azure.storage.file import FileService

file_service = FileService(account_name='myaccount', account_key='mykey')
file_service.create_share('myshare')
file_service.create_file_from_text('myshare', None, 'myfile.txt', 'Hello World')

Requires an Azure Storage account with valid credentials (account name and key). This package is deprecated in favor of the newer azure-storage-file-share package.

Verify before relying

  • Whether this package is still recommended for new projects or if migration to azure-storage-file-share is mandatory.
  • Current compatibility with Python versions beyond 3.7, given the dormant maintenance status.
  • Whether all advanced file operations mentioned in the description are fully functional in version 2.1.0.

Package facts

License MIT License (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 3 — azure-common, azure-storage-common, futures
Maintenance dormant — 2,569 days since the last release
Last repo commit
First released
Downloads 2,732,434/month — #2,915 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_storage_file-2.1.0-py2.py3-none-any.whl

Development Status :: 4 - BetaLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7

Tags

azure file storage clientazure files python sdkazure share managementcloud file operationsazure storage file api
azure-clouddeprecatedfile-storage

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

Provides shared client library code for…

permissive · top 5,000 on PyPI

azure-cosmosdb-table

Client library for reading, writing, and…

permissive · top 5,000 on PyPI

azure-multiapi-storage

Provides access to multiple versions of Azure…

permissive · top 5,000 on PyPI

azure-storage-nspkg

Provides the Azure Storage namespace package…

permissive · top 5,000 on PyPI

azure-storage-blob

Client library for uploading, downloading, and…

permissive · top 1,000 on PyPI

azure-storage

This package is a deprecated bundle for Azure…

permissive · top 5,000 on PyPI

azure-storage-queue

Client library for interacting with Azure Queue…

permissive · top 1,000 on PyPI

azure-storage-file-datalake

Provides Python client library for Azure Data…

permissive · top 1,000 on PyPI

azure-storage-file-share

Interact with Azure File Share storage—create,…

permissive · top 5,000 on PyPI

google-cloud-filestore

Python client library for creating and managing…

permissive · top 15,000 on PyPI