ouster.sdk.util.progress_bar module

progressbar(progress, total, prefix='', suffix='')[source]

Displays progress in the console as a percentage.

Parameters:
  • progress – The current progress (number of items completed).

  • total – The total number of items.

  • prefix – A prefix string to display before the progress bar (optional).

  • suffix – A suffix string to display after the progress bar (optional).

class ProgressBar(total, alpha=0.05, unit='')[source]

Bases: object

clear()[source]
update(progress, prefix='', suffix='')[source]