types-PyAutoGUI 0.9.3.6__tar.gz → 0.9.3.8__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.
@@ -1,3 +1,13 @@
1
+ ## 0.9.3.8 (2023-12-19)
2
+
3
+ Review `SupportsInt` and `SupportsFloat` usages in 3rd-party stubs (#11003)
4
+
5
+ ## 0.9.3.7 (2023-07-20)
6
+
7
+ Add an upstream_repository field to METADATA.toml (#10487)
8
+
9
+ Closes: #10478
10
+
1
11
  ## 0.9.3.6 (2023-05-25)
2
12
 
3
13
  Update pyautogui (#10209)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: types-PyAutoGUI
3
- Version: 0.9.3.6
3
+ Version: 0.9.3.8
4
4
  Summary: Typing stubs for PyAutoGUI
5
5
  Home-page: https://github.com/python/typeshed
6
6
  License: Apache-2.0 license
@@ -11,19 +11,27 @@ 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.7
14
15
  Description-Content-Type: text/markdown
15
16
 
16
17
  ## Typing stubs for PyAutoGUI
17
18
 
18
- This is a PEP 561 type stub package for the `PyAutoGUI` package. It
19
- can be used by type-checking tools like
19
+ This is a [PEP 561](https://peps.python.org/pep-0561/)
20
+ type stub package for the [`PyAutoGUI`](https://github.com/asweigart/pyautogui) package.
21
+ It can be used by type-checking tools like
20
22
  [mypy](https://github.com/python/mypy/),
21
23
  [pyright](https://github.com/microsoft/pyright),
22
24
  [pytype](https://github.com/google/pytype/),
23
25
  PyCharm, etc. to check code that uses
24
- `PyAutoGUI`. The source for this package can be found at
26
+ `PyAutoGUI`.
27
+
28
+ This version of `types-PyAutoGUI` aims to provide accurate annotations
29
+ for `PyAutoGUI==0.9.*`.
30
+ The source for this package can be found at
25
31
  https://github.com/python/typeshed/tree/main/stubs/PyAutoGUI. All fixes for
26
32
  types and metadata should be contributed there.
27
33
 
28
34
  See https://github.com/python/typeshed/blob/main/README.md for more details.
29
- This package was generated from typeshed commit `a4e33d4053e3c3310459f480890cee1b1bb97753`.
35
+ This package was generated from typeshed commit `7bdf6ba85ceeebfaf68f632fe0a02f08ce457694` and was tested
36
+ with mypy 1.7.1, pyright 1.1.339, and
37
+ pytype 2023.12.8.
@@ -1,2 +1,3 @@
1
1
  version = "0.9.*"
2
+ upstream_repository = "https://github.com/asweigart/pyautogui"
2
3
  requires = ["types-Pillow", "types-PyScreeze"]
@@ -1,4 +1,5 @@
1
1
  import contextlib
2
+ from _typeshed import ConvertibleToInt
2
3
  from collections.abc import Callable, Iterable, Sequence
3
4
  from datetime import datetime
4
5
  from typing import NamedTuple, SupportsInt, TypeVar
@@ -19,7 +20,10 @@ from pyscreeze import (
19
20
 
20
21
  _P = ParamSpec("_P")
21
22
  _R = TypeVar("_R")
22
- _NormalizeableXArg: TypeAlias = str | SupportsInt | Sequence[SupportsInt]
23
+ # Explicitly mentioning str despite being in the ConvertibleToInt Alias because it has a different meaning (filename on screen)
24
+ # Specifying non-None Y arg when X is a string or sequence raises an error
25
+ # TODO: This could be better represented through overloads
26
+ _NormalizeableXArg: TypeAlias = str | ConvertibleToInt | Sequence[ConvertibleToInt]
23
27
 
24
28
  # Constants
25
29
  KEY_NAMES: list[str]
@@ -5,22 +5,29 @@ description = "Typing stubs for PyAutoGUI"
5
5
  long_description = '''
6
6
  ## Typing stubs for PyAutoGUI
7
7
 
8
- This is a PEP 561 type stub package for the `PyAutoGUI` package. It
9
- can be used by type-checking tools like
8
+ This is a [PEP 561](https://peps.python.org/pep-0561/)
9
+ type stub package for the [`PyAutoGUI`](https://github.com/asweigart/pyautogui) package.
10
+ It can be used by type-checking tools like
10
11
  [mypy](https://github.com/python/mypy/),
11
12
  [pyright](https://github.com/microsoft/pyright),
12
13
  [pytype](https://github.com/google/pytype/),
13
14
  PyCharm, etc. to check code that uses
14
- `PyAutoGUI`. The source for this package can be found at
15
+ `PyAutoGUI`.
16
+
17
+ This version of `types-PyAutoGUI` aims to provide accurate annotations
18
+ for `PyAutoGUI==0.9.*`.
19
+ The source for this package can be found at
15
20
  https://github.com/python/typeshed/tree/main/stubs/PyAutoGUI. All fixes for
16
21
  types and metadata should be contributed there.
17
22
 
18
23
  See https://github.com/python/typeshed/blob/main/README.md for more details.
19
- This package was generated from typeshed commit `a4e33d4053e3c3310459f480890cee1b1bb97753`.
24
+ This package was generated from typeshed commit `7bdf6ba85ceeebfaf68f632fe0a02f08ce457694` and was tested
25
+ with mypy 1.7.1, pyright 1.1.339, and
26
+ pytype 2023.12.8.
20
27
  '''.lstrip()
21
28
 
22
29
  setup(name=name,
23
- version="0.9.3.6",
30
+ version="0.9.3.8",
24
31
  description=description,
25
32
  long_description=long_description,
26
33
  long_description_content_type="text/markdown",
@@ -35,6 +42,7 @@ setup(name=name,
35
42
  packages=['pyautogui-stubs'],
36
43
  package_data={'pyautogui-stubs': ['__init__.pyi', 'METADATA.toml']},
37
44
  license="Apache-2.0 license",
45
+ python_requires=">=3.7",
38
46
  classifiers=[
39
47
  "License :: OSI Approved :: Apache Software License",
40
48
  "Programming Language :: Python :: 3",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: types-PyAutoGUI
3
- Version: 0.9.3.6
3
+ Version: 0.9.3.8
4
4
  Summary: Typing stubs for PyAutoGUI
5
5
  Home-page: https://github.com/python/typeshed
6
6
  License: Apache-2.0 license
@@ -11,19 +11,27 @@ 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.7
14
15
  Description-Content-Type: text/markdown
15
16
 
16
17
  ## Typing stubs for PyAutoGUI
17
18
 
18
- This is a PEP 561 type stub package for the `PyAutoGUI` package. It
19
- can be used by type-checking tools like
19
+ This is a [PEP 561](https://peps.python.org/pep-0561/)
20
+ type stub package for the [`PyAutoGUI`](https://github.com/asweigart/pyautogui) package.
21
+ It can be used by type-checking tools like
20
22
  [mypy](https://github.com/python/mypy/),
21
23
  [pyright](https://github.com/microsoft/pyright),
22
24
  [pytype](https://github.com/google/pytype/),
23
25
  PyCharm, etc. to check code that uses
24
- `PyAutoGUI`. The source for this package can be found at
26
+ `PyAutoGUI`.
27
+
28
+ This version of `types-PyAutoGUI` aims to provide accurate annotations
29
+ for `PyAutoGUI==0.9.*`.
30
+ The source for this package can be found at
25
31
  https://github.com/python/typeshed/tree/main/stubs/PyAutoGUI. All fixes for
26
32
  types and metadata should be contributed there.
27
33
 
28
34
  See https://github.com/python/typeshed/blob/main/README.md for more details.
29
- This package was generated from typeshed commit `a4e33d4053e3c3310459f480890cee1b1bb97753`.
35
+ This package was generated from typeshed commit `7bdf6ba85ceeebfaf68f632fe0a02f08ce457694` and was tested
36
+ with mypy 1.7.1, pyright 1.1.339, and
37
+ pytype 2023.12.8.