skillfed

azure-functions

Python library for Azure Functions.

azure-functions v2.2.0 6.2M downloads/30d#1,962 on PyPI
Permissive license MIT License Active released

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-functions

uv

uv add azure-functions

poetry

poetry add azure-functions

Installing 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

Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: Python :: 3Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

azure functions pythonserverless python azureazure function triggers bindingspython azure serverlessazure functions decoratorshttp trigger azure pythonazure function bindings
serverlessazureevent-driven

More Application Frameworks packages

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

textual

Textual is a Python framework for building…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

mcp

Build and connect to Model Context Protocol…

permissive · top 1,000 on PyPI

Werkzeug

Werkzeug is a WSGI utility library providing…

permissive · top 1,000 on PyPI

azure-functions-durable

Extends Azure Functions to support stateful,…

permissive · top 5,000 on PyPI

azurefunctions-extensions-base

Provides base infrastructure for Azure…

permissive · top 15,000 on PyPI

workers-runtime-sdk

Python SDK for building and running…

permissive · top 15,000 on PyPI

azure-devops

Provides Python bindings to the Azure DevOps…

permissive · top 5,000 on PyPI

firebase-functions

Firebase Functions Python SDK lets you write…

permissive · top 15,000 on PyPI

vsts

Provides Python bindings to the Azure DevOps…

permissive · top 15,000 on PyPI

azure-cli-core

Provides the core Python library and CLI…

permissive · top 5,000 on PyPI

agent-framework-azurefunctions

Hosts Microsoft Agent Framework agents on Azure…

permissive · top 15,000 on PyPI

microsoft-kiota-authentication-azure

Provides Azure identity authentication for HTTP…

permissive · top 5,000 on PyPI

msgraph-beta-sdk

Provides async-first Python bindings to the…

unclear · top 15,000 on PyPI