Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Cloud Functions for Firebase Python SDK

The firebase-functions package provides an SDK for defining Cloud Functions for Firebase in Python.

Cloud Functions provides hosted, private, and scalable environment where you can run server code. The Firebase SDK for Cloud Functions integrates the Firebase platform by letting you write code that responds to events and invokes functionality exposed by other Firebase features.

Learn more

Learn more about the Firebase SDK for Cloud Functions in the Firebase documentation or check out our samples.

Here are some resources to get help:

If the official documentation doesn't help, try asking through our official support channels: https://firebase.google.com/support/

Usage

# functions/main.py
from firebase_functions import db_fn
from notify_users import api


@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')}")
    return notifyUsers(event.data)

Contributing

To contribute a change, check out the contributing guide.

License

© Google, 2025. Licensed under Apache License.

Metadata

Release files for firebase-functions 0.7.0rc0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for firebase-functions 0.7.0rc0
File Size Uploaded Provenance Actions
firebase_functions-0.7.0rc0.tar.gz 88.4 kB With provenance Details for firebase_functions-0.7.0rc0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for firebase-functions 0.7.0rc0
File Interpreter ABI Platform Actions
firebase_functions-0.7.0rc0-py3-none-any.whl Python 3 none any Details for firebase_functions-0.7.0rc0-py3-none-any.whl

Total release size: 178.8 kB

Release files / firebase_functions-0.7.0rc0.tar.gz

Download URL firebase_functions-0.7.0rc0.tar.gz
Size 88.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fc0c6009b6d8df8fde4c27b50726c1f929bd366ddf13edbcf537b46ec05e8a12
BLAKE2b-256 checksum
How to use checksums
a83473ee0db98a64b4da24992b00ccb21b10e38aeecdffe1bb548a9fd33d7f21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / firebase_functions-0.7.0rc0-py3-none-any.whl

Download URL firebase_functions-0.7.0rc0-py3-none-any.whl
Size 90.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
911eeb35636b8d1bcf1d21dbe5cb5c98b1f512b761a2680378dcc7049a5be4ba
BLAKE2b-256 checksum
How to use checksums
8133ffe5db913e0042f111888a445377d9779afb57748f35b61c046967828c69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for firebase-functions 0.7.0rc0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for firebase_functions-0.7.0rc0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page