winrt-Windows.ApplicationModel 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.ApplicationModel-2.0.0b1 → winrt_windows_applicationmodel-2.0.1}/PKG-INFO +11 -2
  2. winrt_windows_applicationmodel-2.0.1/all-requirements.txt +9 -0
  3. {winrt-Windows.ApplicationModel-2.0.0b1 → winrt_windows_applicationmodel-2.0.1}/py.Windows.ApplicationModel.cpp +1 -1
  4. {winrt-Windows.ApplicationModel-2.0.0b1 → winrt_windows_applicationmodel-2.0.1}/pyproject.toml +7 -4
  5. winrt_windows_applicationmodel-2.0.1/pywinrt-version.txt +1 -0
  6. {winrt-Windows.ApplicationModel-2.0.0b1 → winrt_windows_applicationmodel-2.0.1}/requirements.txt +2 -2
  7. winrt_windows_applicationmodel-2.0.1/setup.py +31 -0
  8. {winrt-Windows.ApplicationModel-2.0.0b1 → winrt_windows_applicationmodel-2.0.1}/winrt/_winrt_windows_applicationmodel.pyi +52 -1
  9. {winrt-Windows.ApplicationModel-2.0.0b1 → winrt_windows_applicationmodel-2.0.1}/winrt/windows/applicationmodel/__init__.py +1 -1
  10. winrt_windows_applicationmodel-2.0.1/winrt/windows/applicationmodel/py.typed +0 -0
  11. {winrt-Windows.ApplicationModel-2.0.0b1 → winrt_windows_applicationmodel-2.0.1}/winrt_Windows.ApplicationModel.egg-info/PKG-INFO +11 -2
  12. {winrt-Windows.ApplicationModel-2.0.0b1 → winrt_windows_applicationmodel-2.0.1}/winrt_Windows.ApplicationModel.egg-info/SOURCES.txt +1 -0
  13. winrt_windows_applicationmodel-2.0.1/winrt_Windows.ApplicationModel.egg-info/requires.txt +10 -0
  14. winrt-Windows.ApplicationModel-2.0.0b1/all-requirements.txt +0 -9
  15. winrt-Windows.ApplicationModel-2.0.0b1/pywinrt-version.txt +0 -1
  16. winrt-Windows.ApplicationModel-2.0.0b1/setup.py +0 -17
  17. winrt-Windows.ApplicationModel-2.0.0b1/winrt_Windows.ApplicationModel.egg-info/requires.txt +0 -10
  18. {winrt-Windows.ApplicationModel-2.0.0b1 → winrt_windows_applicationmodel-2.0.1}/README.md +0 -0
  19. {winrt-Windows.ApplicationModel-2.0.0b1 → winrt_windows_applicationmodel-2.0.1}/setup.cfg +0 -0
  20. {winrt-Windows.ApplicationModel-2.0.0b1 → winrt_windows_applicationmodel-2.0.1}/winrt_Windows.ApplicationModel.egg-info/dependency_links.txt +0 -0
  21. {winrt-Windows.ApplicationModel-2.0.0b1 → winrt_windows_applicationmodel-2.0.1}/winrt_Windows.ApplicationModel.egg-info/top_level.txt +0 -0
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel
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,15 @@ 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.ApplicationModel.Activation[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.ApplicationModel.Core[all]==2.0.1; extra == "all"
19
+ Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage[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[all]==2.0.1; extra == "all"
15
24
 
16
25
  <!-- warning: Please don't edit this file. It was automatically generated. -->
17
26
 
@@ -0,0 +1,9 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
+
3
+ winrt-Windows.ApplicationModel.Activation[all]==2.0.1
4
+ winrt-Windows.ApplicationModel.Core[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.Streams[all]==2.0.1
9
+ winrt-Windows.System[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.ApplicationModel.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_applicationmodel",
26
+ sources=["py.Windows.ApplicationModel.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
@@ -21,10 +21,12 @@ from winrt.windows.applicationmodel import AddResourcePackageOptions, AppExecuti
21
21
 
22
22
  Self = typing.TypeVar('Self')
23
23
 
24
+ @typing.final
24
25
  class PackageInstallProgress:
25
26
  percent_complete: winrt.system.UInt32
26
27
  def __init__(self, percent_complete: winrt.system.UInt32) -> None: ...
27
28
 
29
+ @typing.final
28
30
  class PackageVersion:
29
31
  major: winrt.system.UInt16
30
32
  minor: winrt.system.UInt16
@@ -32,6 +34,7 @@ class PackageVersion:
32
34
  revision: winrt.system.UInt16
33
35
  def __init__(self, major: winrt.system.UInt16, minor: winrt.system.UInt16, build: winrt.system.UInt16, revision: winrt.system.UInt16) -> None: ...
34
36
 
37
+ @typing.final
35
38
  class AppDisplayInfo(winrt.system.Object):
36
39
  @staticmethod
37
40
  def _from(obj: winrt.system.Object, /) -> AppDisplayInfo: ...
@@ -41,12 +44,14 @@ class AppDisplayInfo(winrt.system.Object):
41
44
  @_property
42
45
  def display_name(self) -> str: ...
43
46
 
47
+ @typing.final
44
48
  class AppInfo_Static(type):
45
49
  def get_from_app_user_model_id(cls, app_user_model_id: str, /) -> typing.Optional[AppInfo]: ...
46
50
  def get_from_app_user_model_id_for_user(cls, user: typing.Optional[winrt.windows.system.User], app_user_model_id: str, /) -> typing.Optional[AppInfo]: ...
47
51
  @_property
48
52
  def current(cls) -> typing.Optional[AppInfo]: ...
49
53
 
54
+ @typing.final
50
55
  class AppInfo(winrt.system.Object, metaclass=AppInfo_Static):
51
56
  @staticmethod
52
57
  def _from(obj: winrt.system.Object, /) -> AppInfo: ...
@@ -65,6 +70,7 @@ class AppInfo(winrt.system.Object, metaclass=AppInfo_Static):
65
70
  @_property
66
71
  def supported_file_extensions(self) -> str: ...
67
72
 
73
+ @typing.final
68
74
  class AppInstallerInfo(winrt.system.Object):
69
75
  @staticmethod
70
76
  def _from(obj: winrt.system.Object, /) -> AppInstallerInfo: ...
@@ -101,6 +107,7 @@ class AppInstallerInfo(winrt.system.Object):
101
107
  @_property
102
108
  def version(self) -> PackageVersion: ...
103
109
 
110
+ @typing.final
104
111
  class AppInstance_Static(type):
105
112
  def find_or_register_instance_for_key(cls, key: str, /) -> typing.Optional[AppInstance]: ...
106
113
  def get_activated_event_args(cls) -> typing.Optional[winrt.windows.applicationmodel.activation.IActivatedEventArgs]: ...
@@ -109,6 +116,7 @@ class AppInstance_Static(type):
109
116
  @_property
110
117
  def recommended_instance(cls) -> typing.Optional[AppInstance]: ...
111
118
 
119
+ @typing.final
112
120
  class AppInstance(winrt.system.Object, metaclass=AppInstance_Static):
113
121
  @staticmethod
114
122
  def _from(obj: winrt.system.Object, /) -> AppInstance: ...
@@ -118,28 +126,34 @@ class AppInstance(winrt.system.Object, metaclass=AppInstance_Static):
118
126
  @_property
119
127
  def key(self) -> str: ...
120
128
 
129
+ @typing.final
121
130
  class CameraApplicationManager_Static(type):
122
131
  def show_installed_applications_u_i(cls) -> None: ...
123
132
 
133
+ @typing.final
124
134
  class CameraApplicationManager(winrt.system.Object, metaclass=CameraApplicationManager_Static):
125
135
  @staticmethod
126
136
  def _from(obj: winrt.system.Object, /) -> CameraApplicationManager: ...
127
137
 
138
+ @typing.final
128
139
  class DesignMode_Static(type):
129
140
  @_property
130
141
  def design_mode_enabled(cls) -> bool: ...
131
142
  @_property
132
143
  def design_mode2_enabled(cls) -> bool: ...
133
144
 
145
+ @typing.final
134
146
  class DesignMode(winrt.system.Object, metaclass=DesignMode_Static):
135
147
  @staticmethod
136
148
  def _from(obj: winrt.system.Object, /) -> DesignMode: ...
137
149
 
150
+ @typing.final
138
151
  class EnteredBackgroundEventArgs(winrt.system.Object):
139
152
  @staticmethod
140
153
  def _from(obj: winrt.system.Object, /) -> EnteredBackgroundEventArgs: ...
141
154
  def get_deferral(self) -> typing.Optional[winrt.windows.foundation.Deferral]: ...
142
155
 
156
+ @typing.final
143
157
  class FindRelatedPackagesOptions(winrt.system.Object):
144
158
  @staticmethod
145
159
  def _from(obj: winrt.system.Object, /) -> FindRelatedPackagesOptions: ...
@@ -165,6 +179,7 @@ class FindRelatedPackagesOptions(winrt.system.Object):
165
179
  @include_frameworks.setter
166
180
  def include_frameworks(self, value: bool) -> None: ...
167
181
 
182
+ @typing.final
168
183
  class FullTrustProcessLaunchResult(winrt.system.Object):
169
184
  @staticmethod
170
185
  def _from(obj: winrt.system.Object, /) -> FullTrustProcessLaunchResult: ...
@@ -173,6 +188,7 @@ class FullTrustProcessLaunchResult(winrt.system.Object):
173
188
  @_property
174
189
  def launch_result(self) -> FullTrustLaunchResult: ...
175
190
 
191
+ @typing.final
176
192
  class FullTrustProcessLauncher_Static(type):
177
193
  @typing.overload
178
194
  def launch_full_trust_process_for_app_async(cls, full_trust_package_relative_app_id: str, /) -> winrt.windows.foundation.IAsyncAction: ...
@@ -185,15 +201,18 @@ class FullTrustProcessLauncher_Static(type):
185
201
  def launch_full_trust_process_for_current_app_async(cls, parameter_group_id: str, /) -> winrt.windows.foundation.IAsyncAction: ...
186
202
  def launch_full_trust_process_for_current_app_with_arguments_async(cls, command_line: str, /) -> winrt.windows.foundation.IAsyncOperation[FullTrustProcessLaunchResult]: ...
187
203
 
204
+ @typing.final
188
205
  class FullTrustProcessLauncher(winrt.system.Object, metaclass=FullTrustProcessLauncher_Static):
189
206
  @staticmethod
190
207
  def _from(obj: winrt.system.Object, /) -> FullTrustProcessLauncher: ...
191
208
 
209
+ @typing.final
192
210
  class LeavingBackgroundEventArgs(winrt.system.Object):
193
211
  @staticmethod
194
212
  def _from(obj: winrt.system.Object, /) -> LeavingBackgroundEventArgs: ...
195
213
  def get_deferral(self) -> typing.Optional[winrt.windows.foundation.Deferral]: ...
196
214
 
215
+ @typing.final
197
216
  class LimitedAccessFeatureRequestResult(winrt.system.Object):
198
217
  @staticmethod
199
218
  def _from(obj: winrt.system.Object, /) -> LimitedAccessFeatureRequestResult: ...
@@ -204,17 +223,21 @@ class LimitedAccessFeatureRequestResult(winrt.system.Object):
204
223
  @_property
205
224
  def status(self) -> LimitedAccessFeatureStatus: ...
206
225
 
226
+ @typing.final
207
227
  class LimitedAccessFeatures_Static(type):
208
228
  def try_unlock_feature(cls, feature_id: str, token: str, attestation: str, /) -> typing.Optional[LimitedAccessFeatureRequestResult]: ...
209
229
 
230
+ @typing.final
210
231
  class LimitedAccessFeatures(winrt.system.Object, metaclass=LimitedAccessFeatures_Static):
211
232
  @staticmethod
212
233
  def _from(obj: winrt.system.Object, /) -> LimitedAccessFeatures: ...
213
234
 
235
+ @typing.final
214
236
  class Package_Static(type):
215
237
  @_property
216
238
  def current(cls) -> typing.Optional[Package]: ...
217
239
 
240
+ @typing.final
218
241
  class Package(winrt.system.Object, metaclass=Package_Static):
219
242
  @staticmethod
220
243
  def _from(obj: winrt.system.Object, /) -> Package: ...
@@ -293,11 +316,13 @@ class Package(winrt.system.Object, metaclass=Package_Static):
293
316
  @_property
294
317
  def install_date(self) -> datetime.datetime: ...
295
318
 
319
+ @typing.final
296
320
  class PackageCatalog_Static(type):
297
321
  def open_for_current_package(cls) -> typing.Optional[PackageCatalog]: ...
298
322
  def open_for_current_user(cls) -> typing.Optional[PackageCatalog]: ...
299
323
  def open_for_package(cls, package: typing.Optional[Package], /) -> typing.Optional[PackageCatalog]: ...
300
324
 
325
+ @typing.final
301
326
  class PackageCatalog(winrt.system.Object, metaclass=PackageCatalog_Static):
302
327
  @staticmethod
303
328
  def _from(obj: winrt.system.Object, /) -> PackageCatalog: ...
@@ -318,6 +343,7 @@ class PackageCatalog(winrt.system.Object, metaclass=PackageCatalog_Static):
318
343
  def add_package_content_group_staging(self, handler: winrt.windows.foundation.TypedEventHandler[PackageCatalog, PackageContentGroupStagingEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
319
344
  def remove_package_content_group_staging(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
320
345
 
346
+ @typing.final
321
347
  class PackageCatalogAddOptionalPackageResult(winrt.system.Object):
322
348
  @staticmethod
323
349
  def _from(obj: winrt.system.Object, /) -> PackageCatalogAddOptionalPackageResult: ...
@@ -326,6 +352,7 @@ class PackageCatalogAddOptionalPackageResult(winrt.system.Object):
326
352
  @_property
327
353
  def package(self) -> typing.Optional[Package]: ...
328
354
 
355
+ @typing.final
329
356
  class PackageCatalogAddResourcePackageResult(winrt.system.Object):
330
357
  @staticmethod
331
358
  def _from(obj: winrt.system.Object, /) -> PackageCatalogAddResourcePackageResult: ...
@@ -336,6 +363,7 @@ class PackageCatalogAddResourcePackageResult(winrt.system.Object):
336
363
  @_property
337
364
  def package(self) -> typing.Optional[Package]: ...
338
365
 
366
+ @typing.final
339
367
  class PackageCatalogRemoveOptionalPackagesResult(winrt.system.Object):
340
368
  @staticmethod
341
369
  def _from(obj: winrt.system.Object, /) -> PackageCatalogRemoveOptionalPackagesResult: ...
@@ -344,6 +372,7 @@ class PackageCatalogRemoveOptionalPackagesResult(winrt.system.Object):
344
372
  @_property
345
373
  def packages_removed(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[Package]]: ...
346
374
 
375
+ @typing.final
347
376
  class PackageCatalogRemoveResourcePackagesResult(winrt.system.Object):
348
377
  @staticmethod
349
378
  def _from(obj: winrt.system.Object, /) -> PackageCatalogRemoveResourcePackagesResult: ...
@@ -352,10 +381,12 @@ class PackageCatalogRemoveResourcePackagesResult(winrt.system.Object):
352
381
  @_property
353
382
  def packages_removed(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[Package]]: ...
354
383
 
384
+ @typing.final
355
385
  class PackageContentGroup_Static(type):
356
386
  @_property
357
387
  def required_group_name(cls) -> str: ...
358
388
 
389
+ @typing.final
359
390
  class PackageContentGroup(winrt.system.Object, metaclass=PackageContentGroup_Static):
360
391
  @staticmethod
361
392
  def _from(obj: winrt.system.Object, /) -> PackageContentGroup: ...
@@ -368,6 +399,7 @@ class PackageContentGroup(winrt.system.Object, metaclass=PackageContentGroup_Sta
368
399
  @_property
369
400
  def state(self) -> PackageContentGroupState: ...
370
401
 
402
+ @typing.final
371
403
  class PackageContentGroupStagingEventArgs(winrt.system.Object):
372
404
  @staticmethod
373
405
  def _from(obj: winrt.system.Object, /) -> PackageContentGroupStagingEventArgs: ...
@@ -386,6 +418,7 @@ class PackageContentGroupStagingEventArgs(winrt.system.Object):
386
418
  @_property
387
419
  def progress(self) -> winrt.system.Double: ...
388
420
 
421
+ @typing.final
389
422
  class PackageId(winrt.system.Object):
390
423
  @staticmethod
391
424
  def _from(obj: winrt.system.Object, /) -> PackageId: ...
@@ -410,6 +443,7 @@ class PackageId(winrt.system.Object):
410
443
  @_property
411
444
  def product_id(self) -> str: ...
412
445
 
446
+ @typing.final
413
447
  class PackageInstallingEventArgs(winrt.system.Object):
414
448
  @staticmethod
415
449
  def _from(obj: winrt.system.Object, /) -> PackageInstallingEventArgs: ...
@@ -424,6 +458,7 @@ class PackageInstallingEventArgs(winrt.system.Object):
424
458
  @_property
425
459
  def progress(self) -> winrt.system.Double: ...
426
460
 
461
+ @typing.final
427
462
  class PackageStagingEventArgs(winrt.system.Object):
428
463
  @staticmethod
429
464
  def _from(obj: winrt.system.Object, /) -> PackageStagingEventArgs: ...
@@ -438,6 +473,7 @@ class PackageStagingEventArgs(winrt.system.Object):
438
473
  @_property
439
474
  def progress(self) -> winrt.system.Double: ...
440
475
 
476
+ @typing.final
441
477
  class PackageStatus(winrt.system.Object):
442
478
  @staticmethod
443
479
  def _from(obj: winrt.system.Object, /) -> PackageStatus: ...
@@ -467,12 +503,14 @@ class PackageStatus(winrt.system.Object):
467
503
  @_property
468
504
  def is_partially_staged(self) -> bool: ...
469
505
 
506
+ @typing.final
470
507
  class PackageStatusChangedEventArgs(winrt.system.Object):
471
508
  @staticmethod
472
509
  def _from(obj: winrt.system.Object, /) -> PackageStatusChangedEventArgs: ...
473
510
  @_property
474
511
  def package(self) -> typing.Optional[Package]: ...
475
512
 
513
+ @typing.final
476
514
  class PackageUninstallingEventArgs(winrt.system.Object):
477
515
  @staticmethod
478
516
  def _from(obj: winrt.system.Object, /) -> PackageUninstallingEventArgs: ...
@@ -487,6 +525,7 @@ class PackageUninstallingEventArgs(winrt.system.Object):
487
525
  @_property
488
526
  def progress(self) -> winrt.system.Double: ...
489
527
 
528
+ @typing.final
490
529
  class PackageUpdateAvailabilityResult(winrt.system.Object):
491
530
  @staticmethod
492
531
  def _from(obj: winrt.system.Object, /) -> PackageUpdateAvailabilityResult: ...
@@ -495,6 +534,7 @@ class PackageUpdateAvailabilityResult(winrt.system.Object):
495
534
  @_property
496
535
  def extended_error(self) -> winrt.windows.foundation.HResult: ...
497
536
 
537
+ @typing.final
498
538
  class PackageUpdatingEventArgs(winrt.system.Object):
499
539
  @staticmethod
500
540
  def _from(obj: winrt.system.Object, /) -> PackageUpdatingEventArgs: ...
@@ -511,10 +551,12 @@ class PackageUpdatingEventArgs(winrt.system.Object):
511
551
  @_property
512
552
  def target_package(self) -> typing.Optional[Package]: ...
513
553
 
554
+ @typing.final
514
555
  class StartupTask_Static(type):
515
556
  def get_async(cls, task_id: str, /) -> winrt.windows.foundation.IAsyncOperation[StartupTask]: ...
516
557
  def get_for_current_package_async(cls) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[StartupTask]]: ...
517
558
 
559
+ @typing.final
518
560
  class StartupTask(winrt.system.Object, metaclass=StartupTask_Static):
519
561
  @staticmethod
520
562
  def _from(obj: winrt.system.Object, /) -> StartupTask: ...
@@ -525,17 +567,20 @@ class StartupTask(winrt.system.Object, metaclass=StartupTask_Static):
525
567
  @_property
526
568
  def task_id(self) -> str: ...
527
569
 
570
+ @typing.final
528
571
  class SuspendingDeferral(winrt.system.Object):
529
572
  @staticmethod
530
573
  def _from(obj: winrt.system.Object, /) -> SuspendingDeferral: ...
531
574
  def complete(self) -> None: ...
532
575
 
576
+ @typing.final
533
577
  class SuspendingEventArgs(winrt.system.Object):
534
578
  @staticmethod
535
579
  def _from(obj: winrt.system.Object, /) -> SuspendingEventArgs: ...
536
580
  @_property
537
581
  def suspending_operation(self) -> typing.Optional[SuspendingOperation]: ...
538
582
 
583
+ @typing.final
539
584
  class SuspendingOperation(winrt.system.Object):
540
585
  @staticmethod
541
586
  def _from(obj: winrt.system.Object, /) -> SuspendingOperation: ...
@@ -543,32 +588,38 @@ class SuspendingOperation(winrt.system.Object):
543
588
  @_property
544
589
  def deadline(self) -> datetime.datetime: ...
545
590
 
591
+ @typing.final
546
592
  class IEnteredBackgroundEventArgs(winrt.system.Object):
547
593
  @staticmethod
548
594
  def _from(obj: winrt.system.Object, /) -> IEnteredBackgroundEventArgs: ...
549
595
  def get_deferral(self) -> typing.Optional[winrt.windows.foundation.Deferral]: ...
550
596
 
597
+ @typing.final
551
598
  class ILeavingBackgroundEventArgs(winrt.system.Object):
552
599
  @staticmethod
553
600
  def _from(obj: winrt.system.Object, /) -> ILeavingBackgroundEventArgs: ...
554
601
  def get_deferral(self) -> typing.Optional[winrt.windows.foundation.Deferral]: ...
555
602
 
603
+ @typing.final
556
604
  class IPackageCatalogStatics2(winrt.system.Object):
557
605
  @staticmethod
558
606
  def _from(obj: winrt.system.Object, /) -> IPackageCatalogStatics2: ...
559
607
  def open_for_package(self, package: typing.Optional[Package], /) -> typing.Optional[PackageCatalog]: ...
560
608
 
609
+ @typing.final
561
610
  class ISuspendingDeferral(winrt.system.Object):
562
611
  @staticmethod
563
612
  def _from(obj: winrt.system.Object, /) -> ISuspendingDeferral: ...
564
613
  def complete(self) -> None: ...
565
614
 
615
+ @typing.final
566
616
  class ISuspendingEventArgs(winrt.system.Object):
567
617
  @staticmethod
568
618
  def _from(obj: winrt.system.Object, /) -> ISuspendingEventArgs: ...
569
619
  @_property
570
620
  def suspending_operation(self) -> typing.Optional[SuspendingOperation]: ...
571
621
 
622
+ @typing.final
572
623
  class ISuspendingOperation(winrt.system.Object):
573
624
  @staticmethod
574
625
  def _from(obj: winrt.system.Object, /) -> ISuspendingOperation: ...
@@ -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.ApplicationModel
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,15 @@ 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.ApplicationModel.Activation[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.ApplicationModel.Core[all]==2.0.1; extra == "all"
19
+ Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
21
+ Requires-Dist: winrt-Windows.Storage[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[all]==2.0.1; extra == "all"
15
24
 
16
25
  <!-- warning: Please don't edit this file. It was automatically generated. -->
17
26
 
@@ -7,6 +7,7 @@ requirements.txt
7
7
  setup.py
8
8
  winrt/_winrt_windows_applicationmodel.pyi
9
9
  winrt/windows/applicationmodel/__init__.py
10
+ winrt/windows/applicationmodel/py.typed
10
11
  winrt_Windows.ApplicationModel.egg-info/PKG-INFO
11
12
  winrt_Windows.ApplicationModel.egg-info/SOURCES.txt
12
13
  winrt_Windows.ApplicationModel.egg-info/dependency_links.txt
@@ -0,0 +1,10 @@
1
+ winrt-runtime==2.0.1
2
+
3
+ [all]
4
+ winrt-Windows.ApplicationModel.Activation[all]==2.0.1
5
+ winrt-Windows.ApplicationModel.Core[all]==2.0.1
6
+ winrt-Windows.Foundation[all]==2.0.1
7
+ winrt-Windows.Foundation.Collections[all]==2.0.1
8
+ winrt-Windows.Storage[all]==2.0.1
9
+ winrt-Windows.Storage.Streams[all]==2.0.1
10
+ winrt-Windows.System[all]==2.0.1
@@ -1,9 +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.Activation[all]==2.0.0-beta.1
4
- winrt-Windows.ApplicationModel.Core[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.Streams[all]==2.0.0-beta.1
9
- winrt-Windows.System[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_applicationmodel",
10
- sources=["py.Windows.ApplicationModel.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,10 +0,0 @@
1
- winrt-runtime==2.0.0-beta.1
2
-
3
- [all]
4
- winrt-Windows.ApplicationModel.Activation[all]==2.0.0-beta.1
5
- winrt-Windows.ApplicationModel.Core[all]==2.0.0-beta.1
6
- winrt-Windows.Foundation[all]==2.0.0-beta.1
7
- winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
8
- winrt-Windows.Storage[all]==2.0.0-beta.1
9
- winrt-Windows.Storage.Streams[all]==2.0.0-beta.1
10
- winrt-Windows.System[all]==2.0.0-beta.1