class ProgressBar(t.Generic[V]):
Undocumented
Method | __enter__ |
Undocumented |
Method | __exit__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __iter__ |
Undocumented |
Method | __next__ |
Undocumented |
Method | finish |
Undocumented |
Method | format_bar |
Undocumented |
Method | format_eta |
Undocumented |
Method | format_pct |
Undocumented |
Method | format_pos |
Undocumented |
Method | format_progress_line |
Undocumented |
Method | generator |
Return a generator which yields the items added to the bar during construction, and updates the progress bar after the yielded block returns. |
Method | make_step |
Undocumented |
Method | render_finish |
Undocumented |
Method | render_progress |
Undocumented |
Method | update |
Update the progress bar by advancing a specified number of steps, and optionally set the current_item for this new position. |
Instance Variable | _completed_intervals |
Undocumented |
Instance Variable | _last_line |
Undocumented |
Instance Variable | autowidth |
Undocumented |
Instance Variable | avg |
Undocumented |
Instance Variable | bar_template |
Undocumented |
Instance Variable | color |
Undocumented |
Instance Variable | current_item |
Undocumented |
Instance Variable | empty_char |
Undocumented |
Instance Variable | entered |
Undocumented |
Instance Variable | eta_known |
Undocumented |
Instance Variable | file |
Undocumented |
Instance Variable | fill_char |
Undocumented |
Instance Variable | finished |
Undocumented |
Instance Variable | info_sep |
Undocumented |
Instance Variable | is_hidden |
Undocumented |
Instance Variable | item_show_func |
Undocumented |
Instance Variable | iter |
Undocumented |
Instance Variable | label |
Undocumented |
Instance Variable | last_eta |
Undocumented |
Instance Variable | length |
Undocumented |
Instance Variable | max_width |
Undocumented |
Instance Variable | pos |
Undocumented |
Instance Variable | show_eta |
Undocumented |
Instance Variable | show_percent |
Undocumented |
Instance Variable | show_pos |
Undocumented |
Instance Variable | start |
Undocumented |
Instance Variable | update_min_steps |
Undocumented |
Instance Variable | width |
Undocumented |
Property | eta |
Undocumented |
Property | pct |
Undocumented |
Property | time_per_iteration |
Undocumented |
Undocumented
Parameters | |
iterable:t.Optional[ | Undocumented |
length:t.Optional[ | Undocumented |
fill_char:str | Undocumented |
empty_char:str | Undocumented |
bar_template:str | Undocumented |
info_sep:str | Undocumented |
show_eta:bool | Undocumented |
show_percent:t.Optional[ | Undocumented |
show_pos:bool | Undocumented |
item_show_func:t.Optional[ | Undocumented |
label:t.Optional[ | Undocumented |
file:t.Optional[ | Undocumented |
color:t.Optional[ | Undocumented |
update_min_steps:int | Undocumented |
width:int | Undocumented |
Returns | |
t.Iterator[ | Undocumented |
Update the progress bar by advancing a specified number of steps, and optionally set the current_item for this new position.
Parameters | |
n_steps:int | Number of steps to advance. |
current_item:t.Optional[ | Optional item to set as current_item for the updated position. |