def display_progress_bar(sync_object): ProgressBar( total=sync_object.total_size, leave=False, ncols=80, unit="B", unit_scale=True, mininterval=0.2, )
def hide_progress_bar(sync_object): ProgressBar.close()
def update_progress_bar(value): ProgressBar.update(value)