tqdm.asyncio#
Asynchronous progressbar decorator for iterators. Includes a default range
iterator printing to stderr
.
Usage:
>>> from tqdm.asyncio import trange, tqdm
>>> async for i in trange(10):
... ...
tqdm_asyncio Objects#
class tqdm_asyncio(std_tqdm)
Asynchronous-friendly version of tqdm.
as_completed#
@classmethod
def as_completed(cls,
fs,
*,
loop=None,
timeout=None,
total=None,
**tqdm_kwargs)
Wrapper for asyncio.as_completed
.
gather#
@classmethod
async def gather(cls, *fs, loop=None, timeout=None, total=None, **tqdm_kwargs)
Wrapper for asyncio.gather
.
tarange#
def tarange(*args, **kwargs)
A shortcut for tqdm.asyncio.tqdm(range(*args), **kwargs)
.