Releases: Cadair/parfive
Releases · Cadair/parfive
v1.4.0
v1.3.0
Changes
Enhancements
- Add environment variable based options to help with debugging @Cadair (#70)
- Any errors encountered downloading files are now logged to the built in python logging system at the INFO level @dstansby (#58)
Misc/Internal Changes
- Change use of
ensure_future
to newercreate_task
@1nF0rmed (#62) - Infra Changes @nabobalis (#68)
v1.2.0
Features
- Make
parfive.Downloader.run_download
public API and move all of theparfive.Downloader.download
logic intorun_download
. This enabled using parfive from inside an async context. (#54)
Bugfixes
- Handing a custom
loop
toDownloader
now does nothing, and parfive spins up its own loop. This is to prepare for python 3.10 where support for passing custom loops to variousasyncio
methods will be removed. (#53) - Fix a bug where downloads fail if
max_conn
is changed after construction of theparfive.Downloader
instance. (#56)
Misc
v1.1.1
v1.1.0
Parfive v1.1.0 (2020-05-01)
Features
- Add concurent requests to parfive.
This feature splits the download of a single file into multiple parts if the server the file is being downloaded from supports ranged requests. This should improve the performance of all downloads under these circumstances, and also make parfive useful even if downloading a single file. No changes are needed to use this feature, files will be downloaded using 12 concurrent requests by default. To change the number of concurrent requests you can passmax_splits
to parfive.Downloader.enqueue_file. (#15) - Added CLI interface to Parfive.
(#16) - Parfive now only supports Python 3.6+.
(#22) - Support for specifying headers to be used for all requests to parfive.Downloader has been added.
(#32) - Support for HTTP_PROXY and HTTPS_PROXY environment variables have been added. (#32)
Bugfixes
- Fix a bug where running parfive in the notebook would error if
ipywidgets was not installed.
(#25) - Remove use of the deprecated
loop=
keyword argument to aiohttp.ClientSession.
(#30) - Update the notebook detection function due to changes in tqdm
(#36) - Reduce the number of parallel connections to 25 (5 parallel files, 5
parallel downloads per file).
(#37)