Skip to content

Enhance download functionality with progress tracking - #21

Merged
sirbastiano merged 2 commits into
mainfrom
progress_bar
Oct 17, 2025
Merged

Enhance download functionality with progress tracking#21
sirbastiano merged 2 commits into
mainfrom
progress_bar

Conversation

@sirbastiano

Copy link
Copy Markdown
Collaborator
  • Updated pdm.lock to modify package groups for colorama and tqdm.
  • Added a new function get_directory_size in s5cmd_utils.py to calculate the total size of files in a directory.
  • Enhanced the pull_down function to support a progress bar using tqdm, allowing users to monitor download progress based on the expected total size.
  • Modified download_product method in search.py to pass the total size of the product to the pull_down function and enable progress tracking.
  • Updated pyproject.toml to require tqdm version 4.65.0 or higher.

sirbastiano and others added 2 commits October 17, 2025 08:02
- Updated `pdm.lock` to modify package groups for `colorama` and `tqdm`.
- Added a new function `get_directory_size` in `s5cmd_utils.py` to calculate the total size of files in a directory.
- Enhanced the `pull_down` function to support a progress bar using `tqdm`, allowing users to monitor download progress based on the expected total size.
- Modified `download_product` method in `search.py` to pass the total size of the product to the `pull_down` function and enable progress tracking.
- Updated `pyproject.toml` to require `tqdm` version 4.65.0 or higher.
@sirbastiano sirbastiano self-assigned this Oct 17, 2025
@sirbastiano
sirbastiano merged commit 854f457 into main Oct 17, 2025
2 checks passed
@sirbastiano
sirbastiano deleted the progress_bar branch December 9, 2025 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant