types-ttkthemes 3.2.4.20250426__tar.gz → 3.2.4.20250927__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.

Potentially problematic release.


This version of types-ttkthemes might be problematic. Click here for more details.

Files changed (21) hide show
  1. {types_ttkthemes-3.2.4.20250426 → types_ttkthemes-3.2.4.20250927}/CHANGELOG.md +10 -0
  2. {types_ttkthemes-3.2.4.20250426/types_ttkthemes.egg-info → types_ttkthemes-3.2.4.20250927}/PKG-INFO +9 -14
  3. types_ttkthemes-3.2.4.20250927/README.md +21 -0
  4. {types_ttkthemes-3.2.4.20250426 → types_ttkthemes-3.2.4.20250927}/pyproject.toml +9 -14
  5. {types_ttkthemes-3.2.4.20250426 → types_ttkthemes-3.2.4.20250927}/ttkthemes-stubs/themed_tk.pyi +22 -21
  6. {types_ttkthemes-3.2.4.20250426 → types_ttkthemes-3.2.4.20250927/types_ttkthemes.egg-info}/PKG-INFO +9 -14
  7. types_ttkthemes-3.2.4.20250426/README.md +0 -26
  8. {types_ttkthemes-3.2.4.20250426 → types_ttkthemes-3.2.4.20250927}/LICENSE +0 -0
  9. {types_ttkthemes-3.2.4.20250426 → types_ttkthemes-3.2.4.20250927}/MANIFEST.in +0 -0
  10. {types_ttkthemes-3.2.4.20250426 → types_ttkthemes-3.2.4.20250927}/setup.cfg +0 -0
  11. {types_ttkthemes-3.2.4.20250426 → types_ttkthemes-3.2.4.20250927}/setup.py +0 -0
  12. {types_ttkthemes-3.2.4.20250426 → types_ttkthemes-3.2.4.20250927}/ttkthemes-stubs/METADATA.toml +0 -0
  13. {types_ttkthemes-3.2.4.20250426 → types_ttkthemes-3.2.4.20250927}/ttkthemes-stubs/__init__.pyi +0 -0
  14. {types_ttkthemes-3.2.4.20250426 → types_ttkthemes-3.2.4.20250927}/ttkthemes-stubs/_imgops.pyi +0 -0
  15. {types_ttkthemes-3.2.4.20250426 → types_ttkthemes-3.2.4.20250927}/ttkthemes-stubs/_utils.pyi +0 -0
  16. {types_ttkthemes-3.2.4.20250426 → types_ttkthemes-3.2.4.20250927}/ttkthemes-stubs/_widget.pyi +0 -0
  17. {types_ttkthemes-3.2.4.20250426 → types_ttkthemes-3.2.4.20250927}/ttkthemes-stubs/py.typed +0 -0
  18. {types_ttkthemes-3.2.4.20250426 → types_ttkthemes-3.2.4.20250927}/ttkthemes-stubs/themed_style.pyi +0 -0
  19. {types_ttkthemes-3.2.4.20250426 → types_ttkthemes-3.2.4.20250927}/types_ttkthemes.egg-info/SOURCES.txt +0 -0
  20. {types_ttkthemes-3.2.4.20250426 → types_ttkthemes-3.2.4.20250927}/types_ttkthemes.egg-info/dependency_links.txt +0 -0
  21. {types_ttkthemes-3.2.4.20250426 → types_ttkthemes-3.2.4.20250927}/types_ttkthemes.egg-info/top_level.txt +0 -0
@@ -1,3 +1,13 @@
1
+ ## 3.2.4.20250927 (2025-09-27)
2
+
3
+ [tkinter] Remove _ScreenUnits alias ([#14782](https://github.com/python/typeshed/pull/14782))
4
+
5
+ Inspired by https://github.com/python/typeshed/pull/14742#pullrequestreview-3241268005
6
+
7
+ ## 3.2.4.20250924 (2025-09-24)
8
+
9
+ [tkinter] Remove a few type aliases ([#14742](https://github.com/python/typeshed/pull/14742))
10
+
1
11
  ## 3.2.4.20250426 (2025-04-26)
2
12
 
3
13
  Complete `ttkthemes` (#13858)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: types-ttkthemes
3
- Version: 3.2.4.20250426
3
+ Version: 3.2.4.20250927
4
4
  Summary: Typing stubs for ttkthemes
5
5
  License-Expression: Apache-2.0
6
6
  Project-URL: Homepage, https://github.com/python/typeshed
@@ -17,14 +17,9 @@ Dynamic: license-file
17
17
 
18
18
  ## Typing stubs for ttkthemes
19
19
 
20
- This is a [PEP 561](https://peps.python.org/pep-0561/)
21
- type stub package for the [`ttkthemes`](https://github.com/RedFantom/ttkthemes) package.
22
- It can be used by type-checking tools like
23
- [mypy](https://github.com/python/mypy/),
24
- [pyright](https://github.com/microsoft/pyright),
25
- [pytype](https://github.com/google/pytype/),
26
- [Pyre](https://pyre-check.org/),
27
- PyCharm, etc. to check code that uses `ttkthemes`. This version of
20
+ This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html)
21
+ for the [`ttkthemes`](https://github.com/RedFantom/ttkthemes) package. It can be used by type checkers
22
+ to check code that uses `ttkthemes`. This version of
28
23
  `types-ttkthemes` aims to provide accurate annotations for
29
24
  `ttkthemes==3.2.*`.
30
25
 
@@ -35,9 +30,9 @@ for more details. The source for this package can be found in the
35
30
  [`stubs/ttkthemes`](https://github.com/python/typeshed/tree/main/stubs/ttkthemes)
36
31
  directory.
37
32
 
38
- This package was tested with
39
- mypy 1.15.0,
40
- pyright 1.1.400,
41
- and pytype 2024.10.11.
33
+ This package was tested with the following type checkers:
34
+ * [mypy](https://github.com/python/mypy/) 1.18.1
35
+ * [pyright](https://github.com/microsoft/pyright) 1.1.405
36
+
42
37
  It was generated from typeshed commit
43
- [`ebf4d17c8d1ba2be348c51be39faec4d0303d8fa`](https://github.com/python/typeshed/commit/ebf4d17c8d1ba2be348c51be39faec4d0303d8fa).
38
+ [`ec184feeee93a545028833de6a1d62ffbb766f2c`](https://github.com/python/typeshed/commit/ec184feeee93a545028833de6a1d62ffbb766f2c).
@@ -0,0 +1,21 @@
1
+ ## Typing stubs for ttkthemes
2
+
3
+ This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html)
4
+ for the [`ttkthemes`](https://github.com/RedFantom/ttkthemes) package. It can be used by type checkers
5
+ to check code that uses `ttkthemes`. This version of
6
+ `types-ttkthemes` aims to provide accurate annotations for
7
+ `ttkthemes==3.2.*`.
8
+
9
+ This package is part of the [typeshed project](https://github.com/python/typeshed).
10
+ All fixes for types and metadata should be contributed there.
11
+ See [the README](https://github.com/python/typeshed/blob/main/README.md)
12
+ for more details. The source for this package can be found in the
13
+ [`stubs/ttkthemes`](https://github.com/python/typeshed/tree/main/stubs/ttkthemes)
14
+ directory.
15
+
16
+ This package was tested with the following type checkers:
17
+ * [mypy](https://github.com/python/mypy/) 1.18.1
18
+ * [pyright](https://github.com/microsoft/pyright) 1.1.405
19
+
20
+ It was generated from typeshed commit
21
+ [`ec184feeee93a545028833de6a1d62ffbb766f2c`](https://github.com/python/typeshed/commit/ec184feeee93a545028833de6a1d62ffbb766f2c).
@@ -4,21 +4,16 @@ requires = ["setuptools>=77.0.3"]
4
4
 
5
5
  [project]
6
6
  name = "types-ttkthemes"
7
- version = "3.2.4.20250426"
7
+ version = "3.2.4.20250927"
8
8
  license = "Apache-2.0"
9
9
  license-files = ["LICENSE"]
10
10
  description = "Typing stubs for ttkthemes"
11
11
  readme = { text = """\
12
12
  ## Typing stubs for ttkthemes
13
13
 
14
- This is a [PEP 561](https://peps.python.org/pep-0561/)
15
- type stub package for the [`ttkthemes`](https://github.com/RedFantom/ttkthemes) package.
16
- It can be used by type-checking tools like
17
- [mypy](https://github.com/python/mypy/),
18
- [pyright](https://github.com/microsoft/pyright),
19
- [pytype](https://github.com/google/pytype/),
20
- [Pyre](https://pyre-check.org/),
21
- PyCharm, etc. to check code that uses `ttkthemes`. This version of
14
+ This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html)
15
+ for the [`ttkthemes`](https://github.com/RedFantom/ttkthemes) package. It can be used by type checkers
16
+ to check code that uses `ttkthemes`. This version of
22
17
  `types-ttkthemes` aims to provide accurate annotations for
23
18
  `ttkthemes==3.2.*`.
24
19
 
@@ -29,12 +24,12 @@ for more details. The source for this package can be found in the
29
24
  [`stubs/ttkthemes`](https://github.com/python/typeshed/tree/main/stubs/ttkthemes)
30
25
  directory.
31
26
 
32
- This package was tested with
33
- mypy 1.15.0,
34
- pyright 1.1.400,
35
- and pytype 2024.10.11.
27
+ This package was tested with the following type checkers:
28
+ * [mypy](https://github.com/python/mypy/) 1.18.1
29
+ * [pyright](https://github.com/microsoft/pyright) 1.1.405
30
+
36
31
  It was generated from typeshed commit
37
- [`ebf4d17c8d1ba2be348c51be39faec4d0303d8fa`](https://github.com/python/typeshed/commit/ebf4d17c8d1ba2be348c51be39faec4d0303d8fa).
32
+ [`ec184feeee93a545028833de6a1d62ffbb766f2c`](https://github.com/python/typeshed/commit/ec184feeee93a545028833de6a1d62ffbb766f2c).
38
33
  """, content-type = "text/markdown" }
39
34
  classifiers = [
40
35
  "Programming Language :: Python :: 3",
@@ -1,5 +1,6 @@
1
1
  import tkinter
2
- from typing import Any
2
+ from collections.abc import Callable
3
+ from typing import Any, Literal
3
4
 
4
5
  from ._widget import ThemedWidget
5
6
 
@@ -31,21 +32,21 @@ class ThemedTk(tkinter.Tk, ThemedWidget):
31
32
  toplevel: bool | None = ...,
32
33
  theme: str | None = ...,
33
34
  background: str = ...,
34
- bd: tkinter._ScreenUnits = ...,
35
+ bd: float | str = ...,
35
36
  bg: str = ...,
36
- border: tkinter._ScreenUnits = ...,
37
- borderwidth: tkinter._ScreenUnits = ...,
37
+ border: float | str = ...,
38
+ borderwidth: float | str = ...,
38
39
  cursor: tkinter._Cursor = ...,
39
- height: tkinter._ScreenUnits = ...,
40
+ height: float | str = ...,
40
41
  highlightbackground: str = ...,
41
42
  highlightcolor: str = ...,
42
- highlightthickness: tkinter._ScreenUnits = ...,
43
+ highlightthickness: float | str = ...,
43
44
  menu: tkinter.Menu = ...,
44
- padx: tkinter._ScreenUnits = ...,
45
- pady: tkinter._ScreenUnits = ...,
46
- relief: tkinter._Relief = ...,
47
- takefocus: tkinter._TakeFocusValue = ...,
48
- width: tkinter._ScreenUnits = ...,
45
+ padx: float | str = ...,
46
+ pady: float | str = ...,
47
+ relief: Literal["raised", "sunken", "flat", "ridge", "solid", "groove"] = ...,
48
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
49
+ width: float | str = ...,
49
50
  ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
50
51
  def cget(self, k: str) -> Any: ...
51
52
  def configure( # type: ignore[override]
@@ -56,21 +57,21 @@ class ThemedTk(tkinter.Tk, ThemedWidget):
56
57
  toplevel: bool | None = ...,
57
58
  theme: str | None = ...,
58
59
  background: str = ...,
59
- bd: tkinter._ScreenUnits = ...,
60
+ bd: float | str = ...,
60
61
  bg: str = ...,
61
- border: tkinter._ScreenUnits = ...,
62
- borderwidth: tkinter._ScreenUnits = ...,
62
+ border: float | str = ...,
63
+ borderwidth: float | str = ...,
63
64
  cursor: tkinter._Cursor = ...,
64
- height: tkinter._ScreenUnits = ...,
65
+ height: float | str = ...,
65
66
  highlightbackground: str = ...,
66
67
  highlightcolor: str = ...,
67
- highlightthickness: tkinter._ScreenUnits = ...,
68
+ highlightthickness: float | str = ...,
68
69
  menu: tkinter.Menu = ...,
69
- padx: tkinter._ScreenUnits = ...,
70
- pady: tkinter._ScreenUnits = ...,
71
- relief: tkinter._Relief = ...,
72
- takefocus: tkinter._TakeFocusValue = ...,
73
- width: tkinter._ScreenUnits = ...,
70
+ padx: float | str = ...,
71
+ pady: float | str = ...,
72
+ relief: Literal["raised", "sunken", "flat", "ridge", "solid", "groove"] = ...,
73
+ takefocus: bool | Literal[0, 1, ""] | Callable[[str], bool | None] = ...,
74
+ width: float | str = ...,
74
75
  ) -> dict[str, tuple[str, str, str, Any, Any]] | None: ...
75
76
  def __getitem__(self, k: str) -> Any: ...
76
77
  def __setitem__(self, k: str, v: Any) -> None: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: types-ttkthemes
3
- Version: 3.2.4.20250426
3
+ Version: 3.2.4.20250927
4
4
  Summary: Typing stubs for ttkthemes
5
5
  License-Expression: Apache-2.0
6
6
  Project-URL: Homepage, https://github.com/python/typeshed
@@ -17,14 +17,9 @@ Dynamic: license-file
17
17
 
18
18
  ## Typing stubs for ttkthemes
19
19
 
20
- This is a [PEP 561](https://peps.python.org/pep-0561/)
21
- type stub package for the [`ttkthemes`](https://github.com/RedFantom/ttkthemes) package.
22
- It can be used by type-checking tools like
23
- [mypy](https://github.com/python/mypy/),
24
- [pyright](https://github.com/microsoft/pyright),
25
- [pytype](https://github.com/google/pytype/),
26
- [Pyre](https://pyre-check.org/),
27
- PyCharm, etc. to check code that uses `ttkthemes`. This version of
20
+ This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html)
21
+ for the [`ttkthemes`](https://github.com/RedFantom/ttkthemes) package. It can be used by type checkers
22
+ to check code that uses `ttkthemes`. This version of
28
23
  `types-ttkthemes` aims to provide accurate annotations for
29
24
  `ttkthemes==3.2.*`.
30
25
 
@@ -35,9 +30,9 @@ for more details. The source for this package can be found in the
35
30
  [`stubs/ttkthemes`](https://github.com/python/typeshed/tree/main/stubs/ttkthemes)
36
31
  directory.
37
32
 
38
- This package was tested with
39
- mypy 1.15.0,
40
- pyright 1.1.400,
41
- and pytype 2024.10.11.
33
+ This package was tested with the following type checkers:
34
+ * [mypy](https://github.com/python/mypy/) 1.18.1
35
+ * [pyright](https://github.com/microsoft/pyright) 1.1.405
36
+
42
37
  It was generated from typeshed commit
43
- [`ebf4d17c8d1ba2be348c51be39faec4d0303d8fa`](https://github.com/python/typeshed/commit/ebf4d17c8d1ba2be348c51be39faec4d0303d8fa).
38
+ [`ec184feeee93a545028833de6a1d62ffbb766f2c`](https://github.com/python/typeshed/commit/ec184feeee93a545028833de6a1d62ffbb766f2c).
@@ -1,26 +0,0 @@
1
- ## Typing stubs for ttkthemes
2
-
3
- This is a [PEP 561](https://peps.python.org/pep-0561/)
4
- type stub package for the [`ttkthemes`](https://github.com/RedFantom/ttkthemes) package.
5
- It can be used by type-checking tools like
6
- [mypy](https://github.com/python/mypy/),
7
- [pyright](https://github.com/microsoft/pyright),
8
- [pytype](https://github.com/google/pytype/),
9
- [Pyre](https://pyre-check.org/),
10
- PyCharm, etc. to check code that uses `ttkthemes`. This version of
11
- `types-ttkthemes` aims to provide accurate annotations for
12
- `ttkthemes==3.2.*`.
13
-
14
- This package is part of the [typeshed project](https://github.com/python/typeshed).
15
- All fixes for types and metadata should be contributed there.
16
- See [the README](https://github.com/python/typeshed/blob/main/README.md)
17
- for more details. The source for this package can be found in the
18
- [`stubs/ttkthemes`](https://github.com/python/typeshed/tree/main/stubs/ttkthemes)
19
- directory.
20
-
21
- This package was tested with
22
- mypy 1.15.0,
23
- pyright 1.1.400,
24
- and pytype 2024.10.11.
25
- It was generated from typeshed commit
26
- [`ebf4d17c8d1ba2be348c51be39faec4d0303d8fa`](https://github.com/python/typeshed/commit/ebf4d17c8d1ba2be348c51be39faec4d0303d8fa).