PyUp Safety actively tracks 304,723 Python packages for vulnerabilities and notifies you when to upgrade.
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 newer `create_task` 1nF0rmed (62) - Infra Changes nabobalis (68)
Features - Make `parfive.Downloader.run_download` public API and move all of the `parfive.Downloader.download` logic into `run_download`. This enabled using parfive from inside an async context. ([\54](https://github.com/Cadair/parfive/pull/54)) Bugfixes - Handing a custom `loop` to `Downloader` 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 various `asyncio` methods will be removed. ([\53](https://github.com/Cadair/parfive/pull/53)) - Fix a bug where downloads fail if `max_conn` is changed after construction of the `parfive.Downloader` instance. ([\56](https://github.com/Cadair/parfive/pull/56)) Misc - [\49](https://github.com/Cadair/parfive/pull/49)
Bugfixes - Fix pypi metadata and some packaging improvements. ([\48](https://github.com/Cadair/parfive/pull/48)) - Update aioftp to the latest version because of an API change. ([\48](https://github.com/Cadair/parfive/pull/48)
=========================== Features -------- - Add concurent requests to <span class="title-ref">parfive</span>. 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 pass `max_splits` to <span class="title-ref">parfive.Downloader.enqueue\_file</span>. ([\15](https://github.com/Cadair/parfive/pull/15)) - Added CLI interface to Parfive. ([\16](https://github.com/Cadair/parfive/pull/16)) - Parfive now only supports Python 3.6+. ([\22](https://github.com/Cadair/parfive/pull/22)) - Support for specifying headers to be used for all requests to <span class="title-ref">parfive.Downloader</span> has been added. ([\32](https://github.com/Cadair/parfive/pull/32)) - Support for <span class="title-ref">HTTP\_PROXY</span> and <span class="title-ref">HTTPS\_PROXY</span> environment variables have been added. ([\32](https://github.com/Cadair/parfive/pull/32)) Bugfixes -------- - Fix a bug where running parfive in the notebook would error if ipywidgets was not installed. ([\25](https://github.com/Cadair/parfive/pull/25)) - Remove use of the deprecated `loop=` keyword argument to <span class="title-ref">aiohttp.ClientSession</span>. ([\30](https://github.com/Cadair/parfive/pull/30)) - Update the notebook detection function due to changes in tqdm ([\36](https://github.com/Cadair/parfive/pull/36)) - Reduce the number of parallel connections to 25 (5 parallel files, 5 parallel downloads per file). ([\37](https://github.com/Cadair/parfive/pull/37))
Fixes a bug with detection of Jupyter notebooks and display of tqdm notebook progress bars.