types-tqdm 4.66.0.20240106__py3-none-any.whl → 4.67.0.20241119__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.
- tqdm-stubs/METADATA.toml +2 -1
- tqdm-stubs/contrib/discord.pyi +14 -8
- tqdm-stubs/contrib/slack.pyi +3 -1
- tqdm-stubs/contrib/telegram.pyi +3 -1
- tqdm-stubs/py.typed +0 -0
- tqdm-stubs/rich.pyi +3 -3
- {types_tqdm-4.66.0.20240106.dist-info → types_tqdm-4.67.0.20241119.dist-info}/METADATA +19 -13
- {types_tqdm-4.66.0.20240106.dist-info → types_tqdm-4.67.0.20241119.dist-info}/RECORD +10 -9
- {types_tqdm-4.66.0.20240106.dist-info → types_tqdm-4.67.0.20241119.dist-info}/WHEEL +1 -1
- {types_tqdm-4.66.0.20240106.dist-info → types_tqdm-4.67.0.20241119.dist-info}/top_level.txt +0 -0
tqdm-stubs/METADATA.toml
CHANGED
tqdm-stubs/contrib/discord.pyi
CHANGED
|
@@ -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
|
-
|
|
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
|
|
tqdm-stubs/contrib/slack.pyi
CHANGED
|
@@ -84,7 +84,9 @@ class tqdm_slack(tqdm_auto[_T]):
|
|
|
84
84
|
channel: int = ...,
|
|
85
85
|
**kwargs,
|
|
86
86
|
) -> None: ...
|
|
87
|
-
def display(
|
|
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]: ...
|
tqdm-stubs/contrib/telegram.pyi
CHANGED
|
@@ -89,7 +89,9 @@ class tqdm_telegram(tqdm_auto[_T]):
|
|
|
89
89
|
chat_id: str = ...,
|
|
90
90
|
**kwargs,
|
|
91
91
|
) -> None: ...
|
|
92
|
-
def display(
|
|
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
|
|
tqdm-stubs/py.typed
ADDED
|
File without changes
|
tqdm-stubs/rich.pyi
CHANGED
|
@@ -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)
|
|
17
|
-
def __call__(self, task
|
|
16
|
+
def get_table_column(self): ...
|
|
17
|
+
def __call__(self, task): ...
|
|
18
18
|
@abstractmethod
|
|
19
|
-
def render(self, task
|
|
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.
|
|
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
|
|
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
|
|
@@ -13,6 +13,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
13
13
|
Classifier: Typing :: Stubs Only
|
|
14
14
|
Requires-Python: >=3.8
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
|
+
Requires-Dist: types-requests
|
|
16
17
|
|
|
17
18
|
## Typing stubs for tqdm
|
|
18
19
|
|
|
@@ -22,16 +23,21 @@ It can be used by type-checking tools like
|
|
|
22
23
|
[mypy](https://github.com/python/mypy/),
|
|
23
24
|
[pyright](https://github.com/microsoft/pyright),
|
|
24
25
|
[pytype](https://github.com/google/pytype/),
|
|
25
|
-
|
|
26
|
-
`tqdm`.
|
|
26
|
+
[Pyre](https://pyre-check.org/),
|
|
27
|
+
PyCharm, etc. to check code that uses `tqdm`. This version of
|
|
28
|
+
`types-tqdm` aims to provide accurate annotations for
|
|
29
|
+
`tqdm==4.67.*`.
|
|
27
30
|
|
|
28
|
-
This
|
|
29
|
-
for
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
This package is part of the [typeshed project](https://github.com/python/typeshed).
|
|
32
|
+
All fixes for types and metadata should be contributed there.
|
|
33
|
+
See [the README](https://github.com/python/typeshed/blob/main/README.md)
|
|
34
|
+
for more details. The source for this package can be found in the
|
|
35
|
+
[`stubs/tqdm`](https://github.com/python/typeshed/tree/main/stubs/tqdm)
|
|
36
|
+
directory.
|
|
33
37
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
pytype
|
|
38
|
+
This package was tested with
|
|
39
|
+
mypy 1.13.0,
|
|
40
|
+
pyright 1.1.389,
|
|
41
|
+
and pytype 2024.10.11.
|
|
42
|
+
It was generated from typeshed commit
|
|
43
|
+
[`6647ae9bc781041b0021de35f278b42e622875ca`](https://github.com/python/typeshed/commit/6647ae9bc781041b0021de35f278b42e622875ca).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tqdm-stubs/METADATA.toml,sha256=
|
|
1
|
+
tqdm-stubs/METADATA.toml,sha256=fjEg2EO8vNQgM2mKLSz32l_rvQNAidJmGDwwUeCTCd8,215
|
|
2
2
|
tqdm-stubs/__init__.pyi,sha256=F_z3B-R7slO79sNDtV1XA1APf3_zNGKRaSq9PLWsOIY,1184
|
|
3
3
|
tqdm-stubs/_dist_ver.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tqdm-stubs/_main.pyi,sha256=bEbhOS_73qGMzLkrvJAHDSV-_ce6Hf_HXX6gB0wOBFw,68
|
|
@@ -16,7 +16,8 @@ tqdm-stubs/dask.pyi,sha256=pkl8VHGFIe9YUJuJWG29t_QeNzjNvlNnkJOzgcZgO3U,939
|
|
|
16
16
|
tqdm-stubs/gui.pyi,sha256=qyA3QugzBDjxfBJGiTn-sAT9ZcrLEyBq3cLRxxjW5PY,2868
|
|
17
17
|
tqdm-stubs/keras.pyi,sha256=8TUbtDQLCkEv-T2Zfs7NMl1wexOuooL-NZbEMd9TTLU,2346
|
|
18
18
|
tqdm-stubs/notebook.pyi,sha256=NOgkD_f27YuW5Cc-d3dRFs6WUnyMtkd_hOBuPJo2_8s,3316
|
|
19
|
-
tqdm-stubs/
|
|
19
|
+
tqdm-stubs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
20
|
+
tqdm-stubs/rich.pyi,sha256=v-jj1DoxGsissgdklg2V4HPBFTYKRwV37lOaCPy70ko,3459
|
|
20
21
|
tqdm-stubs/std.pyi,sha256=jrJFSAj0P-WPmtrVr_tBvZ6Z0LonsbNKMRvlIXJHJSw,9836
|
|
21
22
|
tqdm-stubs/tk.pyi,sha256=9rsQjSxcMzCSGSQjaqyOj3daS9E-8xOgUjBFANLjIYk,3103
|
|
22
23
|
tqdm-stubs/utils.pyi,sha256=bdaoA6ZuWMJHU1xEAZ3AG0mr6yJBpylCu0IInqh2dWU,2063
|
|
@@ -24,13 +25,13 @@ tqdm-stubs/version.pyi,sha256=Y25n44pyE3vp92MiABKrcK3IWRyQ1JG1rZ4Ufqy2nC0,17
|
|
|
24
25
|
tqdm-stubs/contrib/__init__.pyi,sha256=GpO_YNv6kgek1vJQJevHFRo4hmko6iMO_nC98s320Ms,664
|
|
25
26
|
tqdm-stubs/contrib/bells.pyi,sha256=oFr86WYz2ffMnvRNWVCF6WxtoDgEeJPHXhUd7dd9j6s,80
|
|
26
27
|
tqdm-stubs/contrib/concurrent.pyi,sha256=dctlaypnBYiOZqjT7y9wPdL2zheZeZsiyRPxMC6Xh5A,144
|
|
27
|
-
tqdm-stubs/contrib/discord.pyi,sha256=
|
|
28
|
+
tqdm-stubs/contrib/discord.pyi,sha256=m0-06z_LoTvGWlDyUvmWJdLyZbU_m_w9pl3ylhlEs70,3285
|
|
28
29
|
tqdm-stubs/contrib/itertools.pyi,sha256=rLCau4I1hk7qFVIZxSn71Y3_cHdAayJEgVLp2XJxTuY,208
|
|
29
30
|
tqdm-stubs/contrib/logging.pyi,sha256=dv6yrcLziLXYniFCIPE67GhSWqZmIzIt0x8DPW5hP3w,716
|
|
30
|
-
tqdm-stubs/contrib/slack.pyi,sha256=
|
|
31
|
-
tqdm-stubs/contrib/telegram.pyi,sha256=
|
|
31
|
+
tqdm-stubs/contrib/slack.pyi,sha256=sikJvfoFbWyWVMULWE0uALrvh-kz5KYp_z6sd5sOKx0,3106
|
|
32
|
+
tqdm-stubs/contrib/telegram.pyi,sha256=BMDCPAwPnZvTBUXLuUZXEuqfGAhGWHkyvElddxSgsc0,3296
|
|
32
33
|
tqdm-stubs/contrib/utils_worker.pyi,sha256=C6zWnwLzTFMWEPdLk-EwT2pLRFrJndkqH4MIjJsEcV4,480
|
|
33
|
-
types_tqdm-4.
|
|
34
|
-
types_tqdm-4.
|
|
35
|
-
types_tqdm-4.
|
|
36
|
-
types_tqdm-4.
|
|
34
|
+
types_tqdm-4.67.0.20241119.dist-info/METADATA,sha256=zF1wMzTbkPbVPQrvpHiMGx_KXfRxMTent_t72tiOats,1801
|
|
35
|
+
types_tqdm-4.67.0.20241119.dist-info/WHEEL,sha256=bFJAMchF8aTQGUgMZzHJyDDMPTO3ToJ7x23SLJa1SVo,92
|
|
36
|
+
types_tqdm-4.67.0.20241119.dist-info/top_level.txt,sha256=kIt5gMq9VgDZ26WhgdWmbKuKakT0AyLTo-5C-I3j5TM,11
|
|
37
|
+
types_tqdm-4.67.0.20241119.dist-info/RECORD,,
|
|
File without changes
|