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
0
votes
1 answer

Issue 'str' object has no attribute 'sign_in_with_email_and_password(email, password)'

I'm trying to logging in with an email and password prompted by the user on terminal. I tried to use 'pyrebase', 'pyrebase3', and 'pyrebase4' with the following code: def sign_in(): global auth global user email = input("Please, enter…
gimaf
  • 5
  • 4
0
votes
1 answer

How to fetch data greater than a particular key value using pyrebase in firebase databse?

I am developing a web service and is new to pyrebase.. I only want to fetch data from database having key greater than the particular value. click here to see image suppose I want to fetch data with key value greater than 154711668000 what should I…
0
votes
2 answers

Permission denied on Firebase Database using Pyrebase

I have managed to sign up a user and properly sign them in shortly after they've signed up all in the same requests. Also in my request, I am trying to store the user information in the Firebase Database using the python package Pyrebase. I have…
0
votes
1 answer

DictProperty has no attribute "requests_recycle_view". Python

I need to refresh recycle view when I recive data from stream. When I run below code I see AttributeError: 'kivy.properties.DictProperty' object has no attribute 'requests_recycle_view' It comes from methodrecycle_view_list I think there is…
ForyszeP
  • 143
  • 1
  • 15
0
votes
1 answer

Pyrebase stream. Retrived data access

I'm trying to use stream on my pyrebase but it seems the only thing I can do with retrived data is to print them on the console. I need to update a global table or pass these data to other functions but when I try to call other function or…
ForyszeP
  • 143
  • 1
  • 15
0
votes
1 answer

Searching for a value in pyrebase

I have check pyrebase and i want to search for the IDNumber of each user. i have tried using db.child("Users").order_by_child("IDNumber").equal_to(2011445392).get() But it gave me an error related to index not defined. Is there a way to search for…
Ezz Redfox
  • 89
  • 1
  • 9
0
votes
1 answer

Pyrebase: Firebase callback is not called when database is large

db.child("root/child_1").stream(callback, None) works perfectly when child_1 contains only a few items (~200), but the callback is never called (not even once when the stream is invoked first) when we have ~2000 entries under child_1. I'm using…
RawMean
  • 8,374
  • 6
  • 55
  • 82
0
votes
2 answers

Full example of Firebase auth in a GAE python project?

Specifically I'm looking to verify a token received from the client using auth.verify_id_token(..). I tried the pyrebase package however .. AttributeError: Auth instance has no attribute 'verify_id_token' The docs seem insufficient. A pointer to a…
Fakeer
  • 985
  • 1
  • 13
  • 29
0
votes
1 answer

Trying to configure pyrebase

Currently, I have this python script running: import pyrebase # Config the firebase # Create a stream # Attatch the streamHandler # Push the data to the firebase after analysis config = { "apiKey": "Yl6***************OigD", "authDomain":…
Dravidian
  • 9,945
  • 3
  • 34
  • 74
0
votes
1 answer

Empty file stored on Firebase with Python

My goal is to generate certain files (txt/pdf/excel) on my Python server and subsequently push it to the Firebase Storage. For the Firebase Storage integration I use the pyrebase package. So far I have managed to generate the file locally and…
WJA
  • 6,676
  • 16
  • 85
  • 152
-1
votes
1 answer

How to get URL of all file in directory of firebase by python

i have a directory (wallpaper_app/Best_Wallpapers) in storage of firebase and it have some files iwant URL's of all file but when i try to get list_files by image = storage.child('wallpaper_app/Best_Wallpapers/').list_files() iam facing error …
-1
votes
1 answer

how to access a firebase token and use as a decorator?

I want some of my flask routes to be authenticated before accessing, meaning any routes with the decorator @check_token will have to have a valid token prior to accessing the route. I have a login_or_create route where users can either login or…
Ryan Tom
  • 195
  • 3
  • 14
-1
votes
2 answers

When downloading pyrebase on my M1 Mac, RSA throws an error. How can I fix this?

When downloading pyrebase for flask development on Mac with M1 chip in a Rosetta terminal with the command: pip3 install pyrebase I cannot install rsa. I keep receiving the error: Using cached rsa-4.7.1.tar.gz (38 kB) ERROR: Package 'rsa'…
-1
votes
1 answer

Firebase nested indexing rules

I want to orderby shopId but it returns: "error" : "Index not defined, add ".indexOn": "shopId", for path "/Products", to the rules". Would appreciate any help thanks! Rules : { "rules": { ".read": "now < 1609966800000", // 2021-1-7 …
-1
votes
3 answers

How to resolve this error while installing pyrebase?

ERROR: Command errored out with exit status 1: command: 'c:\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\rkapr\\AppData\\Local\\Temp\\pip-install-9iaimw1v\\pycryptodome\\setup.py'"'"';…
Rahul Kapri
  • 11
  • 1
  • 1
1 2 3
12
13