katsdpimager.progress module

Progress bar functions.

This wraps the progress module to add certain enhancements:

  • A helper is provided for steps where no partial progress will be reported, but goes from empty to full in one step.

  • A fallback implementation is used when stderr is not a TTY.

class katsdpimager.progress.NoTtyBar(*args, **kwargs)

Bases: katsdpimager.progress.NoTtyMixin, progress.bar.Bar

class katsdpimager.progress.NoTtyMixin(*args, **kwargs)

Bases: object

finish()
update()
katsdpimager.progress.make_progressbar(name, *args, **kwargs)
katsdpimager.progress.step(name)