aibasel / machetli

GNU General Public License v3.0
6 stars 3 forks source link

logging: try adding a progress bar to the output #71

Open ClemensBuechner opened 2 years ago

ClemensBuechner commented 2 years ago

Trying successor 403120/2131151 (18%) [======> ]

FlorianPommerening commented 2 years ago

tqmd seems to be the package of choice: https://github.com/tqdm/tqdm It seems to require some extra bit of code to make it work in conjunction with the logging framework (I guess to allow log messages while a progress bar is running). https://stackoverflow.com/questions/38543506 There is also enlighten (https://pypi.org/project/enlighten/) that doesn't require this extra code. Both also support jupyter notebooks bu the support in enlighten was classified as experimental.