title: Is there a way to listen for firebase database changes in python?
body: <p>I have a python application that listens for put(add) events in my firebase database using Pyrebase but the stream feature of pyrebase is deprecated and stops listening after 30 minutes. The library is not supported anymore.</p>
  
  <p>I figured out that firebase has a library for python called firebase-admin, however this does not have a streaming/listener capability for python, only for java. Is there any other way to do this?</p>
  
  <pre><code>#  get database instance
  conn_instance = Database()
  db = conn_instance.get_database()
  storage = conn_instance.get_storage()
  main_queue = Queue()
  
  
  def stream_handler(message):
      # Reads stream input 
      print(message)
  
  # Stream is created to firebase database using Pyrebase
  request_stream = db.child("requests").stream(stream_handler)  
  
  def close_application():
      #  Closes stream 
      request_stream.close()
  </code></pre>
  
  <p>I would like to have firebase database listener functionality for python as this is needed to process new database inputs.</p>