Loading repository data…
Loading repository data…
yeongseon / repository
Dogfood-tested recipes and examples for the Azure Functions Python DX Toolkit
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Read this in: 한국어 | 日本語 | 简体中文
Practical recipes for building real-world Azure Functions with Python.
Starting a new Azure Functions project often means piecing together scattered documentation, blog posts, and sample code. This cookbook provides curated, runnable recipes that answer:
func.FunctionApp() applicationsThis repository is content-first. It is not a CLI tool.
| Recipe | Difficulty | Description |
|---|---|---|
| Hello HTTP Minimal | Beginner | Smallest possible HTTP trigger |
| HTTP Routing, Query, and Body | Beginner | Route params, query strings, JSON body, status codes |
| HTTP Auth Levels | Beginner | Anonymous, Function, and Admin auth levels |
| GitHub Webhook | Intermediate | HMAC-SHA256 signature verification |
| EasyAuth Claims | Intermediate |
| EasyAuth principal extraction with role-based access control |
| JWT Bearer Validation | Intermediate | JWT Bearer token validation with claim-based access control |
| Multi-Tenant Auth | Intermediate | Multi-tenant access control with tenant allowlist |
| Recipe | Difficulty | Description |
|---|---|---|
| Timer Cron Job | Beginner | NCRONTAB expressions, timezone, catch-up |
| Recipe | Difficulty | Description |
|---|---|---|
| Queue Producer | Beginner | HTTP trigger with Queue output binding |
| Queue Consumer | Beginner | Queue trigger message processing |
| Recipe | Difficulty | Description |
|---|---|---|
| Blob Upload Processor | Intermediate | Polling-based blob trigger |
| Blob Event Grid Trigger | Intermediate | Event Grid-based blob trigger (faster) |
| Recipe | Difficulty | Description |
|---|---|---|
| Service Bus Worker | Intermediate | Service Bus queue trigger |
| Recipe | Difficulty | Description |
|---|---|---|
| Event Hub Consumer | Intermediate | Event Hub stream processing |
| Recipe | Difficulty | Description |
|---|---|---|
| Change Feed Processor | Intermediate | Cosmos DB change feed trigger |
| Recipe | Difficulty | Description |
|---|---|---|
| Blueprint Modular App | Intermediate | Modular function apps with Blueprints |
| Retry and Idempotency | Intermediate | Retry policies and idempotency patterns |
| Output Binding vs SDK | Intermediate | Side-by-side binding vs SDK client comparison |
| Managed Identity (Storage) | Advanced | Identity-based Storage connection |
| Managed Identity (Service Bus) | Advanced | Identity-based Service Bus connection |
| host.json Tuning | Advanced | host.json configuration guide |
| Concurrency Tuning | Advanced | Dynamic concurrency for Queue/Blob/Service Bus |
| Recipe | Difficulty | Description |
|---|---|---|
| Hello Sequence | Beginner | Activity chaining pattern |
| Fan-Out / Fan-In | Intermediate | Parallel activity execution |
| Human Interaction | Intermediate | External events with timeout |
| Entity Counter | Intermediate | Durable entity state management |
| Retry Pattern | Intermediate | Activity retry with RetryOptions |
| Determinism Gotchas | Advanced | Orchestrator determinism rules |
| Unit Testing | Intermediate | Mock-based orchestrator testing |
| Recipe | Difficulty | Description |
|---|---|---|
| MCP Server | Advanced | Model Context Protocol server on Azure Functions |
| Recipe | Difficulty | Description |
|---|---|---|
| Local Run and Direct Invoke | Beginner | func start vs direct Python invocation |
Each pattern page lives under docs/patterns/ with a matching runnable project in examples/.
docs/ Published documentation
patterns/ Curated pattern documents
examples/ Runnable example projects organized by category
apis-and-ingress/
scheduled-and-background/
blob-and-file-triggers/
async-apis-and-jobs/
messaging-and-pubsub/
streams-and-telemetry/
data-and-pipelines/
orchestration-and-workflows/
reliability/
security-and-tenancy/
runtime-and-ops/
realtime/
ai-and-agents/
guides/
git clone https://github.com/yeongseon/azure-functions-cookbook-python.git
cd azure-functions-cookbook-python
make install
make check-all
make docs
PRD.mdDESIGN.mdCONTRIBUTING.mdThis cookbook is the dogfood of the Azure Functions Python DX Toolkit — every example is a real, runnable Azure Function that uses the toolkit libraries in production-realistic scenarios. If a library works in the cookbook, it works in the wild.
The Status column reflects how each package is currently exercised in this repo: Dogfooded (imported and run by real examples), Experimental (advertised but not yet exercised by any example), or Planned (integration tracked but not started). Counts are the number of example projects that import the package, except for CLI tools (e.g. the scaffold generator), where the count reflects examples generated or driven by the CLI rather than direct imports.
| Package | Role | Status |
|---|---|---|
| azure-functions-openapi-python | OpenAPI spec generation and Swagger UI | Dogfooded (24 examples) |
| azure-functions-validation-python | Request/response validation and serialization | Dogfooded (23 examples) |
| azure-functions-logging-python | Structured logging and observability | Dogfooded (41 examples) |
| azure-functions-db-python | Database bindings for SQL, PostgreSQL, MySQL, SQLite, and Cosmos DB | Dogfooded (9 examples) |
| azure-functions-langgraph-python | LangGraph deployment adapter for Azure Functions | Dogfooded (2 examples) |
| azure-functions-scaffold-python | Project scaffolding CLI | Dogfooded (1 example, CLI-generated) |
| azure-functions-doctor-python | Pre-deploy diagnostic CLI | Dogfooded (1 example) |
| azure-functions-durable-graph-python | Manifest-first graph runtime with Durable Functions (experimental) | Experimental — no example yet (#73) |
| azure-functions-knowledge-python | Knowledge retrieval (RAG) decorators | Experimental — RAG example uses a local stub, not the real library (#73) |
| azure-functions-cookbook-python (this repo) | Dogfood examples for the full toolkit | 80 examples |
This repository includes llms.txt and llms-full.txt in the root directory — quick and full references optimized for LLM context windows. Use them for better context when working with these recipes in AI-assisted coding environments.
This project is an independent community project and is not affiliated with, endorsed by, or maintained by Microsoft.
Azure and Azure Functions are trademarks of Microsoft Corporation.
MIT