pygame-web / pkg-porting-wasm

Tracks porting efforts on some modules you'd like to have working in pygbag
https://pygame-web.github.io/wiki/pkg/
5 stars 0 forks source link

Firebase (firebase_admin) #19

Open KreisburgerGames opened 1 year ago

KreisburgerGames commented 1 year ago

Request for a port on firebase_admin module

pmp-p commented 1 year ago

please add more information

KreisburgerGames commented 1 year ago

please add more information

Can you elaborate?

pmp-p commented 1 year ago

i already did https://github.com/pygame-web/pkg-porting-wasm, there's a README, please read it and i have no idea what firebase_admin is, thank you.

KreisburgerGames commented 1 year ago

firebase_admin is the module for Google's Firebase, which is a database, a certain database is reached through a .json file dodge-lines-eb5dc0de48f3.zip then recognized through this code:

import firebase_admin
from firebase_admin import firestore
from firebase_admin import credentials

cred = credentials.Certificate('dodge-lines-eb5dc0de48f3.json')
app = firebase_admin.initialize_app(cred)
db = firestore.client()

It is on PyPI "The Firebase Admin Python SDK enables server-side (backend) Python developers to integrate Firebase into their services and applications."

pmp-p commented 1 year ago

Reading your description i don't think it will ever work as python-wasm is a frontend, not a backend . Also i would not port such complex products "Backed by Google" for free i guess you will need to ask the vendor or fund the project somehow.