Skip to main content

FastAPI Firebase integration

This package contains some utilities to work with firebase in a FastAPI project.

Example usage

For example, if you want to send the firebase app name:

from fastapi import FastAPI, Depends
from fastapi_firebase import setup_firebase, firebase_app
from firebase_admin.app import App

app=FastAPI()

setup_firebase(app)

@app.get("/appname")
def get_appname(fb_app: App = Depends(firebase_app)):
    return fb_app.name

See the setup_firebase documentation for how to initialize.

Release files for fastapi-firebase 0.3.1

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

Source distribution (sdist)

Source distribution for fastapi-firebase 0.3.1
File Size Uploaded
fastapi-firebase-0.3.1.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastapi-firebase 0.3.1
File Interpreter ABI Platform
fastapi_firebase-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / fastapi-firebase-0.3.1.tar.gz

Download URL fastapi-firebase-0.3.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3f0091444ec41e47e939ffaa25fed3b0daab316fa40fd8e4d2bc95fed7b19ad2
BLAKE2b-256 checksum
How to use checksums
fe7df42e3f80e25ed9ef7fe22a9aca830f979b4e439449dd6e176a071d62d97b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.4 Linux/5.10.102.1-microsoft-standard-WSL2

Release files / fastapi_firebase-0.3.1-py3-none-any.whl

Download URL fastapi_firebase-0.3.1-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f46656c22abf8a03cf81c35bcaa603af16d017b6a4a22040026311ffa0ef395d
BLAKE2b-256 checksum
How to use checksums
5710adaba29cf8ca6acc851c337dd5b883c568eeba141c59ee48971d5a8575a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.4 Linux/5.10.102.1-microsoft-standard-WSL2

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

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