bundles / papyri 0.0.10 / papyri / _progress / iter_with_progress
function
papyri._progress:iter_with_progress
source: /papyri/_progress.py :99
Signature
def iter_with_progress ( iterable : Iterable[Any] , * , dummy : bool , description : str = Progress , transient : bool = True ) → Iterator[tuple[Progress | None, Any]] Summary
Iterate iterable and yield (progress, item) pairs.
Extended Summary
With dummy=True, no progress bar is shown; progress is None for every yielded pair. A one-line summary prints at the end if transient is set.
Aliases
-
papyri._progress.iter_with_progress