Shortcuts

flash.core.data.utils.download_data

flash.core.data.utils.download_data(url, path='data/', verbose=False)[source]

Download file with progressbar.

# Code adapted from: https://gist.github.com/ruxi/5d6803c116ec1130d484a4ab8c00c603 # __author__ = “github.com/ruxi” # __license__ = “MIT”

Examples

>>> import os
>>> from flash.core.data.utils import download_data
>>> download_data("https://pl-flash-data.s3.amazonaws.com/titanic.zip", "./data")
>>> os.listdir("./data")  
[...]
Return type

None

Read the Docs v: 0.8.1.post0
Versions
latest
stable
0.8.1.post0
0.8.1
0.8.0
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.0
0.5.2
0.5.1
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0post1
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.