types-tqdm 4.66.0.20240106__tar.gz → 4.67.0.20241119__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 (43) hide show
  1. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/CHANGELOG.md +10 -0
  2. {types-tqdm-4.66.0.20240106/types_tqdm.egg-info → types-tqdm-4.67.0.20241119}/PKG-INFO +18 -13
  3. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/setup.py +20 -15
  4. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/METADATA.toml +2 -1
  5. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/contrib/discord.pyi +14 -8
  6. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/contrib/slack.pyi +3 -1
  7. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/contrib/telegram.pyi +3 -1
  8. types-tqdm-4.67.0.20241119/tqdm-stubs/py.typed +0 -0
  9. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/rich.pyi +3 -3
  10. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119/types_tqdm.egg-info}/PKG-INFO +18 -13
  11. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/types_tqdm.egg-info/SOURCES.txt +2 -0
  12. types-tqdm-4.67.0.20241119/types_tqdm.egg-info/requires.txt +1 -0
  13. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/MANIFEST.in +0 -0
  14. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/setup.cfg +0 -0
  15. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/__init__.pyi +0 -0
  16. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/_dist_ver.pyi +0 -0
  17. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/_main.pyi +0 -0
  18. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/_monitor.pyi +0 -0
  19. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/_tqdm.pyi +0 -0
  20. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/_tqdm_gui.pyi +0 -0
  21. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/_tqdm_notebook.pyi +0 -0
  22. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/_tqdm_pandas.pyi +0 -0
  23. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/_utils.pyi +0 -0
  24. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/asyncio.pyi +0 -0
  25. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/auto.pyi +0 -0
  26. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/autonotebook.pyi +0 -0
  27. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/cli.pyi +0 -0
  28. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/contrib/__init__.pyi +0 -0
  29. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/contrib/bells.pyi +0 -0
  30. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/contrib/concurrent.pyi +0 -0
  31. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/contrib/itertools.pyi +0 -0
  32. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/contrib/logging.pyi +0 -0
  33. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/contrib/utils_worker.pyi +0 -0
  34. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/dask.pyi +0 -0
  35. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/gui.pyi +0 -0
  36. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/keras.pyi +0 -0
  37. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/notebook.pyi +0 -0
  38. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/std.pyi +0 -0
  39. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/tk.pyi +0 -0
  40. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/utils.pyi +0 -0
  41. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/tqdm-stubs/version.pyi +0 -0
  42. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/types_tqdm.egg-info/dependency_links.txt +0 -0
  43. {types-tqdm-4.66.0.20240106 → types-tqdm-4.67.0.20241119}/types_tqdm.egg-info/top_level.txt +0 -0
@@ -1,3 +1,13 @@
1
+ ## 4.67.0.20241119 (2024-11-19)
2
+
3
+ Update tqdm to 4.67.* (#13004)
4
+
5
+ ## 4.66.0.20240417 (2024-04-17)
6
+
7
+ Remove remaining bare `Incomplete`s (#11768)
8
+
9
+ Enable Y065
10
+
1
11
  ## 4.66.0.20240106 (2024-01-06)
2
12
 
3
13
  Update typing_extensions imports in third-party stubs (#11245)
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: types-tqdm
3
- Version: 4.66.0.20240106
3
+ Version: 4.67.0.20241119
4
4
  Summary: Typing stubs for tqdm
5
5
  Home-page: https://github.com/python/typeshed
6
- License: Apache-2.0 license
6
+ License: Apache-2.0
7
7
  Project-URL: GitHub, https://github.com/python/typeshed
8
8
  Project-URL: Changes, https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/tqdm.md
9
9
  Project-URL: Issue tracker, https://github.com/python/typeshed/issues
@@ -22,16 +22,21 @@ It can be used by type-checking tools like
22
22
  [mypy](https://github.com/python/mypy/),
23
23
  [pyright](https://github.com/microsoft/pyright),
24
24
  [pytype](https://github.com/google/pytype/),
25
- PyCharm, etc. to check code that uses
26
- `tqdm`.
25
+ [Pyre](https://pyre-check.org/),
26
+ PyCharm, etc. to check code that uses `tqdm`. This version of
27
+ `types-tqdm` aims to provide accurate annotations for
28
+ `tqdm==4.67.*`.
27
29
 
28
- This version of `types-tqdm` aims to provide accurate annotations
29
- for `tqdm==4.66.*`.
30
- The source for this package can be found at
31
- https://github.com/python/typeshed/tree/main/stubs/tqdm. All fixes for
32
- types and metadata should be contributed there.
30
+ This package is part of the [typeshed project](https://github.com/python/typeshed).
31
+ All fixes for types and metadata should be contributed there.
32
+ See [the README](https://github.com/python/typeshed/blob/main/README.md)
33
+ for more details. The source for this package can be found in the
34
+ [`stubs/tqdm`](https://github.com/python/typeshed/tree/main/stubs/tqdm)
35
+ directory.
33
36
 
34
- See https://github.com/python/typeshed/blob/main/README.md for more details.
35
- This package was generated from typeshed commit `1de5830a2703936a96a126248227d5c7db883674` and was tested
36
- with mypy 1.8.0, pyright 1.1.342, and
37
- pytype 2023.12.18.
37
+ This package was tested with
38
+ mypy 1.13.0,
39
+ pyright 1.1.389,
40
+ and pytype 2024.10.11.
41
+ It was generated from typeshed commit
42
+ [`6647ae9bc781041b0021de35f278b42e622875ca`](https://github.com/python/typeshed/commit/6647ae9bc781041b0021de35f278b42e622875ca).
@@ -11,23 +11,28 @@ It can be used by type-checking tools like
11
11
  [mypy](https://github.com/python/mypy/),
12
12
  [pyright](https://github.com/microsoft/pyright),
13
13
  [pytype](https://github.com/google/pytype/),
14
- PyCharm, etc. to check code that uses
15
- `tqdm`.
14
+ [Pyre](https://pyre-check.org/),
15
+ PyCharm, etc. to check code that uses `tqdm`. This version of
16
+ `types-tqdm` aims to provide accurate annotations for
17
+ `tqdm==4.67.*`.
16
18
 
17
- This version of `types-tqdm` aims to provide accurate annotations
18
- for `tqdm==4.66.*`.
19
- The source for this package can be found at
20
- https://github.com/python/typeshed/tree/main/stubs/tqdm. All fixes for
21
- types and metadata should be contributed there.
19
+ This package is part of the [typeshed project](https://github.com/python/typeshed).
20
+ All fixes for types and metadata should be contributed there.
21
+ See [the README](https://github.com/python/typeshed/blob/main/README.md)
22
+ for more details. The source for this package can be found in the
23
+ [`stubs/tqdm`](https://github.com/python/typeshed/tree/main/stubs/tqdm)
24
+ directory.
22
25
 
23
- See https://github.com/python/typeshed/blob/main/README.md for more details.
24
- This package was generated from typeshed commit `1de5830a2703936a96a126248227d5c7db883674` and was tested
25
- with mypy 1.8.0, pyright 1.1.342, and
26
- pytype 2023.12.18.
26
+ This package was tested with
27
+ mypy 1.13.0,
28
+ pyright 1.1.389,
29
+ and pytype 2024.10.11.
30
+ It was generated from typeshed commit
31
+ [`6647ae9bc781041b0021de35f278b42e622875ca`](https://github.com/python/typeshed/commit/6647ae9bc781041b0021de35f278b42e622875ca).
27
32
  '''.lstrip()
28
33
 
29
34
  setup(name=name,
30
- version="4.66.0.20240106",
35
+ version="4.67.0.20241119",
31
36
  description=description,
32
37
  long_description=long_description,
33
38
  long_description_content_type="text/markdown",
@@ -38,10 +43,10 @@ setup(name=name,
38
43
  "Issue tracker": "https://github.com/python/typeshed/issues",
39
44
  "Chat": "https://gitter.im/python/typing",
40
45
  },
41
- install_requires=[],
46
+ install_requires=['types-requests'],
42
47
  packages=['tqdm-stubs'],
43
- 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']},
44
- license="Apache-2.0 license",
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
+ license="Apache-2.0",
45
50
  python_requires=">=3.8",
46
51
  classifiers=[
47
52
  "License :: OSI Approved :: Apache Software License",
@@ -1,5 +1,6 @@
1
- version = "4.66.*"
1
+ version = "4.67.*"
2
2
  upstream_repository = "https://github.com/tqdm/tqdm"
3
+ requires = ["types-requests"]
3
4
 
4
5
  [tool.stubtest]
5
6
  extras = ["slack", "telegram"]
@@ -1,17 +1,28 @@
1
1
  from _typeshed import Incomplete, SupportsWrite
2
2
  from collections.abc import Iterable, Mapping
3
+ from concurrent.futures import Future
3
4
  from typing import NoReturn, TypeVar, overload
4
5
 
6
+ from requests import Session
7
+
5
8
  from ..auto import tqdm as tqdm_auto
6
9
  from .utils_worker import MonoWorker
7
10
 
8
11
  __all__ = ["DiscordIO", "tqdm_discord", "tdrange", "tqdm", "trange"]
9
12
 
10
13
  class DiscordIO(MonoWorker):
11
- text: Incomplete
14
+ API: str = "https://discord.com/api/v10"
15
+ UA: str = ...
16
+ channel_id: Incomplete
12
17
  message: Incomplete
18
+ session: Session
19
+ text: Incomplete
20
+ token: Incomplete
13
21
  def __init__(self, token, channel_id) -> None: ...
14
22
  def write(self, s): ...
23
+ def delete(self) -> Future[Incomplete]: ...
24
+ @property
25
+ def message_id(self): ...
15
26
 
16
27
  _T = TypeVar("_T")
17
28
 
@@ -79,13 +90,8 @@ class tqdm_discord(tqdm_auto[_T]):
79
90
  gui: bool = ...,
80
91
  **kwargs,
81
92
  ) -> None: ...
82
- def display(
83
- self,
84
- msg: str | None = ...,
85
- pos: int | None = ...,
86
- close: bool = ...,
87
- bar_style: Incomplete = ...,
88
- check_delay: bool = ...,
93
+ def display( # type: ignore[override]
94
+ self, *, msg: str | None = ..., pos: int | None = ..., close: bool = ..., bar_style=..., check_delay: bool = ...
89
95
  ) -> None: ...
90
96
  def clear(self, *args, **kwargs) -> None: ...
91
97
 
@@ -84,7 +84,9 @@ class tqdm_slack(tqdm_auto[_T]):
84
84
  channel: int = ...,
85
85
  **kwargs,
86
86
  ) -> None: ...
87
- def display(self, *, msg: str | None = ..., pos: int | None = ..., close: bool = ..., bar_style: Incomplete = ..., check_delay: bool = ...) -> None: ... # type: ignore[override]
87
+ def display( # type: ignore[override]
88
+ self, *, msg: str | None = ..., pos: int | None = ..., close: bool = ..., bar_style=..., check_delay: bool = ...
89
+ ) -> None: ...
88
90
  def clear(self, *args, **kwargs) -> None: ...
89
91
 
90
92
  def tsrange(*args, **kwargs) -> tqdm_slack[int]: ...
@@ -89,7 +89,9 @@ class tqdm_telegram(tqdm_auto[_T]):
89
89
  chat_id: str = ...,
90
90
  **kwargs,
91
91
  ) -> None: ...
92
- def display(self, *, msg: str | None = ..., pos: int | None = ..., close: bool = ..., bar_style: Incomplete = ..., check_delay: bool = ...) -> None: ... # type: ignore[override]
92
+ def display( # type: ignore[override]
93
+ self, *, msg: str | None = ..., pos: int | None = ..., close: bool = ..., bar_style=..., check_delay: bool = ...
94
+ ) -> None: ...
93
95
  def clear(self, *args, **kwargs) -> None: ...
94
96
  def close(self) -> None: ...
95
97
 
File without changes
@@ -13,10 +13,10 @@ _T = TypeVar("_T")
13
13
  class _ProgressColumn(ABC):
14
14
  max_refresh: float | None
15
15
  def __init__(self, table_column: Incomplete | None = ...) -> None: ...
16
- def get_table_column(self) -> Incomplete: ...
17
- def __call__(self, task: Incomplete) -> Incomplete: ...
16
+ def get_table_column(self): ...
17
+ def __call__(self, task): ...
18
18
  @abstractmethod
19
- def render(self, task: Incomplete) -> Incomplete: ...
19
+ def render(self, task): ...
20
20
 
21
21
  class FractionColumn(_ProgressColumn):
22
22
  unit_scale: bool
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: types-tqdm
3
- Version: 4.66.0.20240106
3
+ Version: 4.67.0.20241119
4
4
  Summary: Typing stubs for tqdm
5
5
  Home-page: https://github.com/python/typeshed
6
- License: Apache-2.0 license
6
+ License: Apache-2.0
7
7
  Project-URL: GitHub, https://github.com/python/typeshed
8
8
  Project-URL: Changes, https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/tqdm.md
9
9
  Project-URL: Issue tracker, https://github.com/python/typeshed/issues
@@ -22,16 +22,21 @@ It can be used by type-checking tools like
22
22
  [mypy](https://github.com/python/mypy/),
23
23
  [pyright](https://github.com/microsoft/pyright),
24
24
  [pytype](https://github.com/google/pytype/),
25
- PyCharm, etc. to check code that uses
26
- `tqdm`.
25
+ [Pyre](https://pyre-check.org/),
26
+ PyCharm, etc. to check code that uses `tqdm`. This version of
27
+ `types-tqdm` aims to provide accurate annotations for
28
+ `tqdm==4.67.*`.
27
29
 
28
- This version of `types-tqdm` aims to provide accurate annotations
29
- for `tqdm==4.66.*`.
30
- The source for this package can be found at
31
- https://github.com/python/typeshed/tree/main/stubs/tqdm. All fixes for
32
- types and metadata should be contributed there.
30
+ This package is part of the [typeshed project](https://github.com/python/typeshed).
31
+ All fixes for types and metadata should be contributed there.
32
+ See [the README](https://github.com/python/typeshed/blob/main/README.md)
33
+ for more details. The source for this package can be found in the
34
+ [`stubs/tqdm`](https://github.com/python/typeshed/tree/main/stubs/tqdm)
35
+ directory.
33
36
 
34
- See https://github.com/python/typeshed/blob/main/README.md for more details.
35
- This package was generated from typeshed commit `1de5830a2703936a96a126248227d5c7db883674` and was tested
36
- with mypy 1.8.0, pyright 1.1.342, and
37
- pytype 2023.12.18.
37
+ This package was tested with
38
+ mypy 1.13.0,
39
+ pyright 1.1.389,
40
+ and pytype 2024.10.11.
41
+ It was generated from typeshed commit
42
+ [`6647ae9bc781041b0021de35f278b42e622875ca`](https://github.com/python/typeshed/commit/6647ae9bc781041b0021de35f278b42e622875ca).
@@ -19,6 +19,7 @@ tqdm-stubs/dask.pyi
19
19
  tqdm-stubs/gui.pyi
20
20
  tqdm-stubs/keras.pyi
21
21
  tqdm-stubs/notebook.pyi
22
+ tqdm-stubs/py.typed
22
23
  tqdm-stubs/rich.pyi
23
24
  tqdm-stubs/std.pyi
24
25
  tqdm-stubs/tk.pyi
@@ -36,4 +37,5 @@ tqdm-stubs/contrib/utils_worker.pyi
36
37
  types_tqdm.egg-info/PKG-INFO
37
38
  types_tqdm.egg-info/SOURCES.txt
38
39
  types_tqdm.egg-info/dependency_links.txt
40
+ types_tqdm.egg-info/requires.txt
39
41
  types_tqdm.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ types-requests