--- id: azure-functions-durable version: "1.7.0" license: MIT license_treatment: permissive maintenance: active --- # azure-functions-durable — Durable Functions For Python License: permissive · Maintenance: active · Downloads: 973.4K/mo ## What it is and what it does Azure Functions Durable is an extension that transforms Azure Functions from stateless request handlers into a framework for building stateful workflows and long-running orchestrations. It abstracts away the complexity of managing state, checkpoints, and restarts across distributed function invocations, letting you write orchestrator functions and entity functions using familiar Azure Functions patterns. The package depends on azure-functions, aiohttp, requests, python-dateutil, furl, and OpenTelemetry libraries for observability. Typically used to coordinate multi-step business processes—such as approval workflows, data processing pipelines, or saga-pattern transactions—where individual steps may fail and need to be retried, or where you need to maintain state across multiple function calls. The extension handles the bookkeeping so you focus on orchestration logic. Version 1.7.0 is production-stable; a ground-up rewrite (2.0.0 beta) is available but the 1.x line will receive security patches only after 2.0.0 is released. Use it for: - Coordinate multi-step approval workflows where each step is a separate function and state must persist across retries. - Build data processing pipelines that transform large datasets through sequential stages, with automatic checkpointing. - Implement saga-pattern distributed transactions across multiple services with compensating actions on failure. - Create fan-out/fan-in patterns where one orchestrator spawns many parallel activities and waits for all to complete. - Build stateful AI agent workflows backed by Durable Functions orchestration (preview integration with OpenAI Agent SDK). ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Extends Azure Functions to support stateful, long-running workflows and orchestrations in serverless environments by managing state, checkpoints, and restarts automatically. Yes, if you are building stateful workflows on Azure Functions and want automatic state and checkpoint management. The package is production-stable, actively maintained, and has low install friction. Be aware that version 2.0.0 is in beta and will eventually become the standard; version 1.7.0 will receive security patches only after that transition. Requires Azure Functions Core Tools 3.0.2630+ and Python 3.10 or later. ## Install pip install azure-functions-durable uv add azure-functions-durable poetry add azure-functions-durable ## Installing azure-functions-durable Before you install: Low install friction; distributed as a pure Python wheel. Actively maintained with a release 15 days old and recent commits. Supports Python 3.10 through 3.14. License in practice: MIT license (permissive); you can use, modify, and distribute this package with minimal restrictions, provided you include the license notice. Quickstart: pip install azure-functions-durable from azure.durable_functions import orchestrator_function, DurableOrchestrationClient @orchestrator_function def my_orchestrator(context): result = yield context.call_activity('my_activity', 'input') return result Requires Azure Functions Core Tools version 3.0.2630 or higher; designed to run within Azure Functions runtime, not as a standalone library. Verify before relying: - Whether version 1.7.0 is recommended for new projects or if migration to the 2.0.0 beta is advised. - Specific performance characteristics or limits on workflow complexity or execution duration. - Whether the OpenAI Agent SDK integration (mentioned as preview) is production-ready or experimental. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 973.4K/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure durable functions python, stateful serverless workflows, azure orchestration framework, long-running function workflows, azure functions state management, serverless workflow orchestration, durable task python, azure-serverless, workflow-orchestration, stateful-functions [View on SkillFed](https://skillfed.io/packages/azure-functions-durable) · [View on PyPI](https://pypi.org/project/azure-functions-durable/)