Google Drive Integration Module

Google Drive integration for DRIADA.

This module provides utilities for uploading and downloading data to/from Google Drive, particularly useful for sharing experimental data and results.

Utilities for uploading and downloading data to/from Google Drive, particularly useful for sharing experimental data and results.

Module Components

Usage Example

from driada.gdrive import (
    desktop_auth,
    download_gdrive_data,
    save_file_to_gdrive
)

# Authenticate
auth = desktop_auth('path/to/client_secrets.json')

# Download data
success, log = download_gdrive_data(
    auth,
    'https://drive.google.com/file/d/...',
    'local_path/'
)

# Upload results
file_id = save_file_to_gdrive(
    auth,
    'results.h5',
    folder_id='...'
)