securesauce / precli

Precaution CLI
https://precli.readthedocs.io/
Other
7 stars 2 forks source link

Show download progress in file size #501

Closed ericwb closed 1 month ago

ericwb commented 1 month ago

The Progress class of Rich supports showing progress as download progress in bytes (MB, GB, etc). Ideally we would also show the progress as a ratio to the total zipball file size, but unforutnately the Content-Length header is not reliably returned.

The progress of the extraction was also modified to show progress in terms of files extracted vs. the total files in the zip.