winrt-Windows.System 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 (23) hide show
  1. winrt_windows_system-2.0.1/PKG-INFO +34 -0
  2. winrt_windows_system-2.0.1/all-requirements.txt +12 -0
  3. {winrt-Windows.System-2.0.0b1 → winrt_windows_system-2.0.1}/py.Windows.System.cpp +1 -1
  4. {winrt-Windows.System-2.0.0b1 → winrt_windows_system-2.0.1}/pyproject.toml +7 -4
  5. winrt_windows_system-2.0.1/pywinrt-version.txt +1 -0
  6. {winrt-Windows.System-2.0.0b1 → winrt_windows_system-2.0.1}/requirements.txt +2 -2
  7. winrt_windows_system-2.0.1/setup.py +31 -0
  8. {winrt-Windows.System-2.0.0b1 → winrt_windows_system-2.0.1}/winrt/_winrt_windows_system.pyi +63 -1
  9. {winrt-Windows.System-2.0.0b1 → winrt_windows_system-2.0.1}/winrt/windows/system/__init__.py +1 -1
  10. winrt_windows_system-2.0.1/winrt/windows/system/py.typed +0 -0
  11. winrt_windows_system-2.0.1/winrt_Windows.System.egg-info/PKG-INFO +34 -0
  12. {winrt-Windows.System-2.0.0b1 → winrt_windows_system-2.0.1}/winrt_Windows.System.egg-info/SOURCES.txt +1 -0
  13. winrt_windows_system-2.0.1/winrt_Windows.System.egg-info/requires.txt +13 -0
  14. winrt-Windows.System-2.0.0b1/PKG-INFO +0 -22
  15. winrt-Windows.System-2.0.0b1/all-requirements.txt +0 -12
  16. winrt-Windows.System-2.0.0b1/pywinrt-version.txt +0 -1
  17. winrt-Windows.System-2.0.0b1/setup.py +0 -17
  18. winrt-Windows.System-2.0.0b1/winrt_Windows.System.egg-info/PKG-INFO +0 -22
  19. winrt-Windows.System-2.0.0b1/winrt_Windows.System.egg-info/requires.txt +0 -13
  20. {winrt-Windows.System-2.0.0b1 → winrt_windows_system-2.0.1}/README.md +0 -0
  21. {winrt-Windows.System-2.0.0b1 → winrt_windows_system-2.0.1}/setup.cfg +0 -0
  22. {winrt-Windows.System-2.0.0b1 → winrt_windows_system-2.0.1}/winrt_Windows.System.egg-info/dependency_links.txt +0 -0
  23. {winrt-Windows.System-2.0.0b1 → winrt_windows_system-2.0.1}/winrt_Windows.System.egg-info/top_level.txt +0 -0
@@ -0,0 +1,34 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.System
3
+ Version: 2.0.1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: <3.13,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime==2.0.1
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.ApplicationModel[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.Storage[all]==2.0.1; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage.Search[all]==2.0.1; extra == "all"
22
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
23
+ Requires-Dist: winrt-Windows.System.Diagnostics[all]==2.0.1; extra == "all"
24
+ Requires-Dist: winrt-Windows.System.RemoteSystems[all]==2.0.1; extra == "all"
25
+ Requires-Dist: winrt-Windows.UI.Popups[all]==2.0.1; extra == "all"
26
+ Requires-Dist: winrt-Windows.UI.ViewManagement[all]==2.0.1; extra == "all"
27
+
28
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
29
+
30
+ # winrt-Windows.System
31
+
32
+ Windows Runtime (WinRT) APIs for for the `Windows.System` namespace.
33
+
34
+ This package provides the `winrt.windows.system` module.
@@ -0,0 +1,12 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
+
3
+ winrt-Windows.ApplicationModel[all]==2.0.1
4
+ winrt-Windows.Foundation[all]==2.0.1
5
+ winrt-Windows.Foundation.Collections[all]==2.0.1
6
+ winrt-Windows.Storage[all]==2.0.1
7
+ winrt-Windows.Storage.Search[all]==2.0.1
8
+ winrt-Windows.Storage.Streams[all]==2.0.1
9
+ winrt-Windows.System.Diagnostics[all]==2.0.1
10
+ winrt-Windows.System.RemoteSystems[all]==2.0.1
11
+ winrt-Windows.UI.Popups[all]==2.0.1
12
+ 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.System.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" }
@@ -0,0 +1 @@
1
+ 2.0.1
@@ -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_system",
26
+ sources=["py.Windows.System.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
@@ -25,6 +25,7 @@ from winrt.windows.system import DispatcherQueueHandler
25
25
 
26
26
  Self = typing.TypeVar('Self')
27
27
 
28
+ @typing.final
28
29
  class AppActivationResult(winrt.system.Object):
29
30
  @staticmethod
30
31
  def _from(obj: winrt.system.Object, /) -> AppActivationResult: ...
@@ -33,6 +34,7 @@ class AppActivationResult(winrt.system.Object):
33
34
  @_property
34
35
  def extended_error(self) -> winrt.windows.foundation.HResult: ...
35
36
 
37
+ @typing.final
36
38
  class AppDiagnosticInfo_Static(type):
37
39
  def create_watcher(cls) -> typing.Optional[AppDiagnosticInfoWatcher]: ...
38
40
  def request_access_async(cls) -> winrt.windows.foundation.IAsyncOperation[DiagnosticAccessStatus]: ...
@@ -43,6 +45,7 @@ class AppDiagnosticInfo_Static(type):
43
45
  def request_info_for_app_async(cls, app_user_model_id: str, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVector[AppDiagnosticInfo]]: ...
44
46
  def request_info_for_package_async(cls, package_family_name: str, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVector[AppDiagnosticInfo]]: ...
45
47
 
48
+ @typing.final
46
49
  class AppDiagnosticInfo(winrt.system.Object, metaclass=AppDiagnosticInfo_Static):
47
50
  @staticmethod
48
51
  def _from(obj: winrt.system.Object, /) -> AppDiagnosticInfo: ...
@@ -52,6 +55,7 @@ class AppDiagnosticInfo(winrt.system.Object, metaclass=AppDiagnosticInfo_Static)
52
55
  @_property
53
56
  def app_info(self) -> typing.Optional[winrt.windows.applicationmodel.AppInfo]: ...
54
57
 
58
+ @typing.final
55
59
  class AppDiagnosticInfoWatcher(winrt.system.Object):
56
60
  @staticmethod
57
61
  def _from(obj: winrt.system.Object, /) -> AppDiagnosticInfoWatcher: ...
@@ -68,18 +72,21 @@ class AppDiagnosticInfoWatcher(winrt.system.Object):
68
72
  @_property
69
73
  def status(self) -> AppDiagnosticInfoWatcherStatus: ...
70
74
 
75
+ @typing.final
71
76
  class AppDiagnosticInfoWatcherEventArgs(winrt.system.Object):
72
77
  @staticmethod
73
78
  def _from(obj: winrt.system.Object, /) -> AppDiagnosticInfoWatcherEventArgs: ...
74
79
  @_property
75
80
  def app_diagnostic_info(self) -> typing.Optional[AppDiagnosticInfo]: ...
76
81
 
82
+ @typing.final
77
83
  class AppExecutionStateChangeResult(winrt.system.Object):
78
84
  @staticmethod
79
85
  def _from(obj: winrt.system.Object, /) -> AppExecutionStateChangeResult: ...
80
86
  @_property
81
87
  def extended_error(self) -> winrt.windows.foundation.HResult: ...
82
88
 
89
+ @typing.final
83
90
  class AppMemoryReport(winrt.system.Object):
84
91
  @staticmethod
85
92
  def _from(obj: winrt.system.Object, /) -> AppMemoryReport: ...
@@ -94,6 +101,7 @@ class AppMemoryReport(winrt.system.Object):
94
101
  @_property
95
102
  def expected_total_commit_limit(self) -> winrt.system.UInt64: ...
96
103
 
104
+ @typing.final
97
105
  class AppMemoryUsageLimitChangingEventArgs(winrt.system.Object):
98
106
  @staticmethod
99
107
  def _from(obj: winrt.system.Object, /) -> AppMemoryUsageLimitChangingEventArgs: ...
@@ -102,6 +110,7 @@ class AppMemoryUsageLimitChangingEventArgs(winrt.system.Object):
102
110
  @_property
103
111
  def old_limit(self) -> winrt.system.UInt64: ...
104
112
 
113
+ @typing.final
105
114
  class AppResourceGroupBackgroundTaskReport(winrt.system.Object):
106
115
  @staticmethod
107
116
  def _from(obj: winrt.system.Object, /) -> AppResourceGroupBackgroundTaskReport: ...
@@ -114,6 +123,7 @@ class AppResourceGroupBackgroundTaskReport(winrt.system.Object):
114
123
  @_property
115
124
  def trigger(self) -> str: ...
116
125
 
126
+ @typing.final
117
127
  class AppResourceGroupInfo(winrt.system.Object):
118
128
  @staticmethod
119
129
  def _from(obj: winrt.system.Object, /) -> AppResourceGroupInfo: ...
@@ -129,6 +139,7 @@ class AppResourceGroupInfo(winrt.system.Object):
129
139
  @_property
130
140
  def is_shared(self) -> bool: ...
131
141
 
142
+ @typing.final
132
143
  class AppResourceGroupInfoWatcher(winrt.system.Object):
133
144
  @staticmethod
134
145
  def _from(obj: winrt.system.Object, /) -> AppResourceGroupInfoWatcher: ...
@@ -147,6 +158,7 @@ class AppResourceGroupInfoWatcher(winrt.system.Object):
147
158
  @_property
148
159
  def status(self) -> AppResourceGroupInfoWatcherStatus: ...
149
160
 
161
+ @typing.final
150
162
  class AppResourceGroupInfoWatcherEventArgs(winrt.system.Object):
151
163
  @staticmethod
152
164
  def _from(obj: winrt.system.Object, /) -> AppResourceGroupInfoWatcherEventArgs: ...
@@ -155,6 +167,7 @@ class AppResourceGroupInfoWatcherEventArgs(winrt.system.Object):
155
167
  @_property
156
168
  def app_resource_group_info(self) -> typing.Optional[AppResourceGroupInfo]: ...
157
169
 
170
+ @typing.final
158
171
  class AppResourceGroupInfoWatcherExecutionStateChangedEventArgs(winrt.system.Object):
159
172
  @staticmethod
160
173
  def _from(obj: winrt.system.Object, /) -> AppResourceGroupInfoWatcherExecutionStateChangedEventArgs: ...
@@ -163,6 +176,7 @@ class AppResourceGroupInfoWatcherExecutionStateChangedEventArgs(winrt.system.Obj
163
176
  @_property
164
177
  def app_resource_group_info(self) -> typing.Optional[AppResourceGroupInfo]: ...
165
178
 
179
+ @typing.final
166
180
  class AppResourceGroupMemoryReport(winrt.system.Object):
167
181
  @staticmethod
168
182
  def _from(obj: winrt.system.Object, /) -> AppResourceGroupMemoryReport: ...
@@ -175,6 +189,7 @@ class AppResourceGroupMemoryReport(winrt.system.Object):
175
189
  @_property
176
190
  def total_commit_usage(self) -> winrt.system.UInt64: ...
177
191
 
192
+ @typing.final
178
193
  class AppResourceGroupStateReport(winrt.system.Object):
179
194
  @staticmethod
180
195
  def _from(obj: winrt.system.Object, /) -> AppResourceGroupStateReport: ...
@@ -183,6 +198,7 @@ class AppResourceGroupStateReport(winrt.system.Object):
183
198
  @_property
184
199
  def execution_state(self) -> AppResourceGroupExecutionState: ...
185
200
 
201
+ @typing.final
186
202
  class AppUriHandlerHost(winrt.system.Object):
187
203
  @staticmethod
188
204
  def _from(obj: winrt.system.Object, /) -> AppUriHandlerHost: ...
@@ -199,6 +215,7 @@ class AppUriHandlerHost(winrt.system.Object):
199
215
  @is_enabled.setter
200
216
  def is_enabled(self, value: bool) -> None: ...
201
217
 
218
+ @typing.final
202
219
  class AppUriHandlerRegistration(winrt.system.Object):
203
220
  @staticmethod
204
221
  def _from(obj: winrt.system.Object, /) -> AppUriHandlerRegistration: ...
@@ -213,12 +230,14 @@ class AppUriHandlerRegistration(winrt.system.Object):
213
230
  @_property
214
231
  def package_family_name(self) -> str: ...
215
232
 
233
+ @typing.final
216
234
  class AppUriHandlerRegistrationManager_Static(type):
217
235
  def get_default(cls) -> typing.Optional[AppUriHandlerRegistrationManager]: ...
218
236
  def get_for_package(cls, package_family_name: str, /) -> typing.Optional[AppUriHandlerRegistrationManager]: ...
219
237
  def get_for_package_for_user(cls, package_family_name: str, user: typing.Optional[User], /) -> typing.Optional[AppUriHandlerRegistrationManager]: ...
220
238
  def get_for_user(cls, user: typing.Optional[User], /) -> typing.Optional[AppUriHandlerRegistrationManager]: ...
221
239
 
240
+ @typing.final
222
241
  class AppUriHandlerRegistrationManager(winrt.system.Object, metaclass=AppUriHandlerRegistrationManager_Static):
223
242
  @staticmethod
224
243
  def _from(obj: winrt.system.Object, /) -> AppUriHandlerRegistrationManager: ...
@@ -228,16 +247,20 @@ class AppUriHandlerRegistrationManager(winrt.system.Object, metaclass=AppUriHand
228
247
  @_property
229
248
  def package_family_name(self) -> str: ...
230
249
 
250
+ @typing.final
231
251
  class DateTimeSettings_Static(type):
232
252
  def set_system_date_time(cls, utc_date_time: datetime.datetime, /) -> None: ...
233
253
 
254
+ @typing.final
234
255
  class DateTimeSettings(winrt.system.Object, metaclass=DateTimeSettings_Static):
235
256
  @staticmethod
236
257
  def _from(obj: winrt.system.Object, /) -> DateTimeSettings: ...
237
258
 
259
+ @typing.final
238
260
  class DispatcherQueue_Static(type):
239
261
  def get_for_current_thread(cls) -> typing.Optional[DispatcherQueue]: ...
240
262
 
263
+ @typing.final
241
264
  class DispatcherQueue(winrt.system.Object, metaclass=DispatcherQueue_Static):
242
265
  @staticmethod
243
266
  def _from(obj: winrt.system.Object, /) -> DispatcherQueue: ...
@@ -253,9 +276,11 @@ class DispatcherQueue(winrt.system.Object, metaclass=DispatcherQueue_Static):
253
276
  @_property
254
277
  def has_thread_access(self) -> bool: ...
255
278
 
279
+ @typing.final
256
280
  class DispatcherQueueController_Static(type):
257
281
  def create_on_dedicated_thread(cls) -> typing.Optional[DispatcherQueueController]: ...
258
282
 
283
+ @typing.final
259
284
  class DispatcherQueueController(winrt.system.Object, metaclass=DispatcherQueueController_Static):
260
285
  @staticmethod
261
286
  def _from(obj: winrt.system.Object, /) -> DispatcherQueueController: ...
@@ -263,11 +288,13 @@ class DispatcherQueueController(winrt.system.Object, metaclass=DispatcherQueueCo
263
288
  @_property
264
289
  def dispatcher_queue(self) -> typing.Optional[DispatcherQueue]: ...
265
290
 
291
+ @typing.final
266
292
  class DispatcherQueueShutdownStartingEventArgs(winrt.system.Object):
267
293
  @staticmethod
268
294
  def _from(obj: winrt.system.Object, /) -> DispatcherQueueShutdownStartingEventArgs: ...
269
295
  def get_deferral(self) -> typing.Optional[winrt.windows.foundation.Deferral]: ...
270
296
 
297
+ @typing.final
271
298
  class DispatcherQueueTimer(winrt.system.Object):
272
299
  @staticmethod
273
300
  def _from(obj: winrt.system.Object, /) -> DispatcherQueueTimer: ...
@@ -286,6 +313,7 @@ class DispatcherQueueTimer(winrt.system.Object):
286
313
  @_property
287
314
  def is_running(self) -> bool: ...
288
315
 
316
+ @typing.final
289
317
  class FolderLauncherOptions(winrt.system.Object):
290
318
  @staticmethod
291
319
  def _from(obj: winrt.system.Object, /) -> FolderLauncherOptions: ...
@@ -297,6 +325,7 @@ class FolderLauncherOptions(winrt.system.Object):
297
325
  @desired_remaining_view.setter
298
326
  def desired_remaining_view(self, value: winrt.windows.ui.viewmanagement.ViewSizePreference) -> None: ...
299
327
 
328
+ @typing.final
300
329
  class KnownUserProperties_Static(type):
301
330
  @_property
302
331
  def account_name(cls) -> str: ...
@@ -319,10 +348,12 @@ class KnownUserProperties_Static(type):
319
348
  @_property
320
349
  def age_enforcement_region(cls) -> str: ...
321
350
 
351
+ @typing.final
322
352
  class KnownUserProperties(winrt.system.Object, metaclass=KnownUserProperties_Static):
323
353
  @staticmethod
324
354
  def _from(obj: winrt.system.Object, /) -> KnownUserProperties: ...
325
355
 
356
+ @typing.final
326
357
  class LaunchUriResult(winrt.system.Object):
327
358
  @staticmethod
328
359
  def _from(obj: winrt.system.Object, /) -> LaunchUriResult: ...
@@ -331,6 +362,7 @@ class LaunchUriResult(winrt.system.Object):
331
362
  @_property
332
363
  def status(self) -> LaunchUriStatus: ...
333
364
 
365
+ @typing.final
334
366
  class Launcher_Static(type):
335
367
  def find_app_uri_handlers_async(cls, uri: typing.Optional[winrt.windows.foundation.Uri], /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[winrt.windows.applicationmodel.AppInfo]]: ...
336
368
  def find_file_handlers_async(cls, extension: str, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[winrt.windows.applicationmodel.AppInfo]]: ...
@@ -387,10 +419,12 @@ class Launcher_Static(type):
387
419
  @typing.overload
388
420
  def query_uri_support_async(cls, uri: typing.Optional[winrt.windows.foundation.Uri], launch_query_support_type: LaunchQuerySupportType, package_family_name: str, /) -> winrt.windows.foundation.IAsyncOperation[LaunchQuerySupportStatus]: ...
389
421
 
422
+ @typing.final
390
423
  class Launcher(winrt.system.Object, metaclass=Launcher_Static):
391
424
  @staticmethod
392
425
  def _from(obj: winrt.system.Object, /) -> Launcher: ...
393
426
 
427
+ @typing.final
394
428
  class LauncherOptions(winrt.system.Object):
395
429
  @staticmethod
396
430
  def _from(obj: winrt.system.Object, /) -> LauncherOptions: ...
@@ -442,6 +476,7 @@ class LauncherOptions(winrt.system.Object):
442
476
  @desired_remaining_view.setter
443
477
  def desired_remaining_view(self, value: winrt.windows.ui.viewmanagement.ViewSizePreference) -> None: ...
444
478
 
479
+ @typing.final
445
480
  class LauncherUIOptions(winrt.system.Object):
446
481
  @staticmethod
447
482
  def _from(obj: winrt.system.Object, /) -> LauncherUIOptions: ...
@@ -458,6 +493,7 @@ class LauncherUIOptions(winrt.system.Object):
458
493
  @invocation_point.setter
459
494
  def invocation_point(self, value: typing.Optional[typing.Optional[winrt.windows.foundation.Point]]) -> None: ...
460
495
 
496
+ @typing.final
461
497
  class MemoryManager_Static(type):
462
498
  def get_app_memory_report(cls) -> typing.Optional[AppMemoryReport]: ...
463
499
  def get_process_memory_report(cls) -> typing.Optional[ProcessMemoryReport]: ...
@@ -477,20 +513,24 @@ class MemoryManager_Static(type):
477
513
  @_property
478
514
  def expected_app_memory_usage_limit(cls) -> winrt.system.UInt64: ...
479
515
 
516
+ @typing.final
480
517
  class MemoryManager(winrt.system.Object, metaclass=MemoryManager_Static):
481
518
  @staticmethod
482
519
  def _from(obj: winrt.system.Object, /) -> MemoryManager: ...
483
520
 
521
+ @typing.final
484
522
  class ProcessLauncher_Static(type):
485
523
  @typing.overload
486
524
  def run_to_completion_async(cls, file_name: str, args: str, /) -> winrt.windows.foundation.IAsyncOperation[ProcessLauncherResult]: ...
487
525
  @typing.overload
488
526
  def run_to_completion_async(cls, file_name: str, args: str, options: typing.Optional[ProcessLauncherOptions], /) -> winrt.windows.foundation.IAsyncOperation[ProcessLauncherResult]: ...
489
527
 
528
+ @typing.final
490
529
  class ProcessLauncher(winrt.system.Object, metaclass=ProcessLauncher_Static):
491
530
  @staticmethod
492
531
  def _from(obj: winrt.system.Object, /) -> ProcessLauncher: ...
493
532
 
533
+ @typing.final
494
534
  class ProcessLauncherOptions(winrt.system.Object):
495
535
  @staticmethod
496
536
  def _from(obj: winrt.system.Object, /) -> ProcessLauncherOptions: ...
@@ -512,12 +552,14 @@ class ProcessLauncherOptions(winrt.system.Object):
512
552
  @standard_error.setter
513
553
  def standard_error(self, value: typing.Optional[winrt.windows.storage.streams.IOutputStream]) -> None: ...
514
554
 
555
+ @typing.final
515
556
  class ProcessLauncherResult(winrt.system.Object):
516
557
  @staticmethod
517
558
  def _from(obj: winrt.system.Object, /) -> ProcessLauncherResult: ...
518
559
  @_property
519
560
  def exit_code(self) -> winrt.system.UInt32: ...
520
561
 
562
+ @typing.final
521
563
  class ProcessMemoryReport(winrt.system.Object):
522
564
  @staticmethod
523
565
  def _from(obj: winrt.system.Object, /) -> ProcessMemoryReport: ...
@@ -526,11 +568,13 @@ class ProcessMemoryReport(winrt.system.Object):
526
568
  @_property
527
569
  def total_working_set_usage(self) -> winrt.system.UInt64: ...
528
570
 
571
+ @typing.final
529
572
  class ProtocolForResultsOperation(winrt.system.Object):
530
573
  @staticmethod
531
574
  def _from(obj: winrt.system.Object, /) -> ProtocolForResultsOperation: ...
532
575
  def report_completed(self, data: typing.Optional[winrt.windows.foundation.collections.ValueSet], /) -> None: ...
533
576
 
577
+ @typing.final
534
578
  class RemoteLauncher_Static(type):
535
579
  @typing.overload
536
580
  def launch_uri_async(cls, remote_system_connection_request: typing.Optional[winrt.windows.system.remotesystems.RemoteSystemConnectionRequest], uri: typing.Optional[winrt.windows.foundation.Uri], /) -> winrt.windows.foundation.IAsyncOperation[RemoteLaunchUriStatus]: ...
@@ -539,10 +583,12 @@ class RemoteLauncher_Static(type):
539
583
  @typing.overload
540
584
  def launch_uri_async(cls, remote_system_connection_request: typing.Optional[winrt.windows.system.remotesystems.RemoteSystemConnectionRequest], uri: typing.Optional[winrt.windows.foundation.Uri], options: typing.Optional[RemoteLauncherOptions], input_data: typing.Optional[winrt.windows.foundation.collections.ValueSet], /) -> winrt.windows.foundation.IAsyncOperation[RemoteLaunchUriStatus]: ...
541
585
 
586
+ @typing.final
542
587
  class RemoteLauncher(winrt.system.Object, metaclass=RemoteLauncher_Static):
543
588
  @staticmethod
544
589
  def _from(obj: winrt.system.Object, /) -> RemoteLauncher: ...
545
590
 
591
+ @typing.final
546
592
  class RemoteLauncherOptions(winrt.system.Object):
547
593
  @staticmethod
548
594
  def _from(obj: winrt.system.Object, /) -> RemoteLauncherOptions: ...
@@ -554,6 +600,7 @@ class RemoteLauncherOptions(winrt.system.Object):
554
600
  @_property
555
601
  def preferred_app_ids(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[str]]: ...
556
602
 
603
+ @typing.final
557
604
  class ShutdownManager_Static(type):
558
605
  def begin_shutdown(cls, shutdown_kind: ShutdownKind, timeout: datetime.timedelta, /) -> None: ...
559
606
  def cancel_shutdown(cls) -> None: ...
@@ -563,10 +610,12 @@ class ShutdownManager_Static(type):
563
610
  def enter_power_state(cls, power_state: PowerState, wake_up_after: datetime.timedelta, /) -> None: ...
564
611
  def is_power_state_supported(cls, power_state: PowerState, /) -> bool: ...
565
612
 
613
+ @typing.final
566
614
  class ShutdownManager(winrt.system.Object, metaclass=ShutdownManager_Static):
567
615
  @staticmethod
568
616
  def _from(obj: winrt.system.Object, /) -> ShutdownManager: ...
569
617
 
618
+ @typing.final
570
619
  class TimeZoneSettings_Static(type):
571
620
  def auto_update_time_zone_async(cls, timeout: datetime.timedelta, /) -> winrt.windows.foundation.IAsyncOperation[AutoUpdateTimeZoneStatus]: ...
572
621
  def change_time_zone_by_display_name(cls, time_zone_display_name: str, /) -> None: ...
@@ -577,10 +626,12 @@ class TimeZoneSettings_Static(type):
577
626
  @_property
578
627
  def supported_time_zone_display_names(cls) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[str]]: ...
579
628
 
629
+ @typing.final
580
630
  class TimeZoneSettings(winrt.system.Object, metaclass=TimeZoneSettings_Static):
581
631
  @staticmethod
582
632
  def _from(obj: winrt.system.Object, /) -> TimeZoneSettings: ...
583
633
 
634
+ @typing.final
584
635
  class User_Static(type):
585
636
  def create_watcher(cls) -> typing.Optional[UserWatcher]: ...
586
637
  @typing.overload
@@ -592,6 +643,7 @@ class User_Static(type):
592
643
  def get_default(cls) -> typing.Optional[User]: ...
593
644
  def get_from_id(cls, non_roamable_id: str, /) -> typing.Optional[User]: ...
594
645
 
646
+ @typing.final
595
647
  class User(winrt.system.Object, metaclass=User_Static):
596
648
  @staticmethod
597
649
  def _from(obj: winrt.system.Object, /) -> User: ...
@@ -606,11 +658,13 @@ class User(winrt.system.Object, metaclass=User_Static):
606
658
  @_property
607
659
  def type(self) -> UserType: ...
608
660
 
661
+ @typing.final
609
662
  class UserAuthenticationStatusChangeDeferral(winrt.system.Object):
610
663
  @staticmethod
611
664
  def _from(obj: winrt.system.Object, /) -> UserAuthenticationStatusChangeDeferral: ...
612
665
  def complete(self) -> None: ...
613
666
 
667
+ @typing.final
614
668
  class UserAuthenticationStatusChangingEventArgs(winrt.system.Object):
615
669
  @staticmethod
616
670
  def _from(obj: winrt.system.Object, /) -> UserAuthenticationStatusChangingEventArgs: ...
@@ -622,6 +676,7 @@ class UserAuthenticationStatusChangingEventArgs(winrt.system.Object):
622
676
  @_property
623
677
  def user(self) -> typing.Optional[User]: ...
624
678
 
679
+ @typing.final
625
680
  class UserChangedEventArgs(winrt.system.Object):
626
681
  @staticmethod
627
682
  def _from(obj: winrt.system.Object, /) -> UserChangedEventArgs: ...
@@ -630,15 +685,18 @@ class UserChangedEventArgs(winrt.system.Object):
630
685
  @_property
631
686
  def changed_property_kinds(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[UserWatcherUpdateKind]]: ...
632
687
 
688
+ @typing.final
633
689
  class UserDeviceAssociation_Static(type):
634
690
  def find_user_from_device_id(cls, device_id: str, /) -> typing.Optional[User]: ...
635
691
  def add_user_device_association_changed(cls, handler: winrt.windows.foundation.EventHandler[UserDeviceAssociationChangedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
636
692
  def remove_user_device_association_changed(cls, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
637
693
 
694
+ @typing.final
638
695
  class UserDeviceAssociation(winrt.system.Object, metaclass=UserDeviceAssociation_Static):
639
696
  @staticmethod
640
697
  def _from(obj: winrt.system.Object, /) -> UserDeviceAssociation: ...
641
698
 
699
+ @typing.final
642
700
  class UserDeviceAssociationChangedEventArgs(winrt.system.Object):
643
701
  @staticmethod
644
702
  def _from(obj: winrt.system.Object, /) -> UserDeviceAssociationChangedEventArgs: ...
@@ -649,9 +707,11 @@ class UserDeviceAssociationChangedEventArgs(winrt.system.Object):
649
707
  @_property
650
708
  def old_user(self) -> typing.Optional[User]: ...
651
709
 
710
+ @typing.final
652
711
  class UserPicker_Static(type):
653
712
  def is_supported(cls) -> bool: ...
654
713
 
714
+ @typing.final
655
715
  class UserPicker(winrt.system.Object, metaclass=UserPicker_Static):
656
716
  @staticmethod
657
717
  def _from(obj: winrt.system.Object, /) -> UserPicker: ...
@@ -666,6 +726,7 @@ class UserPicker(winrt.system.Object, metaclass=UserPicker_Static):
666
726
  @allow_guest_accounts.setter
667
727
  def allow_guest_accounts(self, value: bool) -> None: ...
668
728
 
729
+ @typing.final
669
730
  class UserWatcher(winrt.system.Object):
670
731
  @staticmethod
671
732
  def _from(obj: winrt.system.Object, /) -> UserWatcher: ...
@@ -688,6 +749,7 @@ class UserWatcher(winrt.system.Object):
688
749
  @_property
689
750
  def status(self) -> UserWatcherStatus: ...
690
751
 
752
+ @typing.final
691
753
  class ILauncherViewOptions(winrt.system.Object):
692
754
  @staticmethod
693
755
  def _from(obj: winrt.system.Object, /) -> ILauncherViewOptions: ...
@@ -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
  import typing
@@ -0,0 +1,34 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.System
3
+ Version: 2.0.1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: <3.13,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime==2.0.1
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.ApplicationModel[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.Storage[all]==2.0.1; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage.Search[all]==2.0.1; extra == "all"
22
+ Requires-Dist: winrt-Windows.Storage.Streams[all]==2.0.1; extra == "all"
23
+ Requires-Dist: winrt-Windows.System.Diagnostics[all]==2.0.1; extra == "all"
24
+ Requires-Dist: winrt-Windows.System.RemoteSystems[all]==2.0.1; extra == "all"
25
+ Requires-Dist: winrt-Windows.UI.Popups[all]==2.0.1; extra == "all"
26
+ Requires-Dist: winrt-Windows.UI.ViewManagement[all]==2.0.1; extra == "all"
27
+
28
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
29
+
30
+ # winrt-Windows.System
31
+
32
+ Windows Runtime (WinRT) APIs for for the `Windows.System` namespace.
33
+
34
+ This package provides the `winrt.windows.system` module.
@@ -7,6 +7,7 @@ requirements.txt
7
7
  setup.py
8
8
  winrt/_winrt_windows_system.pyi
9
9
  winrt/windows/system/__init__.py
10
+ winrt/windows/system/py.typed
10
11
  winrt_Windows.System.egg-info/PKG-INFO
11
12
  winrt_Windows.System.egg-info/SOURCES.txt
12
13
  winrt_Windows.System.egg-info/dependency_links.txt
@@ -0,0 +1,13 @@
1
+ winrt-runtime==2.0.1
2
+
3
+ [all]
4
+ winrt-Windows.ApplicationModel[all]==2.0.1
5
+ winrt-Windows.Foundation[all]==2.0.1
6
+ winrt-Windows.Foundation.Collections[all]==2.0.1
7
+ winrt-Windows.Storage[all]==2.0.1
8
+ winrt-Windows.Storage.Search[all]==2.0.1
9
+ winrt-Windows.Storage.Streams[all]==2.0.1
10
+ winrt-Windows.System.Diagnostics[all]==2.0.1
11
+ winrt-Windows.System.RemoteSystems[all]==2.0.1
12
+ winrt-Windows.UI.Popups[all]==2.0.1
13
+ winrt-Windows.UI.ViewManagement[all]==2.0.1
@@ -1,22 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: winrt-Windows.System
3
- Version: 2.0.0b1
4
- Summary: Python projection of Windows Runtime (WinRT) APIs
5
- License: MIT
6
- Project-URL: Repository, https://github.com/pywrint/pywrinrt
7
- Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
- Classifier: Operating System :: Microsoft :: Windows
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: Programming Language :: Python :: Implementation :: CPython
11
- Classifier: Intended Audience :: Developers
12
- Requires-Python: <3.13,>=3.9
13
- Description-Content-Type: text/markdown
14
- Provides-Extra: all
15
-
16
- <!-- warning: Please don't edit this file. It was automatically generated. -->
17
-
18
- # winrt-Windows.System
19
-
20
- Windows Runtime (WinRT) APIs for for the `Windows.System` namespace.
21
-
22
- This package provides the `winrt.windows.system` module.
@@ -1,12 +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.ApplicationModel[all]==2.0.0-beta.1
4
- winrt-Windows.Foundation[all]==2.0.0-beta.1
5
- winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
6
- winrt-Windows.Storage[all]==2.0.0-beta.1
7
- winrt-Windows.Storage.Search[all]==2.0.0-beta.1
8
- winrt-Windows.Storage.Streams[all]==2.0.0-beta.1
9
- winrt-Windows.System.Diagnostics[all]==2.0.0-beta.1
10
- winrt-Windows.System.RemoteSystems[all]==2.0.0-beta.1
11
- winrt-Windows.UI.Popups[all]==2.0.0-beta.1
12
- 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_system",
10
- sources=["py.Windows.System.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,22 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: winrt-Windows.System
3
- Version: 2.0.0b1
4
- Summary: Python projection of Windows Runtime (WinRT) APIs
5
- License: MIT
6
- Project-URL: Repository, https://github.com/pywrint/pywrinrt
7
- Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
- Classifier: Operating System :: Microsoft :: Windows
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: Programming Language :: Python :: Implementation :: CPython
11
- Classifier: Intended Audience :: Developers
12
- Requires-Python: <3.13,>=3.9
13
- Description-Content-Type: text/markdown
14
- Provides-Extra: all
15
-
16
- <!-- warning: Please don't edit this file. It was automatically generated. -->
17
-
18
- # winrt-Windows.System
19
-
20
- Windows Runtime (WinRT) APIs for for the `Windows.System` namespace.
21
-
22
- This package provides the `winrt.windows.system` module.
@@ -1,13 +0,0 @@
1
- winrt-runtime==2.0.0-beta.1
2
-
3
- [all]
4
- winrt-Windows.ApplicationModel[all]==2.0.0-beta.1
5
- winrt-Windows.Foundation[all]==2.0.0-beta.1
6
- winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
7
- winrt-Windows.Storage[all]==2.0.0-beta.1
8
- winrt-Windows.Storage.Search[all]==2.0.0-beta.1
9
- winrt-Windows.Storage.Streams[all]==2.0.0-beta.1
10
- winrt-Windows.System.Diagnostics[all]==2.0.0-beta.1
11
- winrt-Windows.System.RemoteSystems[all]==2.0.0-beta.1
12
- winrt-Windows.UI.Popups[all]==2.0.0-beta.1
13
- winrt-Windows.UI.ViewManagement[all]==2.0.0-beta.1