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.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fastapi-firebase-0.3.1.tar.gz | 3.3 kB | Without provenance | Details for fastapi-firebase-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastapi_firebase-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for fastapi_firebase-0.3.1-py3-none-any.whl |
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
|
Security for fastapi-firebase 0.3.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.