tqdm API reference
49 public APIs from tqdm (tqdm/tqdm) — 24 classes, 8 functions, 17 methods. Signatures extracted by static analysis of the actual source.
Repository: tqdm/tqdm
| Kind | Count |
|---|---|
| Classes | 24 |
| Functions | 8 |
| Methods | 17 |
API list
class
tqdm._monitor.TMonitorMonitoring thread for tqdm bars.
class
tqdm.asyncio.tqdm_asyncioAsynchronous-friendly version of tqdm.
func
tqdm.cli.cp(name, dst)copy resource `name` to `dst`
class
tqdm.contrib.DummyTqdmFileDummy file-like that will write to tqdm
func
tqdm.contrib.builtin_iterable(func)Returns `func`
class
tqdm.contrib.discord.DiscordIONon-blocking file-like IO using a Discord Bot.
method
tqdm.contrib.discord.DiscordIO.delete()Deletes internal `message_id`.
func
tqdm.contrib.itertools.chain(*total=None, *tqdm_class=tqdm_auto, *iterables, **kwargs)Equivalent of `itertools.chain`.
class
tqdm.contrib.slack.SlackIONon-blocking file-like IO using a Slack app.
class
tqdm.contrib.slack.tqdm_slackStandard `tqdm.auto.tqdm` but also sends updates to a Slack app.
class
tqdm.contrib.telegram.TelegramIONon-blocking file-like IO using a Telegram Bot.
method
tqdm.contrib.telegram.TelegramIO.delete()Deletes internal `message_id`.
func
tqdm.contrib.tmap(function, *sequences, **tqdm_kwargs)Equivalent of builtin `map`.
func
tqdm.contrib.tzip(iter1, *iter2plus, **tqdm_kwargs)Equivalent of builtin `zip`.
class
tqdm.contrib.utils_worker.MonoWorkerSupports one running task and one waiting task.
class
tqdm.dask.TqdmCallbackDask callback for task progress.
method
tqdm.dask.TqdmCallback.display()Displays in the current cell in Notebooks.
class
tqdm.gui.tqdm_guiExperimental Matplotlib GUI version of tqdm!
class
tqdm.keras.TqdmCallbackKeras callback for epoch and batch progress.
method
tqdm.keras.TqdmCallback.display()Displays in the current cell in Notebooks.
class
tqdm.notebook.TqdmHBox`ipywidgets.HBox` with a pretty representation
class
tqdm.notebook.tqdm_notebookExperimental IPython/Jupyter Notebook widget using tqdm!
method
tqdm.notebook.tqdm_notebook.reset(total=None)Resets to 0 iterations for repeated use.
class
tqdm.rich.FractionColumnRenders completed/total, e.g.
class
tqdm.rich.RateColumnRenders human readable transfer speed.
method
tqdm.rich.RateColumn.render(task)Show data transfer speed.
class
tqdm.rich.tqdm_richExperimental rich.progress GUI version of tqdm!
method
tqdm.rich.tqdm_rich.reset(total=None)Resets to 0 iterations for repeated use.
func
tqdm.std.TRLock(*args, **kwargs)threading RLock
class
tqdm.std.TqdmDefaultWriteLockProvide a default write lock for thread and multiprocessing safety.
class
tqdm.std.TqdmDeprecationWarningmay be removed in a future release
class
tqdm.std.TqdmExperimentalWarningbeta feature, unstable API and behaviour
class
tqdm.std.TqdmMonitorWarningtqdm monitor errors which do not affect external functionality
class
tqdm.std.TqdmWarningbase class for all tqdm warnings.
method
tqdm.std.tqdm.clear(nolock=False)Clear current bar display.
method
tqdm.std.tqdm.format_dict()Public API for read-only member access.
method
tqdm.std.tqdm.format_num(n)Intelligent scientific notation (.3g).
method
tqdm.std.tqdm.get_lock()Get the global lock.
method
tqdm.std.tqdm.refresh(nolock=False, lock_args=None)Force refresh the display of this bar.
method
tqdm.std.tqdm.reset(total=None)Resets to 0 iterations for repeated use.
method
tqdm.std.tqdm.set_lock(lock)Set the global lock.
method
tqdm.std.tqdm.unpause()Restart tqdm timer from last print time.
method
tqdm.std.tqdm.wrapattr(stream, method, total=None, bytes=True, **tqdm_kwargs)stream : file-like object.
func
tqdm.std.trange(*args, **kwargs)Shortcut for tqdm(range(*args), **kwargs).
class
tqdm.tk.tqdm_tkExperimental Tkinter GUI version of tqdm!
method
tqdm.tk.tqdm_tk.reset(total=None)Resets to 0 iterations for repeated use.
func
tqdm.tqdm_notebook(*args, **kwargs)See tqdm.notebook.tqdm for full documentation
class
tqdm.utils.ComparableAssumes child has self._comparable attr/@property
class
tqdm.utils.FormatReplace>>> a = FormatReplace('something') >>> f"{a:5d}" 'something'
About this data
These signatures were extracted from the public source of tqdm/tqdm
using Python's ast module. Argument names, default values,
type annotations and return types are taken verbatim from the code.
Implementation bodies are never stored. See
how it works for details.