Azure SDK for Python Samples

Explore practical code examples to help you get started with the Azure SDK for Python. These samples demonstrate common scenarios and best practices for interacting with various Azure services.

Blob Storage: Upload and Download

Learn how to upload and download files to and from Azure Blob Storage using the Python SDK.

Storage Blob File Management
View Sample

Key Vault: Secrets Management

Discover how to securely store and retrieve secrets using Azure Key Vault with the Python SDK.

Security Key Vault Secrets
View Sample

Cosmos DB: CRUD Operations

Perform Create, Read, Update, and Delete operations on documents in Azure Cosmos DB using Python.

Databases Cosmos DB NoSQL
View Sample

App Configuration: Feature Flags

Manage application settings and feature flags with Azure App Configuration in your Python applications.

Configuration App Configuration Feature Flags
View Sample

Azure Functions: HTTP Trigger

A simple example of creating an HTTP-triggered Azure Function using Python.

Compute Functions Serverless
View Sample

Service Bus: Queue Messaging

Send and receive messages from an Azure Service Bus queue using the Python SDK.

Messaging Service Bus Queues
View Sample