deepr.utils.progress

deepr.utils.progress(iterable, secs=60)[source]

Log progress on Iterable.iterable

>> from deepr.utils import progress >>> for idx in progress(range(2), secs=10): … print(idx) 0 1