libdnf5_cli.progressbar
- class libdnf5_cli.progressbar.DownloadProgressBar(download_size, description)
- get_messages()
- get_number_widget_visible()
- set_number_widget_visible(value)
- set_state(value)
- set_ticks(value)
- set_total_ticks(value)
- thisown
- libdnf5_cli.progressbar.MessageType_ERROR
- libdnf5_cli.progressbar.MessageType_INFO
- libdnf5_cli.progressbar.MessageType_SUCCESS
- libdnf5_cli.progressbar.MessageType_WARNING
- class libdnf5_cli.progressbar.MultiProgressBar
- NEVER_VISIBLE_LIMIT
- add_bar(bar)
- get_total_num_of_bars()
Returns the total number of progress bars. It can be greater than the current number of registered progress bars.
- set_total_bar_number_widget_visible(value)
Sets the visibility of number widget in the total bar.
- set_total_bar_visible_limit(value)
Sets the minimum number of registered progress bars to show the total bar.
- set_total_num_of_bars(value)
Allows to preset the value of the total number of progress bars. If the value is lower than the current number of registered progress bars, it is automatically increased.
- thisown
- class libdnf5_cli.progressbar.ProgressBar(*args, **kwargs)
- add_message(type, message)
- add_ticks(value)
- get_auto_finish()
- get_average_speed()
- get_begin()
- get_current_speed()
- get_description()
- get_elapsed_seconds()
- get_messages()
- get_number()
- get_percent_done()
- get_remaining_seconds()
- get_state()
- get_ticks()
- get_total()
- get_total_ticks()
- is_failed()
- is_finished()
- pop_message()
remove the last message
- reset()
- set_auto_finish(value)
- set_description(value)
- set_number(value)
- set_state(value)
- set_ticks(value)
- set_total(value)
- set_total_ticks(value)
- start()
- thisown
- update()
- libdnf5_cli.progressbar.ProgressBarState_ERROR
- libdnf5_cli.progressbar.ProgressBarState_READY
- libdnf5_cli.progressbar.ProgressBarState_STARTED
- libdnf5_cli.progressbar.ProgressBarState_SUCCESS
- libdnf5_cli.progressbar.ProgressBarState_WARNING