azure-storage-file
Microsoft Azure Storage File Client Library for Python
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- 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.
- Low install friction with a pure-Python wheel distribution.
License · maintenance · safety
MIT License (permissive) — MIT License (permissive) permits commercial and private use with minimal restrictions, making it safe to adopt in most projects.
last release 2019-08-02 (2569 days) · last repo commit 2024-08-09 · 344 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,732,434 downloads/mo, #2,915 on PyPI
Alternatives
Verify before relying
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')- 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.
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 on it.
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
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.
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.
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')
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 packagesazure-commonazure-storage-commonfutures |
| 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 |
| Classifiers | 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 |
Evidence: azure_storage_file-2.1.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “azure file storage client”
- azure-storage-fileProvides a Python client library to create, read, update, and delete…
- azure-storage-commonProvides shared client library code for Microsoft Azure Storage…
- azure-storage-file-datalakeProvides Python client library for Azure Data Lake Storage Gen2,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also azure-storage-common · azure-cosmosdb-table · azure-multiapi-storage · azure-storage-nspkg · azure-storage-blob · azure-storage · azure-storage-queue · azure-storage-file-datalake · azure-storage-file-share · google-cloud-filestore