The Azure SDK for Python provides a comprehensive set of libraries to interact with and manage Azure cloud services programmatically using Python.
This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
This SDK is primarily used by developers and cloud engineers to build, configure, and manage Azure resources programmatically within Python applications. It supports tasks such as authentication, secrets management, and cloud configuration scanning, enabling seamless integration with Azure services for automation and cloud security.
Users should choose stable, non-preview libraries for production environments to ensure reliability. The SDK requires Python 3.9 or later and follows Azure SDK design guidelines to provide consistent developer experience. It is recommended to consult the official developer documentation for up-to-date usage patterns and best practices.
Ensure Python 3.9 or later is installed
Identify the specific Azure service library you want to use in the /sdk directory
Install the desired package via pip, e.g., pip install azure-<service-name>
Refer to the specific library's README for detailed usage instructions
pip install azure-<service-name>
Installs the specific Azure service client library for Python
from azure.identity import DefaultAzureCredential
Imports the Azure Identity library to handle authentication
from azure.storage.blob import BlobServiceClient
Imports the Blob Storage client to interact with Azure Blob Storage