discretize.utils.download#

discretize.utils.download(url, folder='.', overwrite=False, verbose=True)[source]#

Download file(s) stored in a cloud directory.

Parameters:
urlstr or list of str

url or list of urls for the file(s) being downloaded

folderstr, optional

Local folder where downloaded files are to be stored

overwritebool, optional

Overwrite files if they have the same name as newly downloaded files

verbosebool, optional

Print progress when downloading multiple files

Returns:
os.path or list of os.path

The path or a list of paths for all downloaded files