Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added show_progress functionality for download #635

Merged
merged 2 commits into from
Jan 18, 2023
Merged

Conversation

Magnus167
Copy link
Member

@Magnus167 Magnus167 commented Jan 18, 2023

Now shows ETAs and progress bars for

with JPMaQSDownload(...) as client:
    df = client.download(... show_progress=True)

(default is False).
eg. :

2023-01-18T01:34:43.620624  UTC
Number of expressions requested : 1000
Requesting data :  44%|███████████              | 22/50 [00:08<00:13,  2.11it/s]

2023-01-18T01:34:43.620624  UTC
Number of expressions requested : 1000
Requesting data : 100%|█████████████████████████| 50/50 [00:17<00:00,  2.83it/s]
Downloading data :  34%|████████▏               | 17/50 [00:30<00:23,  1.43it/s]

2023-01-18T01:34:43.620624  UTC
Number of expressions requested : 1000
Requesting data : 100%|█████████████████████████| 50/50 [00:17<00:00,  2.83it/s]
Downloading data : 100%|████████████████████████| 50/50 [00:50<00:00,  1.04it/s] 

@Magnus167 Magnus167 self-assigned this Jan 18, 2023
@Magnus167 Magnus167 merged commit 5724b92 into develop Jan 18, 2023
@Magnus167 Magnus167 deleted the feature/add_tqdm branch January 18, 2023 14:55
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.

None yet

2 participants