Skip to content

Commit

Permalink
Update dependencies and add rich library
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshCu committed Jul 10, 2024
1 parent 591e4ca commit f9b8be0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ dist
*.egg-info
**/tiles/tms*
**/tiles/vpu*
*.tar.gz
2 changes: 1 addition & 1 deletion modules/map_app/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def decompress_gzip_tar(file_path, output_dir):

with gzip.open(file_path, "rb") as f_in:
# Create a tqdm progress bar
with tqdm(total=total_size, unit="B", unit_scale=True, desc=f"Decompressing") as pbar:
with tqdm(total=total_size, unit="MB", unit_scale=True, desc=f"Decompressing") as pbar:
# Open the tar archive
with tarfile.open(fileobj=f_in) as tar:
# Extract all contents
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ dependencies = [
"numpy==1.26.4",
"flaskwebgui==1.1.0",
"tqdm==4.66.4",
"rich==13.7.1",
]

[project.urls]
Expand Down

0 comments on commit f9b8be0

Please sign in to comment.