cowidev.utils.gdrive

cowidev.utils.gdrive.credentials

cowidev.utils.gdrive.gdrive

cowidev.utils.gdrive.gdrive._is_gdrive_config_valid()[source]
cowidev.utils.gdrive.gdrive.download_file(url, output, **kwargs)[source]
cowidev.utils.gdrive.gdrive.download_folder(url, output, **kwargs)[source]
cowidev.utils.gdrive.gdrive.gdrive_init(encoding='utf8')[source]

From https://github.com/lucasrodes/whatstk/blob/bcb9cf7c256df1c9e270aab810b74ab0f7329436/whatstk/utils/gdrive.py#L38

cowidev.utils.gdrive.gdrive.get_gdrive()[source]
cowidev.utils.gdrive.gdrive.list_files(parent_id)[source]

cowidev.utils.gdrive.gsheets

class cowidev.utils.gdrive.gsheets.GSheetApi(clients_secrets='', credentials='/home/docs/.config/owid/gdrive_credentials.json')[source]

Bases: object

_init_config_folder(credentials)[source]
get_sheet(sheet_id)[source]
get_worksheet(sheet_id, worksheet_title)[source]
property sheets
class cowidev.utils.gdrive.GSheetApi(clients_secrets='', credentials='/home/docs/.config/owid/gdrive_credentials.json')[source]

Bases: object

_init_config_folder(credentials)[source]
get_sheet(sheet_id)[source]
get_worksheet(sheet_id, worksheet_title)[source]
property sheets
cowidev.utils.gdrive.download_file(url, output, **kwargs)[source]
cowidev.utils.gdrive.download_folder(url, output, **kwargs)[source]
cowidev.utils.gdrive.list_files(parent_id)[source]