Questions tagged [pyrebase]

Questions about Pyrebase. Pyrebase is a Python 3 wrapper for the Firebase API.

Pyrebase is a Python 3 wrapper for the Firebase API. It implements most of the functionalities of the API (Authentication, Database management and Storage)

Read more about Pyrebase here Read more about Firebase API here

183 questions
1
vote
1 answer

collection.Mutablemapping Error in pyrebase Import

I have installed pyrebase library and tried importing it Like import pyrebase It gives following Error and i dont know how to fix it! Traceback (most recent call last): File "fire.py", line 1, in import pyrebase File…
Mohd Zaid
  • 13
  • 2
1
vote
0 answers

Show the data in firebase

I have a problem showing data in the firebase however my code works. import pyrebase firebaseConfig={"apiKey": "AIzaSyDm2HeGl3bApix5KsbhI8NOjdwXkhNTaJM", "authDomain": "trialauth-7eea1.firebaseapp.com", "databaseURL":…
1
vote
1 answer

Firebase Realtime Database equal_to() method gets the whole document instead of the parent only

I have this structure: -User: -user1: -name : cycy -email: cycy@test.com What I intend to do is know what parent does the input email contains. for example if my input email is cycy@test.com, I should be able to…
1
vote
0 answers

Send value from __init__.py to consumer.py websocket Django channels

I want to send data from the firebase stream(pyrebase) via django channels websocket. Web scoket is working fine, But I can't imagine how I can use consumer.py file send message function in init_.py. Here my django channel web socket Consumer.py…
1
vote
1 answer

Files Not Downloading to Correct Path: Pyrebase4

I am using firebase storage to try and store user profile pictures. I am then downloading them from the database to my static/uploads folder, like in many flask examples, then using that to display a user's profile picture. I am using pyrebase 4 to…
1
vote
0 answers

Delete users in firebase and flask

I have created a web application with flask and firebase. I am using the pyrebase library. The app creates users with firebase and in the registration form I ask the user about which city it lives in, which is then stored in the realtime database.…
RandomMadi
  • 87
  • 2
  • 10
1
vote
0 answers

How to list all files in specific path in firebase storage in pyrbase?

I want to list all the files in specific path in firebase storage using pyrebase4. I found some question about this topic but not the same because most of the question is about list all the files in the storage in general not in given path like the…
Hussam F. Alkdary
  • 655
  • 1
  • 6
  • 21
1
vote
1 answer

Could not parse auth token (Firebase)

I am trying to save data in my firebase realtime database using this rule: { "rules": { "users": { "$uid": { // Allow only authenticated content owners access to their data ".read": "auth != null && auth.uid == $uid", …
1
vote
1 answer

How to access root child in firebase Realtime Database using pyrebase

This is the picture of the realtime database structure. The issue is I'm trying to access the root node with get() function. Considering the first node from the root branch, I want access to 2sdkfpjLZqWyWvWzE00zxhzxZFN2 . Considering db as the…
Max Damage
  • 31
  • 1
  • 6
1
vote
2 answers

How to append new entry in child pyrebase

the Below code replaces the previous entry but i want to add new entry or append the new entry in the child name Friends_email please if any one can help me. I am using python 3.9 with Pyrebase 3.0.27. li =…
1
vote
1 answer

Trying to connect firebase to my project but installing error in pyrebase and import pyrebase error

I am trying to use python firebase.google.com and connecting my project to my python file I have installed pyrebase4 according to docs I am done everything I have faced many problems like while importing pyrebase in a python file I got error…
1
vote
3 answers

how do I add displayName to my user using Pyrebase

I am using Pyrebase in order to work with Firebase on my project. I have been able to successfully create a user using email and password. The user object has a field called displayName. How do I enter a value in this at the time of creation?
ag2byte
  • 191
  • 3
  • 11
1
vote
0 answers

Retrieving multiple images from firestore using pyrebase

I'm using pyrebase to access my images stored in firebase storage for my python app. I access individual images via the below and this works fine: path = "images/profile_photo/" + self.local_id + ".jpeg" …
Callum
  • 57
  • 14
1
vote
0 answers

Is there a way to set the language for emails in firebase?

I am making a small registration form using firebase, for this I use the pyrebase package, and I have a need to set the language for emails (password reset, registration, etc.) and also so that incoming messages have the language I need…
Ne1zvestnyj
  • 1,391
  • 1
  • 7
  • 25
1
vote
4 answers

Python Pyrebase Config

When I'm trying to run my code: import pyrebase firebaseConfig = { "apiKey": "xxxxxx", "authDomain": "xxxxxx", "projectId": "xxxxxx", "storageBucket": "xxxxxxx", "serviceAccount": "xxxxxxxxx" } …
kickass213
  • 51
  • 1
  • 2
  • 7
1 2
3
12 13