types-tqdm 4.67.0.20250513__py3-none-any.whl → 4.67.0.20250809__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,6 +10,6 @@ class DummyTqdmFile(ObjectWrapper):
10
10
  def write(self, x, nolock: bool = False) -> None: ...
11
11
  def __del__(self) -> None: ...
12
12
 
13
- def tenumerate(iterable, start: int = 0, total: Incomplete | None = None, tqdm_class: type[Incomplete] = ..., **tqdm_kwargs): ...
13
+ def tenumerate(iterable, start: int = 0, total=None, tqdm_class: type[Incomplete] = ..., **tqdm_kwargs): ...
14
14
  def tzip(iter1, *iter2plus, **tqdm_kwargs) -> Generator[Incomplete, None, None]: ...
15
15
  def tmap(function: Callable[..., Incomplete], *sequences, **tqdm_kwargs) -> Generator[Incomplete, None, None]: ...
tqdm-stubs/dask.pyi CHANGED
@@ -1,11 +1,12 @@
1
1
  from _typeshed import Incomplete
2
2
  from collections.abc import Callable
3
- from typing import ClassVar
3
+ from typing import ClassVar, type_check_only
4
4
  from typing_extensions import Self
5
5
 
6
6
  __all__ = ["TqdmCallback"]
7
7
 
8
8
  # dask.callbacks.Callback
9
+ @type_check_only
9
10
  class _Callback:
10
11
  active: ClassVar[set[tuple[Callable[..., Incomplete] | None, ...]]]
11
12
  def __init__(
tqdm-stubs/keras.pyi CHANGED
@@ -29,7 +29,7 @@ class _Callback:
29
29
 
30
30
  class TqdmCallback(_Callback):
31
31
  @staticmethod
32
- def bar2callback(bar, pop: Incomplete | None = None, delta=...): ...
32
+ def bar2callback(bar, pop=None, delta=...): ...
33
33
  tqdm_class: Incomplete
34
34
  epoch_bar: Incomplete
35
35
  on_epoch_end: Incomplete
@@ -37,15 +37,7 @@ class TqdmCallback(_Callback):
37
37
  verbose: Incomplete
38
38
  batch_bar: Incomplete
39
39
  on_batch_end: Incomplete
40
- def __init__(
41
- self,
42
- epochs: Incomplete | None = None,
43
- data_size: Incomplete | None = None,
44
- batch_size: Incomplete | None = None,
45
- verbose: int = 1,
46
- tqdm_class=...,
47
- **tqdm_kwargs,
48
- ) -> None: ...
40
+ def __init__(self, epochs=None, data_size=None, batch_size=None, verbose: int = 1, tqdm_class=..., **tqdm_kwargs) -> None: ...
49
41
  def on_train_begin(self, *_, **__) -> None: ...
50
42
  def on_epoch_begin(self, epoch, *_, **__) -> None: ...
51
43
  def on_train_end(self, *_, **__) -> None: ...
tqdm-stubs/rich.pyi CHANGED
@@ -1,7 +1,7 @@
1
1
  from _typeshed import Incomplete, SupportsWrite
2
2
  from abc import ABC, abstractmethod
3
3
  from collections.abc import Iterable, Mapping
4
- from typing import NoReturn, TypeVar, overload
4
+ from typing import NoReturn, TypeVar, overload, type_check_only
5
5
 
6
6
  from .std import tqdm as std_tqdm
7
7
 
@@ -10,6 +10,7 @@ __all__ = ["tqdm_rich", "trrange", "tqdm", "trange"]
10
10
  _T = TypeVar("_T")
11
11
 
12
12
  # Actually rich.progress.ProgressColumn
13
+ @type_check_only
13
14
  class _ProgressColumn(ABC):
14
15
  max_refresh: float | None
15
16
  def __init__(self, table_column: Incomplete | None = ...) -> None: ...
tqdm-stubs/std.pyi CHANGED
@@ -23,7 +23,7 @@ class TqdmTypeError(TypeError): ...
23
23
  class TqdmKeyError(KeyError): ...
24
24
 
25
25
  class TqdmWarning(Warning):
26
- def __init__(self, msg, fp_write: Incomplete | None = None, *a, **k) -> None: ...
26
+ def __init__(self, msg, fp_write=None, *a, **k) -> None: ...
27
27
 
28
28
  class TqdmExperimentalWarning(TqdmWarning, FutureWarning): ...
29
29
  class TqdmDeprecationWarning(TqdmWarning, DeprecationWarning): ...
tqdm-stubs/tk.pyi CHANGED
@@ -85,7 +85,7 @@ class tqdm_tk(std_tqdm[_T]):
85
85
  desc: Incomplete
86
86
  def set_description_str(self, desc: str | None = None, refresh: bool | None = True) -> None: ...
87
87
  def cancel(self) -> None: ...
88
- def reset(self, total: Incomplete | None = None) -> None: ...
88
+ def reset(self, total=None) -> None: ...
89
89
 
90
90
  def ttkrange(*args, **kwargs) -> tqdm_tk[int]: ...
91
91
 
tqdm-stubs/utils.pyi CHANGED
@@ -1,7 +1,7 @@
1
1
  from _typeshed import Incomplete
2
2
  from collections.abc import Callable, Mapping
3
3
  from re import Pattern
4
- from typing import Protocol, TypeVar
4
+ from typing import Protocol, TypeVar, type_check_only
5
5
  from typing_extensions import ParamSpec
6
6
 
7
7
  CUR_OS: str
@@ -15,6 +15,7 @@ class FormatReplace:
15
15
  def __init__(self, replace: str = "") -> None: ...
16
16
  def __format__(self, _) -> str: ...
17
17
 
18
+ @type_check_only
18
19
  class _Has__Comparable(Protocol):
19
20
  _comparable: Incomplete
20
21
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: types-tqdm
3
- Version: 4.67.0.20250513
3
+ Version: 4.67.0.20250809
4
4
  Summary: Typing stubs for tqdm
5
5
  License-Expression: Apache-2.0
6
6
  Project-URL: Homepage, https://github.com/python/typeshed
@@ -18,14 +18,9 @@ Dynamic: license-file
18
18
 
19
19
  ## Typing stubs for tqdm
20
20
 
21
- This is a [PEP 561](https://peps.python.org/pep-0561/)
22
- type stub package for the [`tqdm`](https://github.com/tqdm/tqdm) package.
23
- It can be used by type-checking tools like
24
- [mypy](https://github.com/python/mypy/),
25
- [pyright](https://github.com/microsoft/pyright),
26
- [pytype](https://github.com/google/pytype/),
27
- [Pyre](https://pyre-check.org/),
28
- PyCharm, etc. to check code that uses `tqdm`. This version of
21
+ This is a [PEP 561](https://peps.python.org/pep-0561/) type stub package for
22
+ the [`tqdm`](https://github.com/tqdm/tqdm) package. It can be used by type checkers
23
+ to check code that uses `tqdm`. This version of
29
24
  `types-tqdm` aims to provide accurate annotations for
30
25
  `tqdm==4.67.*`.
31
26
 
@@ -36,9 +31,9 @@ for more details. The source for this package can be found in the
36
31
  [`stubs/tqdm`](https://github.com/python/typeshed/tree/main/stubs/tqdm)
37
32
  directory.
38
33
 
39
- This package was tested with
40
- mypy 1.15.0,
41
- pyright 1.1.400,
42
- and pytype 2024.10.11.
34
+ This package was tested with the following type checkers:
35
+ * [mypy](https://github.com/python/mypy/) 1.16.1
36
+ * [pyright](https://github.com/microsoft/pyright) 1.1.403
37
+
43
38
  It was generated from typeshed commit
44
- [`8b877a6993cf183f865a2c11c1f89adb6156f5c0`](https://github.com/python/typeshed/commit/8b877a6993cf183f865a2c11c1f89adb6156f5c0).
39
+ [`91ba0da4aad754c912a82b9e052cb4f8191ce520`](https://github.com/python/typeshed/commit/91ba0da4aad754c912a82b9e052cb4f8191ce520).
@@ -12,17 +12,17 @@ tqdm-stubs/asyncio.pyi,sha256=MlMyvQWS-2-MdeoDHs6dKgEtrq9FFFoveDuh3nQ0nuw,6925
12
12
  tqdm-stubs/auto.pyi,sha256=8RJDFoPQaBtQ8yT8LPARx10TejsmjNR3cpsfRXI4d7s,82
13
13
  tqdm-stubs/autonotebook.pyi,sha256=WrSkCwCPlEr4ddhHaCZCfuGpl8x0hDqoJ3ExQAiaUOk,78
14
14
  tqdm-stubs/cli.pyi,sha256=9FlZfH2kM9f8FWUwtJf1BOmB43NM9P-76eBHucdKuLg,123
15
- tqdm-stubs/dask.pyi,sha256=pkl8VHGFIe9YUJuJWG29t_QeNzjNvlNnkJOzgcZgO3U,939
15
+ tqdm-stubs/dask.pyi,sha256=u8FOtpIa9iLIUqUWNFBujx5EbE-HWM4j_YzeaSL-fzE,973
16
16
  tqdm-stubs/gui.pyi,sha256=qyA3QugzBDjxfBJGiTn-sAT9ZcrLEyBq3cLRxxjW5PY,2868
17
- tqdm-stubs/keras.pyi,sha256=8TUbtDQLCkEv-T2Zfs7NMl1wexOuooL-NZbEMd9TTLU,2346
17
+ tqdm-stubs/keras.pyi,sha256=aaQeZv1UFmWtwEpxQ9EJzVH1PGrBJS228xFGQ_3Hkxk,2199
18
18
  tqdm-stubs/notebook.pyi,sha256=NOgkD_f27YuW5Cc-d3dRFs6WUnyMtkd_hOBuPJo2_8s,3316
19
19
  tqdm-stubs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
- tqdm-stubs/rich.pyi,sha256=v-jj1DoxGsissgdklg2V4HPBFTYKRwV37lOaCPy70ko,3459
21
- tqdm-stubs/std.pyi,sha256=dZEb7nGF0Rn13UQszgWPn3ybI2VG9lql-9MOVsXsRrc,10137
22
- tqdm-stubs/tk.pyi,sha256=9rsQjSxcMzCSGSQjaqyOj3daS9E-8xOgUjBFANLjIYk,3103
23
- tqdm-stubs/utils.pyi,sha256=bdaoA6ZuWMJHU1xEAZ3AG0mr6yJBpylCu0IInqh2dWU,2063
20
+ tqdm-stubs/rich.pyi,sha256=QLjICcJ1McK7BSNhzwJA8bZhJmSfMrh_Q2COAVPfyj0,3493
21
+ tqdm-stubs/std.pyi,sha256=7-tW7HcZa1kRKIRmRvPuJmzQPHUHAb6Yb5szJspz8U0,10116
22
+ tqdm-stubs/tk.pyi,sha256=5T-knrGbZDgAGoAG35_TFgoImVsaW16Cb6-BS7tbYqM,3082
23
+ tqdm-stubs/utils.pyi,sha256=eB5gbj-xCDnrurMN94lAFCY76tG6d89gjUNTBf23zYA,2097
24
24
  tqdm-stubs/version.pyi,sha256=Y25n44pyE3vp92MiABKrcK3IWRyQ1JG1rZ4Ufqy2nC0,17
25
- tqdm-stubs/contrib/__init__.pyi,sha256=GpO_YNv6kgek1vJQJevHFRo4hmko6iMO_nC98s320Ms,664
25
+ tqdm-stubs/contrib/__init__.pyi,sha256=ohZKkxSutx1NWD96NGfEO-EXSU0tqiPqA1ZPvkjUz4k,643
26
26
  tqdm-stubs/contrib/bells.pyi,sha256=oFr86WYz2ffMnvRNWVCF6WxtoDgEeJPHXhUd7dd9j6s,80
27
27
  tqdm-stubs/contrib/concurrent.pyi,sha256=dctlaypnBYiOZqjT7y9wPdL2zheZeZsiyRPxMC6Xh5A,144
28
28
  tqdm-stubs/contrib/discord.pyi,sha256=m0-06z_LoTvGWlDyUvmWJdLyZbU_m_w9pl3ylhlEs70,3285
@@ -31,8 +31,8 @@ tqdm-stubs/contrib/logging.pyi,sha256=gXU-1y7GFsoH-zqtxwIQEdocMCl6kWtqAg8qcscgmH
31
31
  tqdm-stubs/contrib/slack.pyi,sha256=sikJvfoFbWyWVMULWE0uALrvh-kz5KYp_z6sd5sOKx0,3106
32
32
  tqdm-stubs/contrib/telegram.pyi,sha256=BMDCPAwPnZvTBUXLuUZXEuqfGAhGWHkyvElddxSgsc0,3296
33
33
  tqdm-stubs/contrib/utils_worker.pyi,sha256=C6zWnwLzTFMWEPdLk-EwT2pLRFrJndkqH4MIjJsEcV4,480
34
- types_tqdm-4.67.0.20250513.dist-info/licenses/LICENSE,sha256=KV-FOMlK5cMEMwHPfP8chS2ranhqjd7kceBhtA1eyr4,12657
35
- types_tqdm-4.67.0.20250513.dist-info/METADATA,sha256=JSmoZ8vzFCFoHgcXGTkS7XFZoDYLkTw8TUUuc0JFhBQ,1805
36
- types_tqdm-4.67.0.20250513.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
37
- types_tqdm-4.67.0.20250513.dist-info/top_level.txt,sha256=kIt5gMq9VgDZ26WhgdWmbKuKakT0AyLTo-5C-I3j5TM,11
38
- types_tqdm-4.67.0.20250513.dist-info/RECORD,,
34
+ types_tqdm-4.67.0.20250809.dist-info/licenses/LICENSE,sha256=KV-FOMlK5cMEMwHPfP8chS2ranhqjd7kceBhtA1eyr4,12657
35
+ types_tqdm-4.67.0.20250809.dist-info/METADATA,sha256=byI29u3J1HK3778cfBSXg0Q0KW-O48XC3r1q3ae9_9A,1696
36
+ types_tqdm-4.67.0.20250809.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
37
+ types_tqdm-4.67.0.20250809.dist-info/top_level.txt,sha256=kIt5gMq9VgDZ26WhgdWmbKuKakT0AyLTo-5C-I3j5TM,11
38
+ types_tqdm-4.67.0.20250809.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.4.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5