azure-functions
Python library for Azure Functions.
What it is and what it does
Azure Functions is Microsoft's serverless compute offering, and this library provides the Python programming model for building functions that run on it. It exposes decorators and type hints for defining function entry points triggered by HTTP requests, timers, queue messages, blob storage events, and other Azure services. The library handles the marshaling between Azure's function runtime and your Python code, so you write a decorated function and the runtime invokes it when events arrive.
The package is designed to work within Azure's managed environment but can also be used locally during development with the Azure Functions Core Tools CLI. It requires Python 3.13 or later and depends only on werkzeug for HTTP handling, making it lightweight to install. The library is actively maintained and production-stable, suitable for teams building event-driven applications on Azure's infrastructure.
Use it for:
- Build HTTP-triggered APIs that scale automatically without managing servers or containers.
- Process messages from Azure Queue Storage or Service Bus with function bindings.
- React to blob storage events (create, update, delete) with automatic function invocation.
- Schedule periodic tasks using timer triggers for maintenance, cleanup, or batch jobs.
- Integrate with Azure Cosmos DB, Event Hubs, or SQL databases via declarative bindings.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings and decorators for building serverless functions on Azure Functions runtime, supporting triggers and bindings for HTTP, timers, queues, blobs, and other Azure services.
Yes, if you are building on Azure Functions. This is the official Python library for the platform and is actively maintained with no known vulnerabilities. Install friction is low, licensing is permissive, and it supports current Python versions (3.13+). Not applicable outside the Azure Functions ecosystem.
Install
azure-functions on PyPI
pip
pip install azure-functionsuv
uv add azure-functionspoetry
poetry add azure-functionsInstalling azure-functions
Before you install
Active maintenance with a release 39 days ago. Single lightweight runtime dependency (werkzeug) keeps install friction low.
License in practice
MIT License permits unrestricted use, modification, and distribution in both open and proprietary projects.
Quickstart
pip install azure-functions
import azure.functions as func
@func.route_handler(route="hello")
def http_trigger(req: func.HttpRequest) -> func.HttpResponse:
return func.HttpResponse("Hello, World!")
Requires Python 3.13 or later; intended for use within Azure Functions runtime environment or local development with Azure Functions Core Tools.
Verify before relying
- Specific trigger and binding types available in version 2.2.0 (description lists many but does not confirm all are in this release)
- Whether werkzeug is a direct runtime dependency or a transitive dependency of another component
- Support status for Azure Functions 2.x and 3.x runtimes mentioned as EOL in the description
Package facts
| License | MIT License (permissive) |
| Python support | supports the current Python release (>=3.13) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — werkzeug |
| Maintenance | actively maintained — 39 days since the last release |
| First released | |
| Downloads | 6,157,774/month — #1,962 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_functions-2.2.0-py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
azure-functions-durableExtends Azure Functions to support stateful,…
permissive · top 5,000 on PyPI
azurefunctions-extensions-baseProvides base infrastructure for Azure…
permissive · top 15,000 on PyPI
workers-runtime-sdkPython SDK for building and running…
permissive · top 15,000 on PyPI
azure-devopsProvides Python bindings to the Azure DevOps…
permissive · top 5,000 on PyPI
firebase-functionsFirebase Functions Python SDK lets you write…
permissive · top 15,000 on PyPI
vstsProvides Python bindings to the Azure DevOps…
permissive · top 15,000 on PyPI
azure-cli-coreProvides the core Python library and CLI…
permissive · top 5,000 on PyPI
agent-framework-azurefunctionsHosts Microsoft Agent Framework agents on Azure…
permissive · top 15,000 on PyPI
microsoft-kiota-authentication-azureProvides Azure identity authentication for HTTP…
permissive · top 5,000 on PyPI
msgraph-beta-sdkProvides async-first Python bindings to the…
unclear · top 15,000 on PyPI