Skip to main content

Extracts data from cloud firestore and firebase database

Project description

Firebase and Cloud Firestore Extractor

The project extracts data from cloud firestore among other things and do CRUD operations for backend purpose.

Motivation

The motivation behind it came from the purpose and realisation to help others understand it in a much better. In other words, to push others and become a better version of ourselves.

Tech/framework used

Ex. -

Built with

Features

My project stands out because I built it by tapping into my subconsious mind and dreams and put a gamble on it or say faith on it. As they say,your faith alone will guide you.song-ref And then by following my own instinct without following guidelines(like PEP8) and using fancy editors like pycharm,android-studio,visual studio code in the beginning.

Code Example

It is nothing special, but if you are favoring python3 to write it. Make sure to pay attention to small things like while making a function say extractdatabaseRef using credentials:-

def extractDatabase(cred):
    app=firebase_admin.initialize_app(cred)
    db=firestore.client()
    delete_app(app)
    return db
database_1=extractDatabase(cred_1)

Create a delete_app(app) instance of it as well to recreate say database_i=extractDatabase(cred_i) where i=[1,2,3,4,5,6,7,8.....10^6) using the same function.

Installation

To install firebase_admin API and any other module for a specific version of python,say,3.6 python3.6 -m pip install moduleName, where,

moduleName=firebase_admin,google-cloud-python.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FirestoreExtractor-1.7.tar.gz (4.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page