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
12
votes
12 answers

pyrebase install on windows Python 3.7 fails

I just installed python 3.7 64 bits on windows 10 for all u sers and modified the PATH I updated the pip to 18.1 I installed pygame, with py -3 -m pip install pygame it works fine I wanted to install pyrebase with py -3 -m pip install…
Lotfi
  • 660
  • 1
  • 6
  • 21
5
votes
2 answers

Pyrebase4 error cannot import name 'gaecontrib'

I have been trying to install pyrebase4 using pip install pyrebase4 but when ran it throws below error "C:\Users\ChodDungaTujheMadhadchod\anaconda3\envs\sam_upgraded\lib\site-packages\requests_toolbelt\adapters\appengine.py", line 42, in
Hack Try
  • 471
  • 4
  • 17
4
votes
1 answer

"error" : "Data to write exceeds the maximum size that can be modified with a single request." Firebase

I'm trying to delete a node composed of many children in Firebase realtime-database. I created this little function which is working but not when there are too many children : def delete_node_firebase(node): node_val =…
Julien J
  • 2,826
  • 2
  • 25
  • 28
4
votes
1 answer

How can I get the latest record from Firebase Realtime Database

I'm using Pyrebase to receive data from a realtime database. Actually I can receive data directly, but I need only the latest record. This is the realtime database:
4
votes
1 answer

(Pyrebase) error : orderBy must be a valid JSON encoded path

I use firebase and my JSON(Firebase) is as below. I want to retrieve the key values(288xxx) by using busStopName values. My code is as below. I'll make an example with '윤정사앞' # Retriving id by using value def getIdByName(db, name) : bus =…
Jung Jaehoon
  • 101
  • 1
  • 12
4
votes
2 answers

Extracting Data from OrderedDict

So i have a firebase database and this is my code to get specific data db = firebase.database() test = db.child("Users").order_by_child("IDNumber").equal_to(222333123).get().val() print(test) then the result returns as an…
4
votes
2 answers

pycryptodome setup.py causing an error when installing pyrebase

I am trying to install Pyrebase, but I keep getting an error that I believe is caused by setup.py for pycryptodome. I have searched all over but cannot find a solution, does anyone know how to solve this? My output is below - I added in (...) in…
rafi
  • 129
  • 3
  • 9
3
votes
2 answers

ModuleNotFoundError: No module named 'pyasn1'

File "D:\Documents\my_project\firebase_login.py", line 1, in from pyrebase import pyrebase File "D:\Documents\Python_projects\Test_kivy\venv\lib\site-packages\pyrebase\__init__.py", line 1, in from .pyrebase import…
Utopion
  • 935
  • 1
  • 4
  • 15
3
votes
1 answer

How to use pyrebase query?

I'm learning how to use queries with python, django and pyrebase. I have a problem when querying multiple values of key. For example: This is my data structure: { "root": { "account": { "ACC0001": { "id":…
Naoa Lee
  • 135
  • 2
  • 19
3
votes
2 answers

How to check if a child in firebase database exists using Django?

the following code throws attribute error ''Database' object has no attribute 'exists''. from django.shortcuts import render from django.views import View from django.views.decorators.cache import cache_page from…
3
votes
3 answers

Unknown Syntax Error on calling Pyrebase in Python

I don't know how to Summarize or Format the problem, I am providing the error Traceback (most recent call last): File "push.py", line 1, in from pyrebase import pyrebase File…
3
votes
2 answers

How to get the actual data and not the object reference?

I'm new to Firebase and I'm using the Pyrebase library. I was able to authenticate successfully and I'm able to get data. The issue is, when I print the data out, it's printing out the reference object, not the actual data itself. I've been…
killsburydouboy
  • 309
  • 1
  • 3
  • 14
2
votes
1 answer

pyrebase4 image file not downloading

I'm trying to download the image file stored in Firebase, to use it as user profile picture later. Right now I can't get past the downloading part. I named the image as the user's UID, to download the proper image for every user. I…
mkfmtr
  • 37
  • 5
2
votes
0 answers

How to authenticate sign in with Firebase with Python

I'm trying to use Firebase to authenticate users with Python. This is my code: import pyrebase import os firebaseConfig = { #Redacted for Privacy 'apiKey': "", 'authDomain': "", 'databaseURL': "", …
Etienne
  • 41
  • 2
2
votes
1 answer

Error when importing pyrebase with python3

I tried pip install pyrebase but when i import it says 'No module named pyrebase'. I use python3. Also I updated my pip and uninstalled other versions of python but still couldn't resolve the issue. Any help is appreciated, thanks in advance.
Henry
  • 39
  • 4
1
2 3
12 13