wcwidth icon indicating copy to clipboard operation
wcwidth copied to clipboard

Add an aria2 input file generator script

Open GalaxySnail opened this issue 3 years ago • 2 comments

GalaxySnail avatar Mar 06 '22 12:03 GalaxySnail

I don't think I can accept this one, there are downstream distros/re-packagers that have been using the update script, this is an external dependency, and, as a python package we aren't really able to describe "this has an external dependency" (except through conda and stuff), anyway I do appreciate the thought, and, we could maybe implement the same idea in python, to use HEAD & last-modified check to re-download only if newer than file's last modified, if that is what aria2c is for

jquast avatar Mar 16 '22 13:03 jquast

This script is only for convenience, update-table.py doesn't depend on it. We can always download files by urllib in update-table.py.

I wrote this script because downloading from unicode.org is too slow at my home, and sometimes connections are not stable. Aria2 is not for last-modified checking, but for multi-connection downloading, progress bar, and it can resume downloading after it was interrupted. If files are already downloaded, update-table.py won't download them by urllib, which is good for me. I thought this script may be helpful for developing, so I created this pull request.

GalaxySnail avatar Mar 17 '22 02:03 GalaxySnail

I use retry operators and add optional argument not to check HEAD of any file for re-fetch before processing in https://github.com/jquast/wcwidth/pull/61

jquast avatar Jan 14 '23 01:01 jquast