Azure Storage samples using Python client libraries
This article provides an overview of code sample scenarios found in our developer guides and samples repository. Click on the links to view the corresponding samples, either in our developer guides or in GitHub repositories.
Developer guides are collections of articles that provide detailed information and code examples for specific scenarios related to Azure Storage services. To learn more about the Blob Storage developer guide for Python, see Get started with Azure Blob Storage and Python.
Note
These samples use the latest Azure Storage Python v12 library. For legacy v2.1 code, see Azure Storage: Getting Started with Azure Storage in Python in the GitHub repository.
Blob samples
The following table links to Azure Blob Storage developer guides and samples that use Python client libraries:
Data Lake Storage samples
The following table links to Azure Data Lake Storage samples that use Python client libraries:
Azure File samples
The following table links to Azure File samples that use Python client libraries:
Queue samples
The following table links to Azure Queues samples that use Python client libraries:
Table samples
The following list links to Azure Table samples that use Python client libraries:
- Instantiate a table client
- Creating and deleting a table in a storage account
- Inserting and deleting individual entities in a table
- Querying tables in a storage account
- Updating, upserting, and merging entities
- Committing many requests in a single batch
- Copying a table between Tables Storage and Blob Storage
- Getting an entity's Etag and timestamp
Samples for deprecated client libraries are available at Azure Table Storage samples for Python.
Azure code sample libraries
To view the complete Python sample libraries, go to:
- Azure Blob code samples
- Azure Data Lake code samples
- Azure Files code samples
- Azure Queue code samples
You can browse and clone the GitHub repository for each library.
Getting started guides
Check out the following guides if you're looking for instructions on how to install and get started with the Azure Storage client libraries.
- Quickstart: Azure Blob Storage client library for Python
- Quickstart: Azure Queue Storage client library for Python
- Getting Started with Azure Table Service in Python
- Develop for Azure Files with Python
Next steps
For information on samples for other languages:
- .NET: Azure Storage samples using .NET
- Java: Azure Storage samples using Java
- JavaScript/Node.js: Azure Storage samples using JavaScript
- C++: Azure Storage samples using C++
- All other languages: Azure Storage samples