winrt-Windows.UI.Text.Core 2.0.0b1__tar.gz → 2.0.1__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 (21) hide show
  1. {winrt-Windows.UI.Text.Core-2.0.0b1 → winrt_windows_ui_text_core-2.0.1}/PKG-INFO +9 -2
  2. winrt_windows_ui_text_core-2.0.1/all-requirements.txt +7 -0
  3. {winrt-Windows.UI.Text.Core-2.0.0b1 → winrt_windows_ui_text_core-2.0.1}/py.Windows.UI.Text.Core.cpp +1 -1
  4. {winrt-Windows.UI.Text.Core-2.0.0b1 → winrt_windows_ui_text_core-2.0.1}/pyproject.toml +7 -4
  5. winrt_windows_ui_text_core-2.0.1/pywinrt-version.txt +1 -0
  6. {winrt-Windows.UI.Text.Core-2.0.0b1 → winrt_windows_ui_text_core-2.0.1}/requirements.txt +2 -2
  7. winrt_windows_ui_text_core-2.0.1/setup.py +31 -0
  8. {winrt-Windows.UI.Text.Core-2.0.0b1 → winrt_windows_ui_text_core-2.0.1}/winrt/_winrt_windows_ui_text_core.pyi +20 -1
  9. {winrt-Windows.UI.Text.Core-2.0.0b1 → winrt_windows_ui_text_core-2.0.1}/winrt/windows/ui/text/core/__init__.py +1 -1
  10. winrt_windows_ui_text_core-2.0.1/winrt/windows/ui/text/core/py.typed +0 -0
  11. {winrt-Windows.UI.Text.Core-2.0.0b1 → winrt_windows_ui_text_core-2.0.1}/winrt_Windows.UI.Text.Core.egg-info/PKG-INFO +9 -2
  12. {winrt-Windows.UI.Text.Core-2.0.0b1 → winrt_windows_ui_text_core-2.0.1}/winrt_Windows.UI.Text.Core.egg-info/SOURCES.txt +1 -0
  13. winrt_windows_ui_text_core-2.0.1/winrt_Windows.UI.Text.Core.egg-info/requires.txt +8 -0
  14. winrt-Windows.UI.Text.Core-2.0.0b1/all-requirements.txt +0 -7
  15. winrt-Windows.UI.Text.Core-2.0.0b1/pywinrt-version.txt +0 -1
  16. winrt-Windows.UI.Text.Core-2.0.0b1/setup.py +0 -17
  17. winrt-Windows.UI.Text.Core-2.0.0b1/winrt_Windows.UI.Text.Core.egg-info/requires.txt +0 -8
  18. {winrt-Windows.UI.Text.Core-2.0.0b1 → winrt_windows_ui_text_core-2.0.1}/README.md +0 -0
  19. {winrt-Windows.UI.Text.Core-2.0.0b1 → winrt_windows_ui_text_core-2.0.1}/setup.cfg +0 -0
  20. {winrt-Windows.UI.Text.Core-2.0.0b1 → winrt_windows_ui_text_core-2.0.1}/winrt_Windows.UI.Text.Core.egg-info/dependency_links.txt +0 -0
  21. {winrt-Windows.UI.Text.Core-2.0.0b1 → winrt_windows_ui_text_core-2.0.1}/winrt_Windows.UI.Text.Core.egg-info/top_level.txt +0 -0
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.UI.Text.Core
3
- Version: 2.0.0b1
3
+ Version: 2.0.1
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
- Project-URL: Repository, https://github.com/pywrint/pywrinrt
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
8
  Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
9
  Classifier: Operating System :: Microsoft :: Windows
9
10
  Classifier: Programming Language :: Python :: 3
@@ -11,7 +12,13 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
11
12
  Classifier: Intended Audience :: Developers
12
13
  Requires-Python: <3.13,>=3.9
13
14
  Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime==2.0.1
14
16
  Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
19
+ Requires-Dist: winrt-Windows.Globalization[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.UI.Text[all]==2.0.1; extra == "all"
21
+ Requires-Dist: winrt-Windows.UI.ViewManagement[all]==2.0.1; extra == "all"
15
22
 
16
23
  <!-- warning: Please don't edit this file. It was automatically generated. -->
17
24
 
@@ -0,0 +1,7 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
+
3
+ winrt-Windows.Foundation[all]==2.0.1
4
+ winrt-Windows.Foundation.Collections[all]==2.0.1
5
+ winrt-Windows.Globalization[all]==2.0.1
6
+ winrt-Windows.UI.Text[all]==2.0.1
7
+ winrt-Windows.UI.ViewManagement[all]==2.0.1
@@ -1,4 +1,4 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
3
  #include "py.Windows.UI.Text.Core.h"
4
4
 
@@ -1,7 +1,7 @@
1
1
  # WARNING: Please don't edit this file. It was automatically generated.
2
2
 
3
3
  [build-system]
4
- requires = ["setuptools", "setuptools-scm", "winrt-sdk"]
4
+ requires = ["setuptools", "winrt-sdk"]
5
5
  build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
@@ -19,9 +19,9 @@ dynamic = ["version", "dependencies", "optional-dependencies"]
19
19
  requires-python = ">=3.9,<3.13"
20
20
 
21
21
  [project.urls]
22
- # Homepage = "https://github.com/pywrint/pywrinrt"
23
- # Documentation = "https://readthedocs.org"
24
- Repository = "https://github.com/pywrint/pywrinrt"
22
+ # Homepage = "https://github.com/pywinrt/pywinrt"
23
+ Documentation = "https://pywinrt.readthedocs.io"
24
+ Repository = "https://github.com/pywinrt/pywinrt"
25
25
  Changelog = "https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md"
26
26
 
27
27
  [tool.setuptools.dynamic]
@@ -29,6 +29,9 @@ version = { file = "pywinrt-version.txt" }
29
29
  dependencies = { file = "requirements.txt" }
30
30
  optional-dependencies.all = { file = "all-requirements.txt" }
31
31
 
32
+ [tool.setuptools.package-data]
33
+ "*" = ["*.pyi", "py.typed"]
34
+
32
35
  [tool.cibuildwheel]
33
36
  # use local winrt-sdk build dependency
34
37
  environment = { PYTHONPATH="../winrt-sdk/src" }
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
- winrt-runtime==2.0.0-beta.1
3
+ winrt-runtime==2.0.1
@@ -0,0 +1,31 @@
1
+ # WARNING: Please don't edit this file. It was automatically generated.
2
+
3
+ from setuptools import Extension, setup
4
+ from setuptools.command.build_ext import build_ext
5
+ from winrt_sdk import get_include_dirs
6
+
7
+
8
+ class build_ext_ex(build_ext):
9
+ def build_extension(self, ext):
10
+ if self.compiler.compiler_type == "msvc":
11
+ ext.extra_compile_args = ["/std:c++20", "/permissive-"]
12
+ elif self.compiler.compiler_type == "mingw32":
13
+ ext.extra_compile_args = ["-std=c++20", "-D_WIN32_WINNT=_WIN32_WINNT_WIN10"]
14
+ ext.extra_link_args = ["-loleaut32"]
15
+ else:
16
+ raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
17
+
18
+ build_ext.build_extension(self, ext)
19
+
20
+
21
+ setup(
22
+ cmdclass = {'build_ext': build_ext_ex},
23
+ ext_modules=[
24
+ Extension(
25
+ "winrt._winrt_windows_ui_text_core",
26
+ sources=["py.Windows.UI.Text.Core.cpp"],
27
+ include_dirs=get_include_dirs(),
28
+ libraries=["windowsapp"],
29
+ )
30
+ ],
31
+ )
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -19,11 +19,13 @@ from winrt.windows.ui.text.core import CoreTextFormatUpdatingReason, CoreTextFor
19
19
 
20
20
  Self = typing.TypeVar('Self')
21
21
 
22
+ @typing.final
22
23
  class CoreTextRange:
23
24
  start_caret_position: winrt.system.Int32
24
25
  end_caret_position: winrt.system.Int32
25
26
  def __init__(self, start_caret_position: winrt.system.Int32, end_caret_position: winrt.system.Int32) -> None: ...
26
27
 
28
+ @typing.final
27
29
  class CoreTextCompositionCompletedEventArgs(winrt.system.Object):
28
30
  @staticmethod
29
31
  def _from(obj: winrt.system.Object, /) -> CoreTextCompositionCompletedEventArgs: ...
@@ -33,6 +35,7 @@ class CoreTextCompositionCompletedEventArgs(winrt.system.Object):
33
35
  @_property
34
36
  def is_canceled(self) -> bool: ...
35
37
 
38
+ @typing.final
36
39
  class CoreTextCompositionSegment(winrt.system.Object):
37
40
  @staticmethod
38
41
  def _from(obj: winrt.system.Object, /) -> CoreTextCompositionSegment: ...
@@ -41,6 +44,7 @@ class CoreTextCompositionSegment(winrt.system.Object):
41
44
  @_property
42
45
  def range(self) -> CoreTextRange: ...
43
46
 
47
+ @typing.final
44
48
  class CoreTextCompositionStartedEventArgs(winrt.system.Object):
45
49
  @staticmethod
46
50
  def _from(obj: winrt.system.Object, /) -> CoreTextCompositionStartedEventArgs: ...
@@ -48,6 +52,7 @@ class CoreTextCompositionStartedEventArgs(winrt.system.Object):
48
52
  @_property
49
53
  def is_canceled(self) -> bool: ...
50
54
 
55
+ @typing.final
51
56
  class CoreTextEditContext(winrt.system.Object):
52
57
  @staticmethod
53
58
  def _from(obj: winrt.system.Object, /) -> CoreTextEditContext: ...
@@ -93,6 +98,7 @@ class CoreTextEditContext(winrt.system.Object):
93
98
  @input_pane_display_policy.setter
94
99
  def input_pane_display_policy(self, value: CoreTextInputPaneDisplayPolicy) -> None: ...
95
100
 
101
+ @typing.final
96
102
  class CoreTextFormatUpdatingEventArgs(winrt.system.Object):
97
103
  @staticmethod
98
104
  def _from(obj: winrt.system.Object, /) -> CoreTextFormatUpdatingEventArgs: ...
@@ -116,6 +122,7 @@ class CoreTextFormatUpdatingEventArgs(winrt.system.Object):
116
122
  @_property
117
123
  def underline_type(self) -> typing.Optional[typing.Optional[winrt.windows.ui.text.UnderlineType]]: ...
118
124
 
125
+ @typing.final
119
126
  class CoreTextLayoutBounds(winrt.system.Object):
120
127
  @staticmethod
121
128
  def _from(obj: winrt.system.Object, /) -> CoreTextLayoutBounds: ...
@@ -128,6 +135,7 @@ class CoreTextLayoutBounds(winrt.system.Object):
128
135
  @control_bounds.setter
129
136
  def control_bounds(self, value: winrt.windows.foundation.Rect) -> None: ...
130
137
 
138
+ @typing.final
131
139
  class CoreTextLayoutRequest(winrt.system.Object):
132
140
  @staticmethod
133
141
  def _from(obj: winrt.system.Object, /) -> CoreTextLayoutRequest: ...
@@ -141,12 +149,14 @@ class CoreTextLayoutRequest(winrt.system.Object):
141
149
  @_property
142
150
  def layout_bounds_visual_pixels(self) -> typing.Optional[CoreTextLayoutBounds]: ...
143
151
 
152
+ @typing.final
144
153
  class CoreTextLayoutRequestedEventArgs(winrt.system.Object):
145
154
  @staticmethod
146
155
  def _from(obj: winrt.system.Object, /) -> CoreTextLayoutRequestedEventArgs: ...
147
156
  @_property
148
157
  def request(self) -> typing.Optional[CoreTextLayoutRequest]: ...
149
158
 
159
+ @typing.final
150
160
  class CoreTextSelectionRequest(winrt.system.Object):
151
161
  @staticmethod
152
162
  def _from(obj: winrt.system.Object, /) -> CoreTextSelectionRequest: ...
@@ -158,12 +168,14 @@ class CoreTextSelectionRequest(winrt.system.Object):
158
168
  @_property
159
169
  def is_canceled(self) -> bool: ...
160
170
 
171
+ @typing.final
161
172
  class CoreTextSelectionRequestedEventArgs(winrt.system.Object):
162
173
  @staticmethod
163
174
  def _from(obj: winrt.system.Object, /) -> CoreTextSelectionRequestedEventArgs: ...
164
175
  @_property
165
176
  def request(self) -> typing.Optional[CoreTextSelectionRequest]: ...
166
177
 
178
+ @typing.final
167
179
  class CoreTextSelectionUpdatingEventArgs(winrt.system.Object):
168
180
  @staticmethod
169
181
  def _from(obj: winrt.system.Object, /) -> CoreTextSelectionUpdatingEventArgs: ...
@@ -177,17 +189,21 @@ class CoreTextSelectionUpdatingEventArgs(winrt.system.Object):
177
189
  @_property
178
190
  def selection(self) -> CoreTextRange: ...
179
191
 
192
+ @typing.final
180
193
  class CoreTextServicesConstants_Static(type):
181
194
  @_property
182
195
  def hidden_character(cls) -> winrt.system.Char16: ...
183
196
 
197
+ @typing.final
184
198
  class CoreTextServicesConstants(winrt.system.Object, metaclass=CoreTextServicesConstants_Static):
185
199
  @staticmethod
186
200
  def _from(obj: winrt.system.Object, /) -> CoreTextServicesConstants: ...
187
201
 
202
+ @typing.final
188
203
  class CoreTextServicesManager_Static(type):
189
204
  def get_for_current_view(cls) -> typing.Optional[CoreTextServicesManager]: ...
190
205
 
206
+ @typing.final
191
207
  class CoreTextServicesManager(winrt.system.Object, metaclass=CoreTextServicesManager_Static):
192
208
  @staticmethod
193
209
  def _from(obj: winrt.system.Object, /) -> CoreTextServicesManager: ...
@@ -197,6 +213,7 @@ class CoreTextServicesManager(winrt.system.Object, metaclass=CoreTextServicesMan
197
213
  @_property
198
214
  def input_language(self) -> typing.Optional[winrt.windows.globalization.Language]: ...
199
215
 
216
+ @typing.final
200
217
  class CoreTextTextRequest(winrt.system.Object):
201
218
  @staticmethod
202
219
  def _from(obj: winrt.system.Object, /) -> CoreTextTextRequest: ...
@@ -210,12 +227,14 @@ class CoreTextTextRequest(winrt.system.Object):
210
227
  @_property
211
228
  def range(self) -> CoreTextRange: ...
212
229
 
230
+ @typing.final
213
231
  class CoreTextTextRequestedEventArgs(winrt.system.Object):
214
232
  @staticmethod
215
233
  def _from(obj: winrt.system.Object, /) -> CoreTextTextRequestedEventArgs: ...
216
234
  @_property
217
235
  def request(self) -> typing.Optional[CoreTextTextRequest]: ...
218
236
 
237
+ @typing.final
219
238
  class CoreTextTextUpdatingEventArgs(winrt.system.Object):
220
239
  @staticmethod
221
240
  def _from(obj: winrt.system.Object, /) -> CoreTextTextUpdatingEventArgs: ...
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
3
  import enum
4
4
 
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.UI.Text.Core
3
- Version: 2.0.0b1
3
+ Version: 2.0.1
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
- Project-URL: Repository, https://github.com/pywrint/pywrinrt
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
8
  Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
9
  Classifier: Operating System :: Microsoft :: Windows
9
10
  Classifier: Programming Language :: Python :: 3
@@ -11,7 +12,13 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
11
12
  Classifier: Intended Audience :: Developers
12
13
  Requires-Python: <3.13,>=3.9
13
14
  Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime==2.0.1
14
16
  Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
19
+ Requires-Dist: winrt-Windows.Globalization[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.UI.Text[all]==2.0.1; extra == "all"
21
+ Requires-Dist: winrt-Windows.UI.ViewManagement[all]==2.0.1; extra == "all"
15
22
 
16
23
  <!-- warning: Please don't edit this file. It was automatically generated. -->
17
24
 
@@ -7,6 +7,7 @@ requirements.txt
7
7
  setup.py
8
8
  winrt/_winrt_windows_ui_text_core.pyi
9
9
  winrt/windows/ui/text/core/__init__.py
10
+ winrt/windows/ui/text/core/py.typed
10
11
  winrt_Windows.UI.Text.Core.egg-info/PKG-INFO
11
12
  winrt_Windows.UI.Text.Core.egg-info/SOURCES.txt
12
13
  winrt_Windows.UI.Text.Core.egg-info/dependency_links.txt
@@ -0,0 +1,8 @@
1
+ winrt-runtime==2.0.1
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==2.0.1
5
+ winrt-Windows.Foundation.Collections[all]==2.0.1
6
+ winrt-Windows.Globalization[all]==2.0.1
7
+ winrt-Windows.UI.Text[all]==2.0.1
8
+ winrt-Windows.UI.ViewManagement[all]==2.0.1
@@ -1,7 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
-
3
- winrt-Windows.Foundation[all]==2.0.0-beta.1
4
- winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
5
- winrt-Windows.Globalization[all]==2.0.0-beta.1
6
- winrt-Windows.UI.Text[all]==2.0.0-beta.1
7
- winrt-Windows.UI.ViewManagement[all]==2.0.0-beta.1
@@ -1 +0,0 @@
1
- 2.0.0-beta.1
@@ -1,17 +0,0 @@
1
- # WARNING: Please don't edit this file. It was automatically generated.
2
-
3
- from setuptools import Extension, setup
4
- from winrt_sdk import get_include_dirs
5
-
6
- setup(
7
- ext_modules=[
8
- Extension(
9
- "winrt._winrt_windows_ui_text_core",
10
- sources=["py.Windows.UI.Text.Core.cpp"],
11
- include_dirs=get_include_dirs(),
12
- extra_compile_args=["/std:c++20", "/permissive-"],
13
- libraries=["windowsapp"],
14
- )
15
- ],
16
- package_data={"winrt": ["*.pyi"]},
17
- )
@@ -1,8 +0,0 @@
1
- winrt-runtime==2.0.0-beta.1
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==2.0.0-beta.1
5
- winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
6
- winrt-Windows.Globalization[all]==2.0.0-beta.1
7
- winrt-Windows.UI.Text[all]==2.0.0-beta.1
8
- winrt-Windows.UI.ViewManagement[all]==2.0.0-beta.1