Skip to content

tqdm.auto#

Enables multiple commonly used features.

Method resolution order:

  • tqdm.autonotebook without import warnings
  • tqdm.asyncio
  • tqdm.std base class

Usage:

>>> from tqdm.auto import trange, tqdm
>>> for i in trange(10):
...     ...

tqdm.contrib.bells#

Even more features than tqdm.auto (all the bells & whistles):

  • tqdm.auto
  • tqdm.tqdm.pandas
  • tqdm.contrib.telegram
    • uses ${TQDM_TELEGRAM_TOKEN} and ${TQDM_TELEGRAM_CHAT_ID}
  • tqdm.contrib.discord
    • uses ${TQDM_DISCORD_TOKEN} and ${TQDM_DISCORD_CHANNEL_ID}

tqdm.autonotebook#

Automatically choose between tqdm.notebook and tqdm.std.

Usage:

>>> from tqdm.autonotebook import trange, tqdm
>>> for i in trange(10):
...     ...