diff --git a/stubs/tqdm/tqdm/__init__.pyi b/stubs/tqdm/tqdm/__init__.pyi index 13be70a26fc4..a48d6f41ff7d 100644 --- a/stubs/tqdm/tqdm/__init__.pyi +++ b/stubs/tqdm/tqdm/__init__.pyi @@ -15,6 +15,27 @@ from .std import ( tqdm as tqdm, trange as trange, ) +from .version import __version__ as __version__ + +__all__ = [ + "tqdm", + "tqdm_gui", + "trange", + "tgrange", + "tqdm_pandas", + "tqdm_notebook", + "tnrange", + "main", + "TMonitor", + "TqdmTypeError", + "TqdmKeyError", + "TqdmWarning", + "TqdmDeprecationWarning", + "TqdmExperimentalWarning", + "TqdmMonitorWarning", + "TqdmSynchronisationWarning", + "__version__", +] def tqdm_notebook(*args, **kwargs) -> tqdm_notebook_cls[Incomplete]: ... def tnrange(*args, **kwargs) -> tqdm_notebook_cls[int]: ... diff --git a/stubs/tqdm/tqdm/_monitor.pyi b/stubs/tqdm/tqdm/_monitor.pyi index f8b6e44d48d9..bb8ee47220b8 100644 --- a/stubs/tqdm/tqdm/_monitor.pyi +++ b/stubs/tqdm/tqdm/_monitor.pyi @@ -1,6 +1,8 @@ from _typeshed import Incomplete from threading import Thread +__all__ = ["TMonitor", "TqdmSynchronisationWarning"] + class TqdmSynchronisationWarning(RuntimeWarning): ... class TMonitor(Thread): diff --git a/stubs/tqdm/tqdm/_tqdm_pandas.pyi b/stubs/tqdm/tqdm/_tqdm_pandas.pyi index 434c1fc3afa5..9f4844440e09 100644 --- a/stubs/tqdm/tqdm/_tqdm_pandas.pyi +++ b/stubs/tqdm/tqdm/_tqdm_pandas.pyi @@ -1 +1,3 @@ +__all__ = ["tqdm_pandas"] + def tqdm_pandas(tclass, **tqdm_kwargs) -> None: ... diff --git a/stubs/tqdm/tqdm/asyncio.pyi b/stubs/tqdm/tqdm/asyncio.pyi index 65b15da2f229..c8997b2d2a56 100644 --- a/stubs/tqdm/tqdm/asyncio.pyi +++ b/stubs/tqdm/tqdm/asyncio.pyi @@ -4,6 +4,8 @@ from typing import Generic, NoReturn, TypeVar, overload from .std import tqdm as std_tqdm +__all__ = ["tqdm_asyncio", "tarange", "tqdm", "trange"] + _T = TypeVar("_T") class tqdm_asyncio(Generic[_T], std_tqdm[_T]): diff --git a/stubs/tqdm/tqdm/auto.pyi b/stubs/tqdm/tqdm/auto.pyi index c400fe8db3fc..037ba2452185 100644 --- a/stubs/tqdm/tqdm/auto.pyi +++ b/stubs/tqdm/tqdm/auto.pyi @@ -1 +1,3 @@ from .asyncio import tqdm as tqdm, trange as trange + +__all__ = ["tqdm", "trange"] diff --git a/stubs/tqdm/tqdm/autonotebook.pyi b/stubs/tqdm/tqdm/autonotebook.pyi index fb095861d148..2e610d53b9f4 100644 --- a/stubs/tqdm/tqdm/autonotebook.pyi +++ b/stubs/tqdm/tqdm/autonotebook.pyi @@ -1 +1,3 @@ from .std import tqdm as tqdm, trange as trange + +__all__ = ["tqdm", "trange"] diff --git a/stubs/tqdm/tqdm/cli.pyi b/stubs/tqdm/tqdm/cli.pyi index adaae53896c0..742ea2947791 100644 --- a/stubs/tqdm/tqdm/cli.pyi +++ b/stubs/tqdm/tqdm/cli.pyi @@ -1,3 +1,5 @@ from collections.abc import Sequence +__all__ = ["main"] + def main(fp=..., argv: Sequence[str] | None = ...) -> None: ... diff --git a/stubs/tqdm/tqdm/contrib/__init__.pyi b/stubs/tqdm/tqdm/contrib/__init__.pyi index 3e8d13361baf..fd7f09637558 100644 --- a/stubs/tqdm/tqdm/contrib/__init__.pyi +++ b/stubs/tqdm/tqdm/contrib/__init__.pyi @@ -3,6 +3,8 @@ from collections.abc import Callable, Generator from ..utils import ObjectWrapper +__all__ = ["tenumerate", "tzip", "tmap"] + class DummyTqdmFile(ObjectWrapper): def __init__(self, wrapped) -> None: ... def write(self, x, nolock: bool = ...) -> None: ... diff --git a/stubs/tqdm/tqdm/contrib/bells.pyi b/stubs/tqdm/tqdm/contrib/bells.pyi index 662e91788481..97e27c8a18a4 100644 --- a/stubs/tqdm/tqdm/contrib/bells.pyi +++ b/stubs/tqdm/tqdm/contrib/bells.pyi @@ -1 +1,3 @@ from ..auto import tqdm as tqdm, trange as trange + +__all__ = ["tqdm", "trange"] diff --git a/stubs/tqdm/tqdm/contrib/concurrent.pyi b/stubs/tqdm/tqdm/contrib/concurrent.pyi index 99349410f14e..40e070a53c1c 100644 --- a/stubs/tqdm/tqdm/contrib/concurrent.pyi +++ b/stubs/tqdm/tqdm/contrib/concurrent.pyi @@ -1,2 +1,4 @@ +__all__ = ["thread_map", "process_map"] + def thread_map(fn, *iterables, **tqdm_kwargs): ... def process_map(fn, *iterables, **tqdm_kwargs): ... diff --git a/stubs/tqdm/tqdm/contrib/discord.pyi b/stubs/tqdm/tqdm/contrib/discord.pyi index 0d75bde97e44..80b448443824 100644 --- a/stubs/tqdm/tqdm/contrib/discord.pyi +++ b/stubs/tqdm/tqdm/contrib/discord.pyi @@ -5,6 +5,8 @@ from typing import Generic, NoReturn, TypeVar, overload from ..auto import tqdm as tqdm_auto from .utils_worker import MonoWorker +__all__ = ["DiscordIO", "tqdm_discord", "tdrange", "tqdm", "trange"] + class DiscordIO(MonoWorker): text: Incomplete message: Incomplete diff --git a/stubs/tqdm/tqdm/contrib/itertools.pyi b/stubs/tqdm/tqdm/contrib/itertools.pyi index 7a2aa148fc31..991181ffa8f9 100644 --- a/stubs/tqdm/tqdm/contrib/itertools.pyi +++ b/stubs/tqdm/tqdm/contrib/itertools.pyi @@ -1,4 +1,6 @@ from _typeshed import Incomplete from collections.abc import Generator, Iterable +__all__ = ["product"] + def product(*iterables: Iterable[Incomplete], **tqdm_kwargs) -> Generator[Incomplete, None, None]: ... diff --git a/stubs/tqdm/tqdm/contrib/slack.pyi b/stubs/tqdm/tqdm/contrib/slack.pyi index 93508ca45325..e1900c5d798b 100644 --- a/stubs/tqdm/tqdm/contrib/slack.pyi +++ b/stubs/tqdm/tqdm/contrib/slack.pyi @@ -5,6 +5,8 @@ from typing import Generic, NoReturn, TypeVar, overload from ..auto import tqdm as tqdm_auto from .utils_worker import MonoWorker +__all__ = ["SlackIO", "tqdm_slack", "tsrange", "tqdm", "trange"] + class SlackIO(MonoWorker): client: Incomplete text: Incomplete diff --git a/stubs/tqdm/tqdm/contrib/telegram.pyi b/stubs/tqdm/tqdm/contrib/telegram.pyi index 42a6d8b855f3..3af87142f330 100644 --- a/stubs/tqdm/tqdm/contrib/telegram.pyi +++ b/stubs/tqdm/tqdm/contrib/telegram.pyi @@ -5,6 +5,8 @@ from typing import Generic, NoReturn, TypeVar, overload from ..auto import tqdm as tqdm_auto from .utils_worker import MonoWorker +__all__ = ["TelegramIO", "tqdm_telegram", "ttgrange", "tqdm", "trange"] + class TelegramIO(MonoWorker): API: str token: Incomplete diff --git a/stubs/tqdm/tqdm/contrib/utils_worker.pyi b/stubs/tqdm/tqdm/contrib/utils_worker.pyi index 6748b1d1d3c6..bd84e51541b1 100644 --- a/stubs/tqdm/tqdm/contrib/utils_worker.pyi +++ b/stubs/tqdm/tqdm/contrib/utils_worker.pyi @@ -5,6 +5,8 @@ from concurrent.futures import Future, ThreadPoolExecutor from typing import TypeVar from typing_extensions import ParamSpec +__all__ = ["MonoWorker"] + _P = ParamSpec("_P") _R = TypeVar("_R") diff --git a/stubs/tqdm/tqdm/dask.pyi b/stubs/tqdm/tqdm/dask.pyi index dd1a32285ba5..2509750615dd 100644 --- a/stubs/tqdm/tqdm/dask.pyi +++ b/stubs/tqdm/tqdm/dask.pyi @@ -2,6 +2,8 @@ from _typeshed import Incomplete from typing import Any from typing_extensions import TypeAlias +__all__ = ["TqdmCallback"] + _Callback: TypeAlias = Any # Actually dask.callbacks.Callback class TqdmCallback(_Callback): diff --git a/stubs/tqdm/tqdm/gui.pyi b/stubs/tqdm/tqdm/gui.pyi index b379cc71d9fd..3369bd021d41 100644 --- a/stubs/tqdm/tqdm/gui.pyi +++ b/stubs/tqdm/tqdm/gui.pyi @@ -4,6 +4,8 @@ from typing import Generic, NoReturn, TypeVar, overload from .std import tqdm as std_tqdm +__all__ = ["tqdm_gui", "tgrange", "tqdm", "trange"] + _T = TypeVar("_T") class tqdm_gui(Generic[_T], std_tqdm[_T]): diff --git a/stubs/tqdm/tqdm/keras.pyi b/stubs/tqdm/tqdm/keras.pyi index 30dc90e7e57e..0a5f5c7bdcf9 100644 --- a/stubs/tqdm/tqdm/keras.pyi +++ b/stubs/tqdm/tqdm/keras.pyi @@ -2,6 +2,8 @@ from _typeshed import Incomplete from typing import Any from typing_extensions import TypeAlias +__all__ = ["TqdmCallback"] + _Callback: TypeAlias = Any # Actually tensorflow.keras.callbacks.Callback class TqdmCallback(_Callback): diff --git a/stubs/tqdm/tqdm/notebook.pyi b/stubs/tqdm/tqdm/notebook.pyi index e9bf3e265cd0..7ecb32b2b6f8 100644 --- a/stubs/tqdm/tqdm/notebook.pyi +++ b/stubs/tqdm/tqdm/notebook.pyi @@ -4,6 +4,8 @@ from typing import Generic, NoReturn, TypeVar, overload from .std import tqdm as std_tqdm, trange as trange +__all__ = ["tqdm_notebook", "tnrange", "tqdm", "trange"] + _T = TypeVar("_T") class tqdm_notebook(Generic[_T], std_tqdm[_T]): diff --git a/stubs/tqdm/tqdm/rich.pyi b/stubs/tqdm/tqdm/rich.pyi index 69b13ff663ba..b0e1abe43b4e 100644 --- a/stubs/tqdm/tqdm/rich.pyi +++ b/stubs/tqdm/tqdm/rich.pyi @@ -5,6 +5,8 @@ from typing_extensions import TypeAlias from .std import tqdm as std_tqdm +__all__ = ["tqdm_rich", "trrange", "tqdm", "trange"] + _ProgressColumn: TypeAlias = Any # Actually rich.progress.ProgressColumn class FractionColumn(_ProgressColumn): diff --git a/stubs/tqdm/tqdm/std.pyi b/stubs/tqdm/tqdm/std.pyi index 5f0a2597c042..b4b07b4798a0 100644 --- a/stubs/tqdm/tqdm/std.pyi +++ b/stubs/tqdm/tqdm/std.pyi @@ -6,6 +6,17 @@ from typing_extensions import Literal from .utils import Comparable +__all__ = [ + "tqdm", + "trange", + "TqdmTypeError", + "TqdmKeyError", + "TqdmWarning", + "TqdmExperimentalWarning", + "TqdmDeprecationWarning", + "TqdmMonitorWarning", +] + class TqdmTypeError(TypeError): ... class TqdmKeyError(KeyError): ... diff --git a/stubs/tqdm/tqdm/tk.pyi b/stubs/tqdm/tqdm/tk.pyi index 53241d3b7d7b..5a10272f074c 100644 --- a/stubs/tqdm/tqdm/tk.pyi +++ b/stubs/tqdm/tqdm/tk.pyi @@ -4,6 +4,8 @@ from typing import Generic, NoReturn, TypeVar, overload from .std import tqdm as std_tqdm +__all__ = ["tqdm_tk", "ttkrange", "tqdm", "trange"] + _T = TypeVar("_T") class tqdm_tk(Generic[_T], std_tqdm[_T]): diff --git a/stubs/tqdm/tqdm/version.pyi b/stubs/tqdm/tqdm/version.pyi index e69de29bb2d1..bda5b5a7f4cc 100644 --- a/stubs/tqdm/tqdm/version.pyi +++ b/stubs/tqdm/tqdm/version.pyi @@ -0,0 +1 @@ +__version__: str