Commit Graph

  • 126b04a6e4 Accepting request 1319607 from devel:languages:python factory Ana Guerrero 2025-11-24 13:13:51 +00:00
  • 9d2183ff6b - Add patch support-python314.patch: * Do not use return inside a finally block. Steve Kowalik 2025-11-24 01:40:12 +00:00
  • ad389269a1 Accepting request 1277650 from devel:languages:python Ana Guerrero 2025-05-15 15:01:49 +00:00
  • e6aee95dc0 Accepting request 1277541 from home:glaubitz:branches:devel:languages:python Markéta Machová 2025-05-15 08:37:26 +00:00
  • 466871fb2b Accepting request 1169461 from devel:languages:python Ana Guerrero 2024-04-21 18:28:45 +00:00
  • e5c9bedd0a - update to 2.1.0: * Add a customizable callback function for when download completed * Add callbacks for ftp downloads * Drop Python 3.7 as it's EOL * Only log get_ftp_size errors at INFO * Fixes signal that only works in main thread of the main interpreter * fix aiohttp redirect @dreamflasher (#126) - Sprinkle in update-alternatives for parfive wrapper. Dirk Mueller 2024-04-14 07:44:59 +00:00
  • 19f5f5c27a Accepting request 1101876 from devel:languages:python Dominique Leuenberger 2023-08-02 14:50:02 +00:00
  • 5a35ef30a8 - Update to 2.0.2: * Vendor parse_header out of the deprecated cgi module for Python 3.11 compatibility * Fix a bug where an asyncio.CancelledError was not properly caught * The file_progress, notebook, use_aiofiles, and header keyword arguments to parfive.Downloader have been removed and moved into the parfive.SessionConfig object. * The timeouts keyword argument has been removed from the run_download() and download() methods and replaced by an option in SessionConfig. * Add a new SessionConfig object to allow advanced configuration of the Downloader * Improve the CLI with more options * Use tqdm's auto notebook detection * Fix issue with small files where the size of a chunk would round down to 0 bytes * Remove the default download timeout of 5 minutes for a single file * Cast timeout environment variables to numbers * Add a Downloader.simple_download method to easily download a list of URLs to a single directory * Add support for optionally using aiofiles to write files to disk. - Switch to pyproject macros. - Stop using greedy globs in %files. Steve Kowalik 2023-08-02 03:16:53 +00:00
  • cecba2854f Accepting request 884569 from devel:languages:python Dominique Leuenberger 2021-04-12 10:37:33 +00:00
  • 96f68d27ed Accepting request 884062 from home:bnavigator:branches:devel:languages:python Markéta Machová 2021-04-12 08:07:39 +00:00
  • 32ae0b23e7 Accepting request 816513 from devel:languages:python Dominique Leuenberger 2020-06-23 19:06:15 +00:00
  • 46c20341d8 - Update to 1.1.0: * 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 pass max_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) - Sprinkle in update-alternatives for parfive wrapper. Steve Kowalik 2020-06-23 07:41:54 +00:00
  • a3cdd0eaa0 Accepting request 726053 from devel:languages:python Dominique Leuenberger 2019-08-27 08:22:34 +00:00
  • 44c8228371 Accepting request 726010 from home:jengelh:branches:devel:languages:python Todd R 2019-08-26 06:41:57 +00:00
  • f3169cbc19 Accepting request 717965 from devel:languages:python Dominique Leuenberger 2019-07-24 18:34:09 +00:00
  • 890988858f Accepting request 717964 from home:TheBlackCat:branches:devel:languages:python Todd R 2019-07-23 17:36:11 +00:00