Suppose I have a pipe out of multiple complicated functions:
long_computation = (pipe | f1 | f2 | f3 | f4)
long_computation(x)
It would be cool to provide a tqdm support here (togglable with something like long_computation.enable_progressbar()):
- pipe learns number and the names of the functions it's composed of
- it uses
tqdm to output a progress bar to terminal: 50%|███████████ | 2/4 [00:33<00:33, 15s/iter, func=f2]
I'd like to help implementing this, provided this is possible!
Suppose I have a pipe out of multiple complicated functions:
It would be cool to provide a tqdm support here (togglable with something like
long_computation.enable_progressbar()):tqdmto output a progress bar to terminal:50%|███████████ | 2/4 [00:33<00:33, 15s/iter, func=f2]I'd like to help implementing this, provided this is possible!