betty.progresses.rich module

Output progress to Rich.

final class betty.progresses.rich.RichProgress

Bases: Progress

Output progress to Rich.

This is thread-safe, which means you can safely use this between different threads.

__init__(rich_progress: Progress, rich_task_description: str)
async add(add: int = 1, /) None

Add a number of tasks to the total.

async done(done: int = 1, /) None

Mark a number of tasks done.