fastai users can download and extract them with a single command, using the return value to access the files. When you do so, fastdownload will ensure your users have the latest version, by checking their downloaded archives against your updated file size and hash information.įor instance, fastai uses fastdownload to provide access to datasets for deep learning. In the future, you may want to update one or more of your archives. However, if that size or hash of the archive is different to what it should be, then the user will be informed, and a new version will be downloaded. If that URL has already been downloaded, then the cached archive or contents will be used automatically. The path to the extracted file is returned. Your user just calls a single method, FastDownload.get, passing the URL required, and the URL will be downloaded and extracted to the directories you choose. The situation where you might want to use fastdownload is where you have one or more URLs pointing at some archives you want to make available, and you want to ensure that your users download those archives correctly, have the latest version, and that it's as easy as possible for them to access the information in those archives.
0 Comments
Leave a Reply. |