winrt-Windows.System.Update 2.2.0__cp313-cp313-win_arm64.whl

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.
@@ -0,0 +1,92 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.foundation as windows_foundation
13
+ import winrt.windows.foundation.collections as windows_foundation_collections
14
+
15
+ from winrt.windows.system.update import SystemUpdateAttentionRequiredReason, SystemUpdateItemState, SystemUpdateManagerState, SystemUpdateStartInstallAction
16
+
17
+ Self = typing.TypeVar('Self')
18
+
19
+ @typing.final
20
+ class SystemUpdateItem(winrt.system.Object):
21
+ @staticmethod
22
+ def _from(obj: winrt.system.Object, /) -> SystemUpdateItem: ...
23
+ @_property
24
+ def description(self) -> str: ...
25
+ @_property
26
+ def download_progress(self) -> winrt.system.Double: ...
27
+ @_property
28
+ def extended_error(self) -> windows_foundation.HResult: ...
29
+ @_property
30
+ def id(self) -> str: ...
31
+ @_property
32
+ def install_progress(self) -> winrt.system.Double: ...
33
+ @_property
34
+ def revision(self) -> winrt.system.UInt32: ...
35
+ @_property
36
+ def state(self) -> SystemUpdateItemState: ...
37
+ @_property
38
+ def title(self) -> str: ...
39
+
40
+ @typing.final
41
+ class SystemUpdateLastErrorInfo(winrt.system.Object):
42
+ @staticmethod
43
+ def _from(obj: winrt.system.Object, /) -> SystemUpdateLastErrorInfo: ...
44
+ @_property
45
+ def extended_error(self) -> windows_foundation.HResult: ...
46
+ @_property
47
+ def is_interactive(self) -> bool: ...
48
+ @_property
49
+ def state(self) -> SystemUpdateManagerState: ...
50
+
51
+ @typing.final
52
+ class SystemUpdateManager_Static(type):
53
+ def block_automatic_reboot_async(cls, lock_id: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
54
+ def get_automatic_reboot_block_ids(cls) -> typing.Optional[windows_foundation_collections.IVectorView[str]]: ...
55
+ def get_flight_ring(cls) -> str: ...
56
+ def get_update_items(cls) -> typing.Optional[windows_foundation_collections.IVectorView[SystemUpdateItem]]: ...
57
+ def is_supported(cls) -> bool: ...
58
+ def reboot_to_complete_install(cls) -> None: ...
59
+ def set_flight_ring(cls, flight_ring: str, /) -> bool: ...
60
+ def start_cancel_updates(cls) -> None: ...
61
+ def start_install(cls, action: SystemUpdateStartInstallAction, /) -> None: ...
62
+ def try_set_user_active_hours(cls, start: datetime.timedelta, end: datetime.timedelta, /) -> bool: ...
63
+ def unblock_automatic_reboot_async(cls, lock_id: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
64
+ def add_state_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
65
+ def remove_state_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
66
+ @_property
67
+ def attention_required_reason(cls) -> SystemUpdateAttentionRequiredReason: ...
68
+ @_property
69
+ def download_progress(cls) -> winrt.system.Double: ...
70
+ @_property
71
+ def extended_error(cls) -> windows_foundation.HResult: ...
72
+ @_property
73
+ def install_progress(cls) -> winrt.system.Double: ...
74
+ @_property
75
+ def last_error_info(cls) -> typing.Optional[SystemUpdateLastErrorInfo]: ...
76
+ @_property
77
+ def last_update_check_time(cls) -> datetime.datetime: ...
78
+ @_property
79
+ def last_update_install_time(cls) -> datetime.datetime: ...
80
+ @_property
81
+ def state(cls) -> SystemUpdateManagerState: ...
82
+ @_property
83
+ def user_active_hours_end(cls) -> datetime.timedelta: ...
84
+ @_property
85
+ def user_active_hours_max(cls) -> winrt.system.Int32: ...
86
+ @_property
87
+ def user_active_hours_start(cls) -> datetime.timedelta: ...
88
+
89
+ @typing.final
90
+ class SystemUpdateManager(winrt.system.Object, metaclass=SystemUpdateManager_Static):
91
+ pass
92
+
@@ -0,0 +1,56 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_system_update
7
+
8
+ __all__ = [
9
+ "SystemUpdateAttentionRequiredReason",
10
+ "SystemUpdateItemState",
11
+ "SystemUpdateManagerState",
12
+ "SystemUpdateStartInstallAction",
13
+ "SystemUpdateItem",
14
+ "SystemUpdateLastErrorInfo",
15
+ "SystemUpdateManager",
16
+ ]
17
+
18
+ class SystemUpdateAttentionRequiredReason(enum.IntEnum):
19
+ NONE = 0
20
+ NETWORK_REQUIRED = 1
21
+ INSUFFICIENT_DISK_SPACE = 2
22
+ INSUFFICIENT_BATTERY = 3
23
+ UPDATE_BLOCKED = 4
24
+
25
+ class SystemUpdateItemState(enum.IntEnum):
26
+ NOT_STARTED = 0
27
+ INITIALIZING = 1
28
+ PREPARING = 2
29
+ CALCULATING = 3
30
+ DOWNLOADING = 4
31
+ INSTALLING = 5
32
+ COMPLETED = 6
33
+ REBOOT_REQUIRED = 7
34
+ ERROR = 8
35
+
36
+ class SystemUpdateManagerState(enum.IntEnum):
37
+ IDLE = 0
38
+ DETECTING = 1
39
+ READY_TO_DOWNLOAD = 2
40
+ DOWNLOADING = 3
41
+ READY_TO_INSTALL = 4
42
+ INSTALLING = 5
43
+ REBOOT_REQUIRED = 6
44
+ READY_TO_FINALIZE = 7
45
+ FINALIZING = 8
46
+ COMPLETED = 9
47
+ ATTENTION_REQUIRED = 10
48
+ ERROR = 11
49
+
50
+ class SystemUpdateStartInstallAction(enum.IntEnum):
51
+ UP_TO_REBOOT = 0
52
+ ALLOW_REBOOT = 1
53
+
54
+ SystemUpdateItem = _winrt_windows_system_update.SystemUpdateItem
55
+ SystemUpdateLastErrorInfo = _winrt_windows_system_update.SystemUpdateLastErrorInfo
56
+ SystemUpdateManager = _winrt_windows_system_update.SystemUpdateManager
File without changes
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.System.Update
3
+ Version: 2.2.0
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.14,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime ==2.2.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
19
+
20
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
21
+
22
+ # winrt-Windows.System.Update
23
+
24
+ Windows Runtime (WinRT) APIs for for the `Windows.System.Update` namespace.
25
+
26
+ This package provides the `winrt.windows.system.update` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_system_update.cp313-win_arm64.pyd,sha256=O-3o76KihTuUtY1Sn_CvcJZufuIlRAsCyfzx1O_9QI4,136192
2
+ winrt/_winrt_windows_system_update.pyi,sha256=r_MDzDEDGfJhhXLH-wRUapu0EDCxDy-iAHy7GogF1aQ,3749
3
+ winrt/windows/system/update/__init__.py,sha256=CljyCCAoWqThImB28p0ZDANiFOxVSBD3wqHvxTNSXs4,1413
4
+ winrt/windows/system/update/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.System.Update-2.2.0.dist-info/METADATA,sha256=TSBjTCjCE-4DvnYYE02zrxuZlTz8dQR_5hF9Ivi5mSg,1118
6
+ winrt_Windows.System.Update-2.2.0.dist-info/WHEEL,sha256=Bc3zGnBzvnkuBaMd-KCqScACPFmA-93PSEDjeXqCzu8,101
7
+ winrt_Windows.System.Update-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.System.Update-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_arm64
5
+