THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
Manage console progress tasks and their displayed state.
| Method | __init__ |
Initialize a new progress bar instance. |
| Method | __update |
Update the visual representation of the progress bar in the console. |
| Method | advance |
Advance the progress bar by a specified increment. |
| Method | finish |
Complete the progress bar and move to a new line. |
| Method | start |
Reset and display the progress bar at the starting state. |
| Instance Variable | _flush |
Flush obtained from _stdout.flush. |
| Instance Variable | _write |
Callable used to append bytes to the current multipart part. |
| Instance Variable | bar |
Width of the progress bar in characters. Default is 50. |
| Instance Variable | progress |
Initialize progress to zero. |
| Instance Variable | total |
Maximum value representing 100% progress. Default is 100. |
Update the visual representation of the progress bar in the console.
Calculates the percentage of completion and redraws the progress bar in place, overwriting the previous output.
| Returns | |
None | This method does not return a value. |
Complete the progress bar and move to a new line.
Sets progress to the maximum value, updates the bar, and moves the cursor to a new line for cleaner output.
| Returns | |
None | This method does not return a value. |
Reset and display the progress bar at the starting state.
Sets the progress to zero and renders the initial progress bar.
| Returns | |
None | This method does not return a value. |