types-PyAutoGUI 0.9.3.20260508__tar.gz → 0.9.3.20261122__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 (15) hide show
  1. {types_pyautogui-0.9.3.20260508 → types_pyautogui-0.9.3.20261122}/CHANGELOG.md +11 -0
  2. {types_pyautogui-0.9.3.20260508/types_PyAutoGUI.egg-info → types_pyautogui-0.9.3.20261122}/PKG-INFO +6 -4
  3. {types_pyautogui-0.9.3.20260508 → types_pyautogui-0.9.3.20261122}/README.md +5 -3
  4. {types_pyautogui-0.9.3.20260508 → types_pyautogui-0.9.3.20261122}/pyautogui-stubs/__init__.pyi +45 -45
  5. {types_pyautogui-0.9.3.20260508 → types_pyautogui-0.9.3.20261122}/pyproject.toml +8 -4
  6. {types_pyautogui-0.9.3.20260508 → types_pyautogui-0.9.3.20261122/types_PyAutoGUI.egg-info}/PKG-INFO +6 -4
  7. {types_pyautogui-0.9.3.20260508 → types_pyautogui-0.9.3.20261122}/LICENSE +0 -0
  8. {types_pyautogui-0.9.3.20260508 → types_pyautogui-0.9.3.20261122}/MANIFEST.in +0 -0
  9. {types_pyautogui-0.9.3.20260508 → types_pyautogui-0.9.3.20261122}/pyautogui-stubs/METADATA.toml +0 -0
  10. {types_pyautogui-0.9.3.20260508 → types_pyautogui-0.9.3.20261122}/pyautogui-stubs/py.typed +0 -0
  11. {types_pyautogui-0.9.3.20260508 → types_pyautogui-0.9.3.20261122}/setup.cfg +0 -0
  12. {types_pyautogui-0.9.3.20260508 → types_pyautogui-0.9.3.20261122}/types_PyAutoGUI.egg-info/SOURCES.txt +0 -0
  13. {types_pyautogui-0.9.3.20260508 → types_pyautogui-0.9.3.20261122}/types_PyAutoGUI.egg-info/dependency_links.txt +0 -0
  14. {types_pyautogui-0.9.3.20260508 → types_pyautogui-0.9.3.20261122}/types_PyAutoGUI.egg-info/requires.txt +0 -0
  15. {types_pyautogui-0.9.3.20260508 → types_pyautogui-0.9.3.20261122}/types_PyAutoGUI.egg-info/top_level.txt +0 -0
@@ -1,3 +1,14 @@
1
+ ## [0.9.3.20261122](https://pypi.org/project/types-PyAutoGUI/0.9.3.20261122/) (2026-11-22)
2
+
3
+ * Replace final `FloatInt` instances ([#16887](https://github.com/python/typeshed/pull/16887))
4
+
5
+ - `unittest.mock.ThreadingMixin.DEFAULT_TIMEOUT` was marked as final
6
+ by accident.
7
+ - `jenkins.DEFAULT_TIMEOUT` is a sentinel, not `float`.
8
+ - Reportlab landscape and portrait only accept float arguments if they return only float values.
9
+
10
+ * Replace float with FloatInt ([#16789](https://github.com/python/typeshed/pull/16789))
11
+
1
12
  ## 0.9.3.20260508 (2026-05-08)
2
13
 
3
14
  Import some items from typing instead of typing_extensions ([#15711](https://github.com/python/typeshed/pull/15711))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: types-PyAutoGUI
3
- Version: 0.9.3.20260508
3
+ Version: 0.9.3.20261122
4
4
  Summary: Typing stubs for PyAutoGUI
5
5
  License-Expression: Apache-2.0
6
6
  Project-URL: Homepage, https://github.com/python/typeshed
@@ -32,8 +32,10 @@ for more details. The source for this package can be found in the
32
32
  directory.
33
33
 
34
34
  This package was tested with the following type checkers:
35
- * [mypy](https://github.com/python/mypy/) 1.20.0
36
- * [pyright](https://github.com/microsoft/pyright) 1.1.408
35
+ * [mypy](https://www.mypy-lang.org/) 2.4.1
36
+ * [pyrefly](https://pyrefly.org/) 1.4.1
37
+ * [pyright](https://microsoft.github.io/pyright/) 1.1.414
38
+ * [ty](https://docs.astral.sh/ty/) 0.0.104
37
39
 
38
40
  It was generated from typeshed commit
39
- [`a7f0a8286aaf594602b81bef79c77175fcf9ceda`](https://github.com/python/typeshed/commit/a7f0a8286aaf594602b81bef79c77175fcf9ceda).
41
+ [`567e5e3e4276a6b05127b6347d80f809d123e35e`](https://github.com/python/typeshed/commit/567e5e3e4276a6b05127b6347d80f809d123e35e).
@@ -14,8 +14,10 @@ for more details. The source for this package can be found in the
14
14
  directory.
15
15
 
16
16
  This package was tested with the following type checkers:
17
- * [mypy](https://github.com/python/mypy/) 1.20.0
18
- * [pyright](https://github.com/microsoft/pyright) 1.1.408
17
+ * [mypy](https://www.mypy-lang.org/) 2.4.1
18
+ * [pyrefly](https://pyrefly.org/) 1.4.1
19
+ * [pyright](https://microsoft.github.io/pyright/) 1.1.414
20
+ * [ty](https://docs.astral.sh/ty/) 0.0.104
19
21
 
20
22
  It was generated from typeshed commit
21
- [`a7f0a8286aaf594602b81bef79c77175fcf9ceda`](https://github.com/python/typeshed/commit/a7f0a8286aaf594602b81bef79c77175fcf9ceda).
23
+ [`567e5e3e4276a6b05127b6347d80f809d123e35e`](https://github.com/python/typeshed/commit/567e5e3e4276a6b05127b6347d80f809d123e35e).
@@ -1,5 +1,5 @@
1
1
  import contextlib
2
- from _typeshed import ConvertibleToInt
2
+ from _typeshed import ConvertibleToInt, FloatInt
3
3
  from collections.abc import Callable, Iterable, Sequence
4
4
  from datetime import datetime
5
5
  from typing import Final, NamedTuple, ParamSpec, SupportsIndex, SupportsInt, TypeAlias, TypeVar
@@ -36,18 +36,18 @@ G_LOG_SCREENSHOTS_FILENAMES: list[str]
36
36
  # Implementation details
37
37
  QWERTY: Final[str]
38
38
  QWERTZ: Final[str]
39
- MINIMUM_SLEEP: Final[float]
39
+ MINIMUM_SLEEP: Final = 0.05
40
40
 
41
41
  # These are meant to be overridable
42
42
  LOG_SCREENSHOTS: bool
43
43
  LOG_SCREENSHOTS_LIMIT: int | None
44
44
  # https://pyautogui.readthedocs.io/en/latest/index.html#fail-safes
45
45
  FAILSAFE: bool
46
- PAUSE: float
47
- DARWIN_CATCH_UP_TIME: float
46
+ PAUSE: FloatInt
47
+ DARWIN_CATCH_UP_TIME: FloatInt
48
48
  FAILSAFE_POINTS: list[tuple[int, int]]
49
49
  # https://pyautogui.readthedocs.io/en/latest/mouse.htmln#mouse-movement
50
- MINIMUM_DURATION: float
50
+ MINIMUM_DURATION: float | int
51
51
 
52
52
  class PyAutoGUIException(Exception): ...
53
53
  class FailSafeException(PyAutoGUIException): ...
@@ -66,8 +66,8 @@ class Size(NamedTuple):
66
66
  width: int
67
67
  height: int
68
68
 
69
- def getPointOnLine(x1: float, y1: float, x2: float, y2: float, n: float) -> tuple[float, float]: ...
70
- def linear(n: float) -> float: ...
69
+ def getPointOnLine(x1: FloatInt, y1: FloatInt, x2: FloatInt, y2: FloatInt, n: FloatInt) -> tuple[float, float]: ...
70
+ def linear(n: FloatInt) -> float: ...
71
71
  def position(x: int | None = None, y: int | None = None) -> Point: ...
72
72
  def size() -> Size: ...
73
73
 
@@ -79,8 +79,8 @@ def mouseDown(
79
79
  y: SupportsInt | None = None,
80
80
  # Docstring says `button` can also be `int`, but `.lower()` is called unconditionally in `_normalizeButton()`
81
81
  button: str = "primary",
82
- duration: float = 0.0,
83
- tween: Callable[[float], float] = ...,
82
+ duration: FloatInt = 0.0,
83
+ tween: Callable[[FloatInt], float] = ...,
84
84
  logScreenshot: bool | None = None,
85
85
  _pause: bool = True,
86
86
  ) -> None: ...
@@ -89,8 +89,8 @@ def mouseUp(
89
89
  y: SupportsInt | None = None,
90
90
  # Docstring says `button` can also be `int`, but `.lower()` is called unconditionally in `_normalizeButton()`
91
91
  button: str = "primary",
92
- duration: float = 0.0,
93
- tween: Callable[[float], float] = ...,
92
+ duration: FloatInt = 0.0,
93
+ tween: Callable[[FloatInt], float] = ...,
94
94
  logScreenshot: bool | None = None,
95
95
  _pause: bool = True,
96
96
  ) -> None: ...
@@ -98,79 +98,79 @@ def click(
98
98
  x: _NormalizeableXArg | None = None,
99
99
  y: SupportsInt | None = None,
100
100
  clicks: SupportsIndex = 1,
101
- interval: float = 0.0,
101
+ interval: FloatInt = 0.0,
102
102
  # Docstring says `button` can also be `int`, but `.lower()` is called unconditionally in `_normalizeButton()`
103
103
  button: str = "primary",
104
- duration: float = 0.0,
105
- tween: Callable[[float], float] = ...,
104
+ duration: FloatInt = 0.0,
105
+ tween: Callable[[FloatInt], float] = ...,
106
106
  logScreenshot: bool | None = None,
107
107
  _pause: bool = True,
108
108
  ) -> None: ...
109
109
  def leftClick(
110
110
  x: _NormalizeableXArg | None = None,
111
111
  y: SupportsInt | None = None,
112
- interval: float = 0.0,
113
- duration: float = 0.0,
114
- tween: Callable[[float], float] = ...,
112
+ interval: FloatInt = 0.0,
113
+ duration: FloatInt = 0.0,
114
+ tween: Callable[[FloatInt], float] = ...,
115
115
  logScreenshot: bool | None = None,
116
116
  _pause: bool = True,
117
117
  ) -> None: ...
118
118
  def rightClick(
119
119
  x: _NormalizeableXArg | None = None,
120
120
  y: SupportsInt | None = None,
121
- interval: float = 0.0,
122
- duration: float = 0.0,
123
- tween: Callable[[float], float] = ...,
121
+ interval: FloatInt = 0.0,
122
+ duration: FloatInt = 0.0,
123
+ tween: Callable[[FloatInt], float] = ...,
124
124
  logScreenshot: bool | None = None,
125
125
  _pause: bool = True,
126
126
  ) -> None: ...
127
127
  def middleClick(
128
128
  x: _NormalizeableXArg | None = None,
129
129
  y: SupportsInt | None = None,
130
- interval: float = 0.0,
131
- duration: float = 0.0,
132
- tween: Callable[[float], float] = ...,
130
+ interval: FloatInt = 0.0,
131
+ duration: FloatInt = 0.0,
132
+ tween: Callable[[FloatInt], float] = ...,
133
133
  logScreenshot: bool | None = None,
134
134
  _pause: bool = True,
135
135
  ) -> None: ...
136
136
  def doubleClick(
137
137
  x: _NormalizeableXArg | None = None,
138
138
  y: SupportsInt | None = None,
139
- interval: float = 0.0,
139
+ interval: FloatInt = 0.0,
140
140
  # Docstring says `button` can also be `int`, but `.lower()` is called unconditionally in `_normalizeButton()`
141
141
  button: str = "left",
142
- duration: float = 0.0,
143
- tween: Callable[[float], float] = ...,
142
+ duration: FloatInt = 0.0,
143
+ tween: Callable[[FloatInt], float] = ...,
144
144
  logScreenshot: bool | None = None,
145
145
  _pause: bool = True,
146
146
  ) -> None: ...
147
147
  def tripleClick(
148
148
  x: _NormalizeableXArg | None = None,
149
149
  y: SupportsInt | None = None,
150
- interval: float = 0.0,
150
+ interval: FloatInt = 0.0,
151
151
  # Docstring says `button` can also be `int`, but `.lower()` is called unconditionally in `_normalizeButton()`
152
152
  button: str = "left",
153
- duration: float = 0.0,
154
- tween: Callable[[float], float] = ...,
153
+ duration: FloatInt = 0.0,
154
+ tween: Callable[[FloatInt], float] = ...,
155
155
  logScreenshot: bool | None = None,
156
156
  _pause: bool = True,
157
157
  ) -> None: ...
158
158
  def scroll(
159
- clicks: float,
159
+ clicks: FloatInt,
160
160
  x: _NormalizeableXArg | None = None,
161
161
  y: SupportsInt | None = None,
162
162
  logScreenshot: bool | None = None,
163
163
  _pause: bool = True,
164
164
  ) -> None: ...
165
165
  def hscroll(
166
- clicks: float,
166
+ clicks: FloatInt,
167
167
  x: _NormalizeableXArg | None = None,
168
168
  y: SupportsInt | None = None,
169
169
  logScreenshot: bool | None = None,
170
170
  _pause: bool = True,
171
171
  ) -> None: ...
172
172
  def vscroll(
173
- clicks: float,
173
+ clicks: FloatInt,
174
174
  x: _NormalizeableXArg | None = None,
175
175
  y: SupportsInt | None = None,
176
176
  logScreenshot: bool | None = None,
@@ -179,16 +179,16 @@ def vscroll(
179
179
  def moveTo(
180
180
  x: _NormalizeableXArg | None = None,
181
181
  y: SupportsInt | None = None,
182
- duration: float = 0.0,
183
- tween: Callable[[float], float] = ...,
182
+ duration: FloatInt = 0.0,
183
+ tween: Callable[[FloatInt], float] = ...,
184
184
  logScreenshot: bool = False,
185
185
  _pause: bool = True,
186
186
  ) -> None: ...
187
187
  def moveRel(
188
188
  xOffset: _NormalizeableXArg | None = None,
189
189
  yOffset: SupportsInt | None = None,
190
- duration: float = 0.0,
191
- tween: Callable[[float], float] = ...,
190
+ duration: FloatInt = 0.0,
191
+ tween: Callable[[FloatInt], float] = ...,
192
192
  logScreenshot: bool = False,
193
193
  _pause: bool = True,
194
194
  ) -> None: ...
@@ -198,8 +198,8 @@ move = moveRel
198
198
  def dragTo(
199
199
  x: _NormalizeableXArg | None = None,
200
200
  y: SupportsInt | None = None,
201
- duration: float = 0.0,
202
- tween: Callable[[float], float] = ...,
201
+ duration: FloatInt = 0.0,
202
+ tween: Callable[[FloatInt], float] = ...,
203
203
  # Docstring says `button` can also be `int`, but `.lower()` is called unconditionally in `_normalizeButton()`
204
204
  button: str = "primary",
205
205
  logScreenshot: bool | None = None,
@@ -209,8 +209,8 @@ def dragTo(
209
209
  def dragRel(
210
210
  xOffset: _NormalizeableXArg | None = 0,
211
211
  yOffset: SupportsInt | None = 0,
212
- duration: float = 0.0,
213
- tween: Callable[[float], float] = ...,
212
+ duration: FloatInt = 0.0,
213
+ tween: Callable[[FloatInt], float] = ...,
214
214
  # Docstring says `button` can also be `int`, but `.lower()` is called unconditionally in `_normalizeButton()`
215
215
  button: str = "primary",
216
216
  logScreenshot: bool | None = None,
@@ -226,7 +226,7 @@ def keyUp(key: str, logScreenshot: bool | None = None, _pause: bool = True) -> N
226
226
  def press(
227
227
  keys: str | Iterable[str],
228
228
  presses: SupportsIndex = 1,
229
- interval: float = 0.0,
229
+ interval: FloatInt = 0.0,
230
230
  logScreenshot: bool | None = None,
231
231
  _pause: bool = True,
232
232
  ) -> None: ...
@@ -234,18 +234,18 @@ def hold(
234
234
  keys: str | Iterable[str], logScreenshot: bool | None = None, _pause: bool = True
235
235
  ) -> contextlib._GeneratorContextManager[None]: ...
236
236
  def typewrite(
237
- message: str | Sequence[str], interval: float = 0.0, logScreenshot: bool | None = None, _pause: bool = True
237
+ message: str | Sequence[str], interval: FloatInt = 0.0, logScreenshot: bool | None = None, _pause: bool = True
238
238
  ) -> None: ...
239
239
 
240
240
  write = typewrite
241
241
 
242
- def hotkey(*args: str, logScreenshot: bool | None = None, interval: float = 0.0) -> None: ...
242
+ def hotkey(*args: str, logScreenshot: bool | None = None, interval: FloatInt = 0.0) -> None: ...
243
243
 
244
244
  shortcut = hotkey
245
245
 
246
246
  def failSafeCheck() -> None: ...
247
- def displayMousePosition(xOffset: float = 0, yOffset: float = 0) -> None: ...
248
- def sleep(seconds: float) -> None: ...
247
+ def displayMousePosition(xOffset: FloatInt = 0, yOffset: FloatInt = 0) -> None: ...
248
+ def sleep(seconds: FloatInt) -> None: ...
249
249
  def countdown(seconds: SupportsIndex) -> None: ...
250
250
  def run(commandStr: str, _ssCount: Sequence[int] | None = None) -> None: ...
251
251
  def printInfo(dontPrint: bool = False) -> str: ...
@@ -4,7 +4,7 @@ requires = ["setuptools>=82.0.1"]
4
4
 
5
5
  [project]
6
6
  name = "types-PyAutoGUI"
7
- version = "0.9.3.20260508"
7
+ version = "0.9.3.20261122"
8
8
  license = "Apache-2.0"
9
9
  license-files = ["LICENSE"]
10
10
  description = "Typing stubs for PyAutoGUI"
@@ -25,11 +25,13 @@ for more details. The source for this package can be found in the
25
25
  directory.
26
26
 
27
27
  This package was tested with the following type checkers:
28
- * [mypy](https://github.com/python/mypy/) 1.20.0
29
- * [pyright](https://github.com/microsoft/pyright) 1.1.408
28
+ * [mypy](https://www.mypy-lang.org/) 2.4.1
29
+ * [pyrefly](https://pyrefly.org/) 1.4.1
30
+ * [pyright](https://microsoft.github.io/pyright/) 1.1.414
31
+ * [ty](https://docs.astral.sh/ty/) 0.0.104
30
32
 
31
33
  It was generated from typeshed commit
32
- [`a7f0a8286aaf594602b81bef79c77175fcf9ceda`](https://github.com/python/typeshed/commit/a7f0a8286aaf594602b81bef79c77175fcf9ceda).
34
+ [`567e5e3e4276a6b05127b6347d80f809d123e35e`](https://github.com/python/typeshed/commit/567e5e3e4276a6b05127b6347d80f809d123e35e).
33
35
  """, content-type = "text/markdown" }
34
36
  classifiers = [
35
37
  "Programming Language :: Python :: 3",
@@ -38,6 +40,8 @@ classifiers = [
38
40
  requires-python = ">=3.10"
39
41
  dependencies = ['types-PyScreeze']
40
42
 
43
+
44
+
41
45
  [project.urls]
42
46
  "Homepage" = "https://github.com/python/typeshed"
43
47
  "GitHub" = "https://github.com/python/typeshed"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: types-PyAutoGUI
3
- Version: 0.9.3.20260508
3
+ Version: 0.9.3.20261122
4
4
  Summary: Typing stubs for PyAutoGUI
5
5
  License-Expression: Apache-2.0
6
6
  Project-URL: Homepage, https://github.com/python/typeshed
@@ -32,8 +32,10 @@ for more details. The source for this package can be found in the
32
32
  directory.
33
33
 
34
34
  This package was tested with the following type checkers:
35
- * [mypy](https://github.com/python/mypy/) 1.20.0
36
- * [pyright](https://github.com/microsoft/pyright) 1.1.408
35
+ * [mypy](https://www.mypy-lang.org/) 2.4.1
36
+ * [pyrefly](https://pyrefly.org/) 1.4.1
37
+ * [pyright](https://microsoft.github.io/pyright/) 1.1.414
38
+ * [ty](https://docs.astral.sh/ty/) 0.0.104
37
39
 
38
40
  It was generated from typeshed commit
39
- [`a7f0a8286aaf594602b81bef79c77175fcf9ceda`](https://github.com/python/typeshed/commit/a7f0a8286aaf594602b81bef79c77175fcf9ceda).
41
+ [`567e5e3e4276a6b05127b6347d80f809d123e35e`](https://github.com/python/typeshed/commit/567e5e3e4276a6b05127b6347d80f809d123e35e).