Realtime Listener Alternative Python Firebase Admin SDK

433 views
Skip to first unread message

saran s

unread,
May 17, 2018, 6:29:40 PM5/17/18
to Firebase Google Group
Hey guys, I'm trying to make a simple chat app that runs and displays in the terminal in python with the admin SDK. I have almost everything working but when one user sends a message to the database how can I get a listener on it since there's no real time listener. I tried checking the database every second or so for new messages but that quickly exceeds the read quota for cloud firestore. Any ideas?

Hiranya Jayathilaka

unread,
May 17, 2018, 6:56:01 PM5/17/18
to fireba...@googlegroups.com
I believe realtime listeners for Firestore Python client is on the roadmap. Not sure when it will be released though.

On Thu, May 17, 2018 at 3:29 PM saran s <sa...@nilal.com> wrote:
Hey guys, I'm trying to make a simple chat app that runs and displays in the terminal in python with the admin SDK. I have almost everything working but when one user sends a message to the database how can I get a listener on it since there's no real time listener. I tried checking the database every second or so for new messages but that quickly exceeds the read quota for cloud firestore. Any ideas?

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/d69086a4-9a13-4a85-a32a-0acbcdfd725a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Hiranya Jayathilaka | Software Engineer | h...@google.com | 650-203-0128

xavier....@mobilemyday.com

unread,
Nov 19, 2018, 10:58:17 AM11/19/18
to Firebase Google Group
Hi there.

6 months later, have you got any update about the realtime listeners for Firestore Python client ?

Hiranya Jayathilaka

unread,
Nov 19, 2018, 1:47:07 PM11/19/18
to fireba...@googlegroups.com
An experimental listen API was released about 3 months ago: https://github.com/firebase/firebase-admin-python/releases/tag/v2.13.0

Note that this is implemented and mostly maintained by our open source community.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

xavier....@mobilemyday.com

unread,
Dec 14, 2018, 10:52:38 AM12/14/18
to Firebase Google Group
Thanks,

The contribution seems in V2.13.0 seems to be linked to PR #183 https://github.com/firebase/firebase-admin-python/pull/183.
By reading the docs, I can't figure out if it works for Cloud Firestore.

Xavier 

Hiranya Jayathilaka

unread,
Dec 14, 2018, 1:11:13 PM12/14/18
to fireba...@googlegroups.com
On Fri, Dec 14, 2018 at 7:52 AM <xavier....@mobilemyday.com> wrote:
Thanks,

The contribution seems in V2.13.0 seems to be linked to PR #183 https://github.com/firebase/firebase-admin-python/pull/183.
By reading the docs, I can't figure out if it works for Cloud Firestore.

No this is for Realtime Database.

Firestore has recently implemented watch API in Python: https://github.com/googleapis/google-cloud-python/pull/6191. But I'm not sure if that has been released yet.
 

Xavier 


Le lundi 19 novembre 2018 19:47:07 UTC+1, Hiranya Jayathilaka a écrit :
An experimental listen API was released about 3 months ago: https://github.com/firebase/firebase-admin-python/releases/tag/v2.13.0

Note that this is implemented and mostly maintained by our open source community.

On Mon, Nov 19, 2018 at 7:58 AM <xavier....@mobilemyday.com> wrote:
Hi there.

6 months later, have you got any update about the realtime listeners for Firestore Python client ?
 

Le vendredi 18 mai 2018 00:56:01 UTC+2, Hiranya Jayathilaka a écrit :
I believe realtime listeners for Firestore Python client is on the roadmap. Not sure when it will be released though.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/31c90f93-fa09-4c7d-b7cf-24020e7ee675%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Hiranya Jayathilaka | Software Engineer | h...@google.com | 650-203-0128

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages