janus.utils.progress#

Attributes#

log

Functions#

track(iterable[, description, total])

Track progress of an iterable.

Module Contents#

janus.utils.progress.log#
janus.utils.progress.track(iterable, description=None, total=None)#

Track progress of an iterable.

Parameters:
  • iterable (Iterable) – The iterable to track.

  • description (None | str) – The description to show for the progress bar.

  • total (None | int) – The total number of items in the iterable.

Return type:

Iterable