tqdm.rich#
rich.progress
decorator for iterators.
Usage:
>>> from tqdm.rich import trange, tqdm
>>> for i in trange(10):
... ...
tqdm_rich Objects#
class tqdm_rich(std_tqdm)
Experimental rich.progress GUI version of tqdm!
__init__#
def __init__(*args, **kwargs)
This class accepts the following parameters in addition to the parameters accepted by tqdm
.
Parameters
- progress: tuple, optional
arguments forrich.progress.Progress()
. - options: dict, optional
keyword arguments forrich.progress.Progress()
.
reset#
def reset(total=None)
Resets to 0 iterations for repeated use.
Parameters
- total: int or float, optional. Total to use for the new bar.
trrange#
def trrange(*args, **kwargs)
Shortcut for tqdm.rich.tqdm(range(*args), **kwargs)
.