The behavior of the progress bar depends on whether you provide a total value and whether you enable manual mode.
Auto Mode
Trigger: Provide a total argument to alive_bar.
Behavior: Uses an internal counter to track progress. It provides the full suite of widgets: precise bar, spinner, percentage, counter, throughput, and ETA.
Special Feature: Supports skipping items using bar(skipped=True) to keep ETA and throughput accurate.
Unknown Mode
Trigger: Do NOT provide a total argument.
Behavior: Progress is indeterminable. The bar is continuously animated. Available widgets: animated bar, spinner, counter, and throughput. ETA is not available.
Manual Mode
Trigger: Set manual=True.
Behavior: Uses a percentage (float between 0 and 1) to track progress. You have complete control over the bar position.
- If
total is provided: It behaves like Auto mode but allows manual percentage updates. - If
total is NOT provided: It provides rough versions of throughput (%/s) and ETA (until 100%).