pyphi.parallel.backends.progress.LocalProgressBar#

class pyphi.parallel.backends.progress.LocalProgressBar(total=None, desc='')[source]#

Bases: object

Simple progress bar wrapper around tqdm.

Provides a consistent interface for progress tracking that works in both terminal and Jupyter notebook environments.

Parameters:
  • total (int | None)

  • desc (str)

update(n=1)[source]#

Advance the bar by n items.

Parameters:

n (int) – Number of items completed since the last update.

Return type:

None

close()[source]#

Close the progress bar.

Return type:

None