src.interface package

Submodules

src.interface.clouddataextractor module

class src.interface.clouddataextractor.CloudDataExtractor[source]

Bases: object

Class for extracting data from Firestore documents.

certificate_credentials()[source]

Method for certificating the firestore credentials.

db_client()[source]

Method for getting the firestore database client.

db_get_collection()[source]

Interface method for getting the firestore database collection.

extract_collection()[source]

Interface method for saving the firestore collection.

extract_data(path, collection_name)[source]

Method for extracting data from Firestore documents.

get_firestore_connection()[source]

Method for getting the firestore connection.

initialize_app(credentials)[source]

Method for initializing the application.

set_firestore_connection(path, collection_name)[source]

Method for setting the firestore connection.

src.interface.datareaderui module

class src.interface.datareaderui.DataReaderUI[source]

Bases: object

Interface of DataReader.

fetch_as_dataframe(results)[source]

Method returns results as a dataframe.

fetch_as_dicts(results)[source]

Method returns results as a dictionary.

Module contents