$npx skillfedfor your agent

functions-framework

An open source FaaS (Function as a service) framework for writing portable Python functions -- brought to you by the Google Cloud Functions team.

Worth itPyPI Application FrameworksReleased Jun 20268.0M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — functions_framework-3.10.2-py3-none-any.whl
v3.10.2 · released 2026-06-17 · Python <4,>=3.5 · 9 runtime deps: flask, click, watchdog, gunicorn, cloudevents, Werkzeug, starlette, uvicorn

Yes. Production-stable, actively maintained, zero known vulnerabilities, and permissive licensing. Install friction is low. Use it if you're building serverless functions for Google Cloud Run, local testing of cloud functions, or any portable FaaS workload. The framework eliminates boilerplate and handles CloudEvents unmarshalling automatically—solid choice for rapid function development.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with a pure-Python wheel.
  • Active maintenance (last commit 2026-08-05, 968 repository stars) and production-stable status.
  • Supports Python 3.7 through 3.12.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for both proprietary and open-source projects.

last release 2026-06-17 (58 days) · last repo commit 2026-08-05 · 968 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 7,965,513 downloads/mo, #1,678 on PyPI

Verify before relying

pip install functions-framework

import functions_framework
import flask

@functions_framework.http
def hello(request: flask.Request) -> flask.typing.ResponseReturnValue:
    return "Hello world!"

# Run: functions-framework --target hello --debug
  • Whether the framework's performance characteristics suit your expected request volume or latency requirements.
  • Compatibility with specific Google Cloud Run or Knative deployment configurations beyond the documented quickstarts.
Same gist for agents: .md · .json

What it is and what it does

Functions Framework is an open-source FaaS runtime maintained by Google Cloud Functions team that abstracts away HTTP server setup and request handling, letting you focus on writing business logic as decorated Python functions. You define a function with a simple decorator (@functions_framework.http or @functions_framework.cloud_event), and the framework handles spinning up a local development server, routing requests, and unmarshalling CloudEvents payloads.

The framework supports HTTP functions (request/response), CloudEvent functions (event-driven), and Pub/Sub event handlers. It runs on your local machine for testing, deploys to Google Cloud Run Functions, or runs in Knative-based environments. Runtime dependencies include Flask for HTTP handling, click for CLI, watchdog for file monitoring, gunicorn and uvicorn for production serving, and cloudevents for spec-compliant event unmarshalling.

Use it for

  • Write a simple HTTP endpoint function locally and deploy it unchanged to Google Cloud Run Functions.
  • Handle CloudEvents from event sources (Pub/Sub, Cloud Storage) with automatic payload unmarshalling.
  • Develop and test serverless functions in a local development server before cloud deployment.
  • Build event-driven functions that respond to Pub/Sub messages via the framework's event signature type.
  • Prototype lightweight microservices without managing Flask app initialization or WSGI server configuration.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Production-stable, actively maintained, zero known vulnerabilities, and permissive licensing. Install friction is low. Use it if you're building serverless functions for Google Cloud Run, local testing of cloud functions, or any portable FaaS workload. The framework eliminates boilerplate and handles CloudEvents unmarshalling automatically—solid choice for rapid function development.

Install

functions-framework on PyPI

Before you install

Low friction install with a pure-Python wheel. Active maintenance (last commit 2026-08-05, 968 repository stars) and production-stable status. Supports Python 3.7 through 3.12.

License in practice

Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for both proprietary and open-source projects.

Quickstart

pip install functions-framework

import functions_framework
import flask

@functions_framework.http
def hello(request: flask.Request) -> flask.typing.ResponseReturnValue:
    return "Hello world!"

# Run: functions-framework --target hello --debug

Verify before relying

  • Whether the framework's performance characteristics suit your expected request volume or latency requirements.
  • Compatibility with specific Google Cloud Run or Knative deployment configurations beyond the documented quickstarts.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <4,>=3.5
Install frictionLow. Pure-Python wheel
Runtime dependencies
9 packages
flaskclickwatchdoggunicorncloudeventsWerkzeugstarletteuvicornuvicorn-worker
MaintenanceActively maintained 58 days since the last release
Last repo commit
First released
Downloads7,965,513 / month, #1,678 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: functions_framework-3.10.2-py3-none-any.whl

Tags

Capabilities
serverless function framework pythonfaas framework google cloudpython http function decoratorcloud functions local developmentcloudevents handler pythonportable serverless functions
Topics
serverlesscloud-functionsfaas
PyPI keywords
functions-framework

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “serverless function framework python”

  • functions-frameworkA lightweight FaaS framework that lets you write portable Python…
  • chaliceChalice is a Python framework for building and deploying serverless…
  • mangumMangum adapts ASGI applications to run on AWS Lambda, handling events…

Give your agent the search over MCP, or paste the wish link into any chat.

More Application Frameworks packages

fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
textual Worth it
PyPI · Application Frameworks · released Jun 2026

Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.

Install it if you're developing CLI tools, dashboards, or interactive terminal applications.

MITpure Python
443.6Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
mcp Worth it
PyPI · Application Frameworks · released Jul 2026

Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.

Install it if you need to build or connect to servers.

MITpure Python · 3.10+
319.3Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo

See also cloudevents · lib · serverless-wsgi · google-events · zappa · fastapi-cloudevents · fal · google-cloud-functions · gcloud · google-cloud-deploy