b.progress : module documentation

Part of bzrlib

Progress indicators.

The usual way to use this is via bzrlib.ui.ui_factory.nested_progress_bar which will manage a conceptual stack of nested activities.

Class ProgressTask Model component of a progress indicator.
Class DummyProgress Progress-bar standin that does nothing.
Function str_tdelta Undocumented
Function get_eta Undocumented
Class ProgressPhase Update progress object with the current phase
Function _supports_progress Detect if we can use pretty progress bars on file F.
def _supports_progress(f):
Detect if we can use pretty progress bars on file F.

If this returns true we expect that a human may be looking at that output, and that we can repaint a line to update it.

This doesn't check the policy for whether we should use them.

def str_tdelta(delt):
Undocumented
def get_eta(start_time, current, total, enough_samples=3, last_updates=None, n_recent=10):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2019-07-19 00:30:15.