types-tqdm 4.67.0.20241221__tar.gz → 4.67.0.20250301__tar.gz

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.
Files changed (45) hide show
  1. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/CHANGELOG.md +8 -0
  2. {types_tqdm-4.67.0.20241221/types_tqdm.egg-info → types_tqdm-4.67.0.20250301}/PKG-INFO +14 -5
  3. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/README.md +2 -2
  4. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/setup.py +4 -4
  5. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/asyncio.pyi +4 -3
  6. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/std.pyi +10 -3
  7. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301/types_tqdm.egg-info}/PKG-INFO +14 -5
  8. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/LICENSE +0 -0
  9. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/MANIFEST.in +0 -0
  10. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/setup.cfg +0 -0
  11. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/METADATA.toml +0 -0
  12. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/__init__.pyi +0 -0
  13. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/_dist_ver.pyi +0 -0
  14. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/_main.pyi +0 -0
  15. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/_monitor.pyi +0 -0
  16. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/_tqdm.pyi +0 -0
  17. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/_tqdm_gui.pyi +0 -0
  18. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/_tqdm_notebook.pyi +0 -0
  19. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/_tqdm_pandas.pyi +0 -0
  20. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/_utils.pyi +0 -0
  21. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/auto.pyi +0 -0
  22. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/autonotebook.pyi +0 -0
  23. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/cli.pyi +0 -0
  24. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/contrib/__init__.pyi +0 -0
  25. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/contrib/bells.pyi +0 -0
  26. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/contrib/concurrent.pyi +0 -0
  27. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/contrib/discord.pyi +0 -0
  28. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/contrib/itertools.pyi +0 -0
  29. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/contrib/logging.pyi +0 -0
  30. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/contrib/slack.pyi +0 -0
  31. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/contrib/telegram.pyi +0 -0
  32. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/contrib/utils_worker.pyi +0 -0
  33. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/dask.pyi +0 -0
  34. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/gui.pyi +0 -0
  35. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/keras.pyi +0 -0
  36. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/notebook.pyi +0 -0
  37. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/py.typed +0 -0
  38. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/rich.pyi +0 -0
  39. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/tk.pyi +0 -0
  40. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/utils.pyi +0 -0
  41. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/tqdm-stubs/version.pyi +0 -0
  42. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/types_tqdm.egg-info/SOURCES.txt +0 -0
  43. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/types_tqdm.egg-info/dependency_links.txt +0 -0
  44. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/types_tqdm.egg-info/requires.txt +0 -0
  45. {types_tqdm-4.67.0.20241221 → types_tqdm-4.67.0.20250301}/types_tqdm.egg-info/top_level.txt +0 -0
@@ -1,3 +1,11 @@
1
+ ## 4.67.0.20250301 (2025-03-01)
2
+
3
+ fix yield type of `tqdm.as_completed` (#13557)
4
+
5
+ ## 4.67.0.20250228 (2025-02-28)
6
+
7
+ tqdm: Improve wrapattr (#13361)
8
+
1
9
  ## 4.67.0.20241221 (2024-12-21)
2
10
 
3
11
  Update to mypy 1.14 (#13272)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: types-tqdm
3
- Version: 4.67.0.20241221
3
+ Version: 4.67.0.20250301
4
4
  Summary: Typing stubs for tqdm
5
5
  Home-page: https://github.com/python/typeshed
6
6
  License: Apache-2.0
@@ -11,10 +11,19 @@ Project-URL: Chat, https://gitter.im/python/typing
11
11
  Classifier: License :: OSI Approved :: Apache Software License
12
12
  Classifier: Programming Language :: Python :: 3
13
13
  Classifier: Typing :: Stubs Only
14
- Requires-Python: >=3.8
14
+ Requires-Python: >=3.9
15
15
  Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
17
  Requires-Dist: types-requests
18
+ Dynamic: classifier
19
+ Dynamic: description
20
+ Dynamic: description-content-type
21
+ Dynamic: home-page
22
+ Dynamic: license
23
+ Dynamic: project-url
24
+ Dynamic: requires-dist
25
+ Dynamic: requires-python
26
+ Dynamic: summary
18
27
 
19
28
  ## Typing stubs for tqdm
20
29
 
@@ -37,8 +46,8 @@ for more details. The source for this package can be found in the
37
46
  directory.
38
47
 
39
48
  This package was tested with
40
- mypy 1.14.0,
49
+ mypy 1.15.0,
41
50
  pyright 1.1.389,
42
51
  and pytype 2024.10.11.
43
52
  It was generated from typeshed commit
44
- [`097581ea47d0fd77f097c88d80d5947e0218d9c4`](https://github.com/python/typeshed/commit/097581ea47d0fd77f097c88d80d5947e0218d9c4).
53
+ [`e6165eadd680f45b00e37ba9342b5073bc884132`](https://github.com/python/typeshed/commit/e6165eadd680f45b00e37ba9342b5073bc884132).
@@ -19,8 +19,8 @@ for more details. The source for this package can be found in the
19
19
  directory.
20
20
 
21
21
  This package was tested with
22
- mypy 1.14.0,
22
+ mypy 1.15.0,
23
23
  pyright 1.1.389,
24
24
  and pytype 2024.10.11.
25
25
  It was generated from typeshed commit
26
- [`097581ea47d0fd77f097c88d80d5947e0218d9c4`](https://github.com/python/typeshed/commit/097581ea47d0fd77f097c88d80d5947e0218d9c4).
26
+ [`e6165eadd680f45b00e37ba9342b5073bc884132`](https://github.com/python/typeshed/commit/e6165eadd680f45b00e37ba9342b5073bc884132).
@@ -24,15 +24,15 @@ for more details. The source for this package can be found in the
24
24
  directory.
25
25
 
26
26
  This package was tested with
27
- mypy 1.14.0,
27
+ mypy 1.15.0,
28
28
  pyright 1.1.389,
29
29
  and pytype 2024.10.11.
30
30
  It was generated from typeshed commit
31
- [`097581ea47d0fd77f097c88d80d5947e0218d9c4`](https://github.com/python/typeshed/commit/097581ea47d0fd77f097c88d80d5947e0218d9c4).
31
+ [`e6165eadd680f45b00e37ba9342b5073bc884132`](https://github.com/python/typeshed/commit/e6165eadd680f45b00e37ba9342b5073bc884132).
32
32
  '''.lstrip()
33
33
 
34
34
  setup(name=name,
35
- version="4.67.0.20241221",
35
+ version="4.67.0.20250301",
36
36
  description=description,
37
37
  long_description=long_description,
38
38
  long_description_content_type="text/markdown",
@@ -47,7 +47,7 @@ setup(name=name,
47
47
  packages=['tqdm-stubs'],
48
48
  package_data={'tqdm-stubs': ['__init__.pyi', '_dist_ver.pyi', '_main.pyi', '_monitor.pyi', '_tqdm.pyi', '_tqdm_gui.pyi', '_tqdm_notebook.pyi', '_tqdm_pandas.pyi', '_utils.pyi', 'asyncio.pyi', 'auto.pyi', 'autonotebook.pyi', 'cli.pyi', 'contrib/__init__.pyi', 'contrib/bells.pyi', 'contrib/concurrent.pyi', 'contrib/discord.pyi', 'contrib/itertools.pyi', 'contrib/logging.pyi', 'contrib/slack.pyi', 'contrib/telegram.pyi', 'contrib/utils_worker.pyi', 'dask.pyi', 'gui.pyi', 'keras.pyi', 'notebook.pyi', 'rich.pyi', 'std.pyi', 'tk.pyi', 'utils.pyi', 'version.pyi', 'METADATA.toml', 'py.typed']},
49
49
  license="Apache-2.0",
50
- python_requires=">=3.8",
50
+ python_requires=">=3.9",
51
51
  classifiers=[
52
52
  "License :: OSI Approved :: Apache Software License",
53
53
  "Programming Language :: Python :: 3",
@@ -1,5 +1,6 @@
1
- from _typeshed import Incomplete, SupportsWrite
2
- from collections.abc import AsyncIterator, Awaitable, Callable, Generator, Iterable, Iterator, Mapping
1
+ from _typeshed import SupportsWrite
2
+ from asyncio import Future
3
+ from collections.abc import AsyncIterator, Awaitable, Callable, Iterable, Iterator, Mapping
3
4
  from typing import NoReturn, TypeVar, overload
4
5
  from typing_extensions import Self
5
6
 
@@ -48,7 +49,7 @@ class tqdm_asyncio(std_tqdm[_T]):
48
49
  nrows: int | None = ...,
49
50
  colour: str | None = ...,
50
51
  delay: float | None = ...,
51
- ) -> Generator[Incomplete, Incomplete, None]: ...
52
+ ) -> Iterator[Future[_T]]: ...
52
53
  @classmethod
53
54
  async def gather(
54
55
  cls,
@@ -1,5 +1,5 @@
1
1
  import contextlib
2
- from _typeshed import Incomplete, SupportsWrite
2
+ from _typeshed import Incomplete, SupportsRead, SupportsWrite
3
3
  from collections.abc import Callable, Iterable, Iterator, Mapping, MutableMapping
4
4
  from types import TracebackType
5
5
  from typing import Any, ClassVar, Generic, Literal, NoReturn, TypeVar, overload
@@ -30,6 +30,7 @@ class TqdmDeprecationWarning(TqdmWarning, DeprecationWarning): ...
30
30
  class TqdmMonitorWarning(TqdmWarning, RuntimeWarning): ...
31
31
 
32
32
  _T = TypeVar("_T")
33
+ _U = TypeVar("_U")
33
34
 
34
35
  class tqdm(Comparable, Generic[_T]):
35
36
  monitor_interval: ClassVar[int]
@@ -222,10 +223,16 @@ class tqdm(Comparable, Generic[_T]):
222
223
  @property
223
224
  def format_dict(self) -> MutableMapping[str, Any]: ...
224
225
  def display(self, msg: str | None = None, pos: int | None = None) -> None: ...
226
+ @overload
227
+ @classmethod
228
+ def wrapattr(
229
+ cls, stream: SupportsRead[_U], method: Literal["read"], total: float | None = None, bytes: bool = True, **tqdm_kwargs
230
+ ) -> contextlib._GeneratorContextManager[SupportsRead[_U]]: ...
231
+ @overload
225
232
  @classmethod
226
233
  def wrapattr(
227
- cls, stream, method: Literal["read", "write"], total: float | None = None, bytes: bool | None = True, **tqdm_kwargs
228
- ) -> contextlib._GeneratorContextManager[Incomplete]: ...
234
+ cls, stream: SupportsWrite[_U], method: Literal["write"], total: float | None = None, bytes: bool = True, **tqdm_kwargs
235
+ ) -> contextlib._GeneratorContextManager[SupportsWrite[_U]]: ...
229
236
 
230
237
  @overload
231
238
  def trange(
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: types-tqdm
3
- Version: 4.67.0.20241221
3
+ Version: 4.67.0.20250301
4
4
  Summary: Typing stubs for tqdm
5
5
  Home-page: https://github.com/python/typeshed
6
6
  License: Apache-2.0
@@ -11,10 +11,19 @@ Project-URL: Chat, https://gitter.im/python/typing
11
11
  Classifier: License :: OSI Approved :: Apache Software License
12
12
  Classifier: Programming Language :: Python :: 3
13
13
  Classifier: Typing :: Stubs Only
14
- Requires-Python: >=3.8
14
+ Requires-Python: >=3.9
15
15
  Description-Content-Type: text/markdown
16
16
  License-File: LICENSE
17
17
  Requires-Dist: types-requests
18
+ Dynamic: classifier
19
+ Dynamic: description
20
+ Dynamic: description-content-type
21
+ Dynamic: home-page
22
+ Dynamic: license
23
+ Dynamic: project-url
24
+ Dynamic: requires-dist
25
+ Dynamic: requires-python
26
+ Dynamic: summary
18
27
 
19
28
  ## Typing stubs for tqdm
20
29
 
@@ -37,8 +46,8 @@ for more details. The source for this package can be found in the
37
46
  directory.
38
47
 
39
48
  This package was tested with
40
- mypy 1.14.0,
49
+ mypy 1.15.0,
41
50
  pyright 1.1.389,
42
51
  and pytype 2024.10.11.
43
52
  It was generated from typeshed commit
44
- [`097581ea47d0fd77f097c88d80d5947e0218d9c4`](https://github.com/python/typeshed/commit/097581ea47d0fd77f097c88d80d5947e0218d9c4).
53
+ [`e6165eadd680f45b00e37ba9342b5073bc884132`](https://github.com/python/typeshed/commit/e6165eadd680f45b00e37ba9342b5073bc884132).