Skip to content

Easily search for files in Google drive folders and download them with the press of an ipywidget button

License

Notifications You must be signed in to change notification settings

ljburtz/GoogleDrive_downloader_ipywidgets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoogleDrive_downloader_ipywidgets

Easily search for files in Google drive folders and download them with the press of an ipywidget button

ipywidget_dashboard

Two classes:

  1. DriveDownloader: Thin wrapper around the gdrive documentation's tutorial
  2. WidgetDriveDownloader(DriveDownloader) Inherited class that adds the ipywidgets for inputting search queries and buttons to search and download

Notes:

  • Can use the DriveDownloader class independently in scripts (without ipywidgets)
  • Easily customize the two classes to your needs.
  • Public Google Drive folder for testing
  • PRs welcome too!

Installation

git clone https://github.com/ljburtz/GoogleDrive_downloader_ipywidgets.git
cd GoogleDrive_downloader_ipywidgets
conda env create -f environment.yml
conda activate gdrive
python -m ipykernel install --user --name=gdrive
jupyter notebook gdrive_downloader.ipynb

Get your google drive credentials: client_id.json by following this tutorial by FIRE Capital One Machine Learning of UMD.edu

Play

  • Run all cells
  • Authenticate with your personal gdrive credentials: edit the path to where you downloaded client_id.json
  • Type the inputs into the ipywidget text boxes: choose inside which gdrive folder to look, which type of file you want to download, and where to save the downloaded files on your PC
  • Click on the search buttons, then the download button

Sources / Resources

About

Easily search for files in Google drive folders and download them with the press of an ipywidget button

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published