winrt-Windows.System.Update 2.0.0b1__cp39-cp39-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,89 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
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
13
+ import winrt.windows.foundation.collections
14
+
15
+ from winrt.windows.system.update import SystemUpdateAttentionRequiredReason, SystemUpdateItemState, SystemUpdateManagerState, SystemUpdateStartInstallAction
16
+
17
+ Self = typing.TypeVar('Self')
18
+
19
+ class SystemUpdateItem(winrt.system.Object):
20
+ @staticmethod
21
+ def _from(obj: winrt.system.Object, /) -> SystemUpdateItem: ...
22
+ @_property
23
+ def description(self) -> str: ...
24
+ @_property
25
+ def download_progress(self) -> winrt.system.Double: ...
26
+ @_property
27
+ def extended_error(self) -> winrt.windows.foundation.HResult: ...
28
+ @_property
29
+ def id(self) -> str: ...
30
+ @_property
31
+ def install_progress(self) -> winrt.system.Double: ...
32
+ @_property
33
+ def revision(self) -> winrt.system.UInt32: ...
34
+ @_property
35
+ def state(self) -> SystemUpdateItemState: ...
36
+ @_property
37
+ def title(self) -> str: ...
38
+
39
+ class SystemUpdateLastErrorInfo(winrt.system.Object):
40
+ @staticmethod
41
+ def _from(obj: winrt.system.Object, /) -> SystemUpdateLastErrorInfo: ...
42
+ @_property
43
+ def extended_error(self) -> winrt.windows.foundation.HResult: ...
44
+ @_property
45
+ def is_interactive(self) -> bool: ...
46
+ @_property
47
+ def state(self) -> SystemUpdateManagerState: ...
48
+
49
+ class SystemUpdateManager_Static(type):
50
+ def block_automatic_reboot_async(cls, lock_id: str, /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
51
+ def get_automatic_reboot_block_ids(cls) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[str]]: ...
52
+ def get_flight_ring(cls) -> str: ...
53
+ def get_update_items(cls) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[SystemUpdateItem]]: ...
54
+ def is_supported(cls) -> bool: ...
55
+ def reboot_to_complete_install(cls) -> None: ...
56
+ def set_flight_ring(cls, flight_ring: str, /) -> bool: ...
57
+ def start_cancel_updates(cls) -> None: ...
58
+ def start_install(cls, action: SystemUpdateStartInstallAction, /) -> None: ...
59
+ def try_set_user_active_hours(cls, start: datetime.timedelta, end: datetime.timedelta, /) -> bool: ...
60
+ def unblock_automatic_reboot_async(cls, lock_id: str, /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
61
+ def add_state_changed(cls, handler: winrt.windows.foundation.EventHandler[winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
62
+ def remove_state_changed(cls, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
63
+ @_property
64
+ def attention_required_reason(cls) -> SystemUpdateAttentionRequiredReason: ...
65
+ @_property
66
+ def download_progress(cls) -> winrt.system.Double: ...
67
+ @_property
68
+ def extended_error(cls) -> winrt.windows.foundation.HResult: ...
69
+ @_property
70
+ def install_progress(cls) -> winrt.system.Double: ...
71
+ @_property
72
+ def last_error_info(cls) -> typing.Optional[SystemUpdateLastErrorInfo]: ...
73
+ @_property
74
+ def last_update_check_time(cls) -> datetime.datetime: ...
75
+ @_property
76
+ def last_update_install_time(cls) -> datetime.datetime: ...
77
+ @_property
78
+ def state(cls) -> SystemUpdateManagerState: ...
79
+ @_property
80
+ def user_active_hours_end(cls) -> datetime.timedelta: ...
81
+ @_property
82
+ def user_active_hours_max(cls) -> winrt.system.Int32: ...
83
+ @_property
84
+ def user_active_hours_start(cls) -> datetime.timedelta: ...
85
+
86
+ class SystemUpdateManager(winrt.system.Object, metaclass=SystemUpdateManager_Static):
87
+ @staticmethod
88
+ def _from(obj: winrt.system.Object, /) -> SystemUpdateManager: ...
89
+
@@ -0,0 +1,56 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
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
@@ -0,0 +1,25 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.System.Update
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
+ Requires-Dist: winrt-runtime ==2.0.0-beta.1
15
+ Provides-Extra: all
16
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.0.0-beta.1 ; extra == 'all'
17
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.0.0-beta.1 ; extra == 'all'
18
+
19
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
20
+
21
+ # winrt-Windows.System.Update
22
+
23
+ Windows Runtime (WinRT) APIs for for the `Windows.System.Update` namespace.
24
+
25
+ This package provides the `winrt.windows.system.update` module.
@@ -0,0 +1,7 @@
1
+ winrt/_winrt_windows_system_update.cp39-win_arm64.pyd,sha256=J-gZzcG7jTME2ITcSTpiUZwoA5O9Sj0ErcT4QoLvKhE,156160
2
+ winrt/_winrt_windows_system_update.pyi,sha256=wAf6YtYWV5hKaez0PzW3ynHEykG2Q1SJNdWKw_byGJM,3784
3
+ winrt/windows/system/update/__init__.py,sha256=AAvMEko0cm0ma4UC6637-Uf-Os69kcvFQ5hphHDglZE,1420
4
+ winrt_Windows.System.Update-2.0.0b1.dist-info/METADATA,sha256=t14Xw5ZrmJBWZd9sW8Qd_x_xBQb4fcrvrF6gW6Bf2QY,1082
5
+ winrt_Windows.System.Update-2.0.0b1.dist-info/WHEEL,sha256=PrHTG687fNsk7jS4Y-tLXN-3gpnf3wReNnzEPkeWHK0,100
6
+ winrt_Windows.System.Update-2.0.0b1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
7
+ winrt_Windows.System.Update-2.0.0b1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.41.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp39-cp39-win_arm64
5
+