fetch_remote#

mlquantify.datasets.fetch_remote(url, dest, download_if_missing=True, n_retries=3, delay=1.0, progress=None)[source]#

urllib download with local cache + retries (like sklearn). Retries once unverified on TLS errors.

Pass progress (a callable(downloaded, total, url)) to report byte-level progress for this download; when None the global hook set via set_progress_hook is used, if any. See set_progress_hook.