firebase-functions
Firebase Functions Python SDK
Decision gist · record as of 2026-08-14
Yes, if you are building a Firebase backend in Python. The SDK is actively maintained, has low install friction, carries no known vulnerabilities, and integrates directly with Firebase services. The Beta status and 10 runtime dependencies are minor considerations; the permissive Apache-2.0 license poses no barrier. Install it when you need event-driven server code on Firebase.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; Firebase project credentials and deployment infrastructure (Cloud Functions for Firebase) are needed to run functions in production.
- Low install friction with a pure-Python wheel distribution.
- Active maintenance with a recent release 71 days ago and ongoing commits.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions.
last release 2026-06-04 (71 days) · last repo commit 2026-08-13 · 167 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 449,809 downloads/mo, #6,594 on PyPI
Alternatives
Verify before relying
pip install firebase-functions
from firebase_functions import db_fn
@db_fn.on_value_created(reference="/posts/{post_id}")
def new_post(event):
print(f"Received new post with ID: {event.params.get('post_id')}")- Whether all 10 runtime dependencies (flask, functions-framework, firebase-admin, etc.) are required for basic usage or only for specific function types.
- Performance characteristics and cold-start latency typical for Python Cloud Functions.
- Maturity and stability guarantees given Beta status (Development Status :: 4).
What it is and what it does
Firebase Functions is Google's official Python SDK for writing Cloud Functions that respond to Firebase events. It lets you define functions that trigger on database writes, authentication events, HTTP requests, and other Firebase platform signals, then deploy them to a managed serverless environment. The SDK abstracts away infrastructure management—you write decorated Python functions and the platform handles scaling, networking, and execution.
The package integrates deeply with Firebase services through dependencies on firebase-admin, google-cloud-firestore, and google-events, plus web framework support via flask and functions-framework. It's designed for developers building backends that react to Firebase data changes or user actions without managing servers. The SDK is actively maintained and supports modern Python versions, though it remains in Beta status.
Use it for
- Trigger backend logic when data is written to Realtime Database or Firestore (e.g., send notifications on new posts).
- Respond to Firebase Authentication events (e.g., log new user signups or clean up data on account deletion).
- Build HTTP-triggered microservices that integrate with Firebase and other Google Cloud services.
- Schedule periodic tasks (e.g., daily cleanup, report generation) using Cloud Scheduler integration.
- Process events from external systems via Cloud Pub/Sub and route them to Firebase services.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building a Firebase backend in Python.
The SDK is actively maintained, has low install friction, carries no known vulnerabilities, and integrates directly with Firebase services. The Beta status and 10 runtime dependencies are minor considerations; the permissive Apache-2.0 license poses no barrier. Install it when you need event-driven server code on Firebase.
Install
firebase-functions on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with a recent release 71 days ago and ongoing commits. Supports current Python versions (3.10–3.13).
Requires Python 3.10 or later; Firebase project credentials and deployment infrastructure (Cloud Functions for Firebase) are needed to run functions in production.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions.
Quickstart
pip install firebase-functions
from firebase_functions import db_fn
@db_fn.on_value_created(reference="/posts/{post_id}")
def new_post(event):
print(f"Received new post with ID: {event.params.get('post_id')}")
Verify before relying
- Whether all 10 runtime dependencies (flask, functions-framework, firebase-admin, etc.) are required for basic usage or only for specific function types.
- Performance characteristics and cold-start latency typical for Python Cloud Functions.
- Maturity and stability guarantees given Beta status (Development Status :: 4).
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 10 packagesflaskfunctions-frameworkfirebase-adminpyyamltyping-extensionscloudeventsflask-corspyjwtgoogle-eventsgoogle-cloud-firestore |
| Maintenance | Actively maintained 71 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 449,809 / month, #6,594 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Build Tools |
Evidence: firebase_functions-0.6.0-py3-none-any.whl
Tags
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 › “firebase cloud functions python”
- firebase-functionsFirebase Functions Python SDK lets you write and deploy server code…
- firebase-adminFirebase Admin Python SDK provides server-side access to Firebase…
- firebase-messagingReceives push notifications sent via Firebase Cloud Messaging (FCM)…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also firebase-admin · pyfcm · fcm-django · firebase-messaging · fastapi-cloudauth · azure-functions · workers-runtime-sdk · modal · apache-airflow-providers-google · google-events