types-PyAutoGUI 0.9.3.20260408__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.20260408 → types_pyautogui-0.9.3.20261122}/CHANGELOG.md +17 -0
  2. {types_pyautogui-0.9.3.20260408/types_PyAutoGUI.egg-info → types_pyautogui-0.9.3.20261122}/PKG-INFO +6 -4
  3. {types_pyautogui-0.9.3.20260408 → types_pyautogui-0.9.3.20261122}/README.md +5 -3
  4. {types_pyautogui-0.9.3.20260408 → types_pyautogui-0.9.3.20261122}/pyautogui-stubs/__init__.pyi +46 -47
  5. {types_pyautogui-0.9.3.20260408 → types_pyautogui-0.9.3.20261122}/pyproject.toml +8 -4
  6. {types_pyautogui-0.9.3.20260408 → types_pyautogui-0.9.3.20261122/types_PyAutoGUI.egg-info}/PKG-INFO +6 -4
  7. {types_pyautogui-0.9.3.20260408 → types_pyautogui-0.9.3.20261122}/LICENSE +0 -0
  8. {types_pyautogui-0.9.3.20260408 → types_pyautogui-0.9.3.20261122}/MANIFEST.in +0 -0
  9. {types_pyautogui-0.9.3.20260408 → types_pyautogui-0.9.3.20261122}/pyautogui-stubs/METADATA.toml +0 -0
  10. {types_pyautogui-0.9.3.20260408 → types_pyautogui-0.9.3.20261122}/pyautogui-stubs/py.typed +0 -0
  11. {types_pyautogui-0.9.3.20260408 → types_pyautogui-0.9.3.20261122}/setup.cfg +0 -0
  12. {types_pyautogui-0.9.3.20260408 → types_pyautogui-0.9.3.20261122}/types_PyAutoGUI.egg-info/SOURCES.txt +0 -0
  13. {types_pyautogui-0.9.3.20260408 → types_pyautogui-0.9.3.20261122}/types_PyAutoGUI.egg-info/dependency_links.txt +0 -0
  14. {types_pyautogui-0.9.3.20260408 → types_pyautogui-0.9.3.20261122}/types_PyAutoGUI.egg-info/requires.txt +0 -0
  15. {types_pyautogui-0.9.3.20260408 → types_pyautogui-0.9.3.20261122}/types_PyAutoGUI.egg-info/top_level.txt +0 -0
@@ -1,3 +1,20 @@
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
+
12
+ ## 0.9.3.20260508 (2026-05-08)
13
+
14
+ Import some items from typing instead of typing_extensions ([#15711](https://github.com/python/typeshed/pull/15711))
15
+
16
+ Part of #13782
17
+
1
18
  ## 0.9.3.20260408 (2026-04-08)
2
19
 
3
20
  Use dashes instead of underscores for METADATA.toml field names ([#15614](https://github.com/python/typeshed/pull/15614))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: types-PyAutoGUI
3
- Version: 0.9.3.20260408
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
- [`563213272e5db2a858e37bdf6938b0c8742ec192`](https://github.com/python/typeshed/commit/563213272e5db2a858e37bdf6938b0c8742ec192).
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
- [`563213272e5db2a858e37bdf6938b0c8742ec192`](https://github.com/python/typeshed/commit/563213272e5db2a858e37bdf6938b0c8742ec192).
23
+ [`567e5e3e4276a6b05127b6347d80f809d123e35e`](https://github.com/python/typeshed/commit/567e5e3e4276a6b05127b6347d80f809d123e35e).
@@ -1,9 +1,8 @@
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
- from typing import Final, NamedTuple, SupportsIndex, SupportsInt, TypeVar
6
- from typing_extensions import ParamSpec, TypeAlias
5
+ from typing import Final, NamedTuple, ParamSpec, SupportsIndex, SupportsInt, TypeAlias, TypeVar
7
6
 
8
7
  from pyscreeze import (
9
8
  center as center,
@@ -37,18 +36,18 @@ G_LOG_SCREENSHOTS_FILENAMES: list[str]
37
36
  # Implementation details
38
37
  QWERTY: Final[str]
39
38
  QWERTZ: Final[str]
40
- MINIMUM_SLEEP: Final[float]
39
+ MINIMUM_SLEEP: Final = 0.05
41
40
 
42
41
  # These are meant to be overridable
43
42
  LOG_SCREENSHOTS: bool
44
43
  LOG_SCREENSHOTS_LIMIT: int | None
45
44
  # https://pyautogui.readthedocs.io/en/latest/index.html#fail-safes
46
45
  FAILSAFE: bool
47
- PAUSE: float
48
- DARWIN_CATCH_UP_TIME: float
46
+ PAUSE: FloatInt
47
+ DARWIN_CATCH_UP_TIME: FloatInt
49
48
  FAILSAFE_POINTS: list[tuple[int, int]]
50
49
  # https://pyautogui.readthedocs.io/en/latest/mouse.htmln#mouse-movement
51
- MINIMUM_DURATION: float
50
+ MINIMUM_DURATION: float | int
52
51
 
53
52
  class PyAutoGUIException(Exception): ...
54
53
  class FailSafeException(PyAutoGUIException): ...
@@ -67,8 +66,8 @@ class Size(NamedTuple):
67
66
  width: int
68
67
  height: int
69
68
 
70
- def getPointOnLine(x1: float, y1: float, x2: float, y2: float, n: float) -> tuple[float, float]: ...
71
- 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: ...
72
71
  def position(x: int | None = None, y: int | None = None) -> Point: ...
73
72
  def size() -> Size: ...
74
73
 
@@ -80,8 +79,8 @@ def mouseDown(
80
79
  y: SupportsInt | None = None,
81
80
  # Docstring says `button` can also be `int`, but `.lower()` is called unconditionally in `_normalizeButton()`
82
81
  button: str = "primary",
83
- duration: float = 0.0,
84
- tween: Callable[[float], float] = ...,
82
+ duration: FloatInt = 0.0,
83
+ tween: Callable[[FloatInt], float] = ...,
85
84
  logScreenshot: bool | None = None,
86
85
  _pause: bool = True,
87
86
  ) -> None: ...
@@ -90,8 +89,8 @@ def mouseUp(
90
89
  y: SupportsInt | None = None,
91
90
  # Docstring says `button` can also be `int`, but `.lower()` is called unconditionally in `_normalizeButton()`
92
91
  button: str = "primary",
93
- duration: float = 0.0,
94
- tween: Callable[[float], float] = ...,
92
+ duration: FloatInt = 0.0,
93
+ tween: Callable[[FloatInt], float] = ...,
95
94
  logScreenshot: bool | None = None,
96
95
  _pause: bool = True,
97
96
  ) -> None: ...
@@ -99,79 +98,79 @@ def click(
99
98
  x: _NormalizeableXArg | None = None,
100
99
  y: SupportsInt | None = None,
101
100
  clicks: SupportsIndex = 1,
102
- interval: float = 0.0,
101
+ interval: FloatInt = 0.0,
103
102
  # Docstring says `button` can also be `int`, but `.lower()` is called unconditionally in `_normalizeButton()`
104
103
  button: str = "primary",
105
- duration: float = 0.0,
106
- tween: Callable[[float], float] = ...,
104
+ duration: FloatInt = 0.0,
105
+ tween: Callable[[FloatInt], float] = ...,
107
106
  logScreenshot: bool | None = None,
108
107
  _pause: bool = True,
109
108
  ) -> None: ...
110
109
  def leftClick(
111
110
  x: _NormalizeableXArg | None = None,
112
111
  y: SupportsInt | None = None,
113
- interval: float = 0.0,
114
- duration: float = 0.0,
115
- tween: Callable[[float], float] = ...,
112
+ interval: FloatInt = 0.0,
113
+ duration: FloatInt = 0.0,
114
+ tween: Callable[[FloatInt], float] = ...,
116
115
  logScreenshot: bool | None = None,
117
116
  _pause: bool = True,
118
117
  ) -> None: ...
119
118
  def rightClick(
120
119
  x: _NormalizeableXArg | None = None,
121
120
  y: SupportsInt | None = None,
122
- interval: float = 0.0,
123
- duration: float = 0.0,
124
- tween: Callable[[float], float] = ...,
121
+ interval: FloatInt = 0.0,
122
+ duration: FloatInt = 0.0,
123
+ tween: Callable[[FloatInt], float] = ...,
125
124
  logScreenshot: bool | None = None,
126
125
  _pause: bool = True,
127
126
  ) -> None: ...
128
127
  def middleClick(
129
128
  x: _NormalizeableXArg | None = None,
130
129
  y: SupportsInt | None = None,
131
- interval: float = 0.0,
132
- duration: float = 0.0,
133
- tween: Callable[[float], float] = ...,
130
+ interval: FloatInt = 0.0,
131
+ duration: FloatInt = 0.0,
132
+ tween: Callable[[FloatInt], float] = ...,
134
133
  logScreenshot: bool | None = None,
135
134
  _pause: bool = True,
136
135
  ) -> None: ...
137
136
  def doubleClick(
138
137
  x: _NormalizeableXArg | None = None,
139
138
  y: SupportsInt | None = None,
140
- interval: float = 0.0,
139
+ interval: FloatInt = 0.0,
141
140
  # Docstring says `button` can also be `int`, but `.lower()` is called unconditionally in `_normalizeButton()`
142
141
  button: str = "left",
143
- duration: float = 0.0,
144
- tween: Callable[[float], float] = ...,
142
+ duration: FloatInt = 0.0,
143
+ tween: Callable[[FloatInt], float] = ...,
145
144
  logScreenshot: bool | None = None,
146
145
  _pause: bool = True,
147
146
  ) -> None: ...
148
147
  def tripleClick(
149
148
  x: _NormalizeableXArg | None = None,
150
149
  y: SupportsInt | None = None,
151
- interval: float = 0.0,
150
+ interval: FloatInt = 0.0,
152
151
  # Docstring says `button` can also be `int`, but `.lower()` is called unconditionally in `_normalizeButton()`
153
152
  button: str = "left",
154
- duration: float = 0.0,
155
- tween: Callable[[float], float] = ...,
153
+ duration: FloatInt = 0.0,
154
+ tween: Callable[[FloatInt], float] = ...,
156
155
  logScreenshot: bool | None = None,
157
156
  _pause: bool = True,
158
157
  ) -> None: ...
159
158
  def scroll(
160
- clicks: float,
159
+ clicks: FloatInt,
161
160
  x: _NormalizeableXArg | None = None,
162
161
  y: SupportsInt | None = None,
163
162
  logScreenshot: bool | None = None,
164
163
  _pause: bool = True,
165
164
  ) -> None: ...
166
165
  def hscroll(
167
- clicks: float,
166
+ clicks: FloatInt,
168
167
  x: _NormalizeableXArg | None = None,
169
168
  y: SupportsInt | None = None,
170
169
  logScreenshot: bool | None = None,
171
170
  _pause: bool = True,
172
171
  ) -> None: ...
173
172
  def vscroll(
174
- clicks: float,
173
+ clicks: FloatInt,
175
174
  x: _NormalizeableXArg | None = None,
176
175
  y: SupportsInt | None = None,
177
176
  logScreenshot: bool | None = None,
@@ -180,16 +179,16 @@ def vscroll(
180
179
  def moveTo(
181
180
  x: _NormalizeableXArg | None = None,
182
181
  y: SupportsInt | None = None,
183
- duration: float = 0.0,
184
- tween: Callable[[float], float] = ...,
182
+ duration: FloatInt = 0.0,
183
+ tween: Callable[[FloatInt], float] = ...,
185
184
  logScreenshot: bool = False,
186
185
  _pause: bool = True,
187
186
  ) -> None: ...
188
187
  def moveRel(
189
188
  xOffset: _NormalizeableXArg | None = None,
190
189
  yOffset: SupportsInt | None = None,
191
- duration: float = 0.0,
192
- tween: Callable[[float], float] = ...,
190
+ duration: FloatInt = 0.0,
191
+ tween: Callable[[FloatInt], float] = ...,
193
192
  logScreenshot: bool = False,
194
193
  _pause: bool = True,
195
194
  ) -> None: ...
@@ -199,8 +198,8 @@ move = moveRel
199
198
  def dragTo(
200
199
  x: _NormalizeableXArg | None = None,
201
200
  y: SupportsInt | None = None,
202
- duration: float = 0.0,
203
- tween: Callable[[float], float] = ...,
201
+ duration: FloatInt = 0.0,
202
+ tween: Callable[[FloatInt], float] = ...,
204
203
  # Docstring says `button` can also be `int`, but `.lower()` is called unconditionally in `_normalizeButton()`
205
204
  button: str = "primary",
206
205
  logScreenshot: bool | None = None,
@@ -210,8 +209,8 @@ def dragTo(
210
209
  def dragRel(
211
210
  xOffset: _NormalizeableXArg | None = 0,
212
211
  yOffset: SupportsInt | None = 0,
213
- duration: float = 0.0,
214
- tween: Callable[[float], float] = ...,
212
+ duration: FloatInt = 0.0,
213
+ tween: Callable[[FloatInt], float] = ...,
215
214
  # Docstring says `button` can also be `int`, but `.lower()` is called unconditionally in `_normalizeButton()`
216
215
  button: str = "primary",
217
216
  logScreenshot: bool | None = None,
@@ -227,7 +226,7 @@ def keyUp(key: str, logScreenshot: bool | None = None, _pause: bool = True) -> N
227
226
  def press(
228
227
  keys: str | Iterable[str],
229
228
  presses: SupportsIndex = 1,
230
- interval: float = 0.0,
229
+ interval: FloatInt = 0.0,
231
230
  logScreenshot: bool | None = None,
232
231
  _pause: bool = True,
233
232
  ) -> None: ...
@@ -235,18 +234,18 @@ def hold(
235
234
  keys: str | Iterable[str], logScreenshot: bool | None = None, _pause: bool = True
236
235
  ) -> contextlib._GeneratorContextManager[None]: ...
237
236
  def typewrite(
238
- 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
239
238
  ) -> None: ...
240
239
 
241
240
  write = typewrite
242
241
 
243
- 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: ...
244
243
 
245
244
  shortcut = hotkey
246
245
 
247
246
  def failSafeCheck() -> None: ...
248
- def displayMousePosition(xOffset: float = 0, yOffset: float = 0) -> None: ...
249
- def sleep(seconds: float) -> None: ...
247
+ def displayMousePosition(xOffset: FloatInt = 0, yOffset: FloatInt = 0) -> None: ...
248
+ def sleep(seconds: FloatInt) -> None: ...
250
249
  def countdown(seconds: SupportsIndex) -> None: ...
251
250
  def run(commandStr: str, _ssCount: Sequence[int] | None = None) -> None: ...
252
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.20260408"
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
- [`563213272e5db2a858e37bdf6938b0c8742ec192`](https://github.com/python/typeshed/commit/563213272e5db2a858e37bdf6938b0c8742ec192).
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.20260408
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
- [`563213272e5db2a858e37bdf6938b0c8742ec192`](https://github.com/python/typeshed/commit/563213272e5db2a858e37bdf6938b0c8742ec192).
41
+ [`567e5e3e4276a6b05127b6347d80f809d123e35e`](https://github.com/python/typeshed/commit/567e5e3e4276a6b05127b6347d80f809d123e35e).