winrt-Windows.System.Diagnostics 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,177 @@
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.data.json
13
+ import winrt.windows.foundation
14
+ import winrt.windows.foundation.collections
15
+ import winrt.windows.system
16
+
17
+ from winrt.windows.system.diagnostics import DiagnosticActionState
18
+
19
+ Self = typing.TypeVar('Self')
20
+
21
+ class DiagnosticActionResult(winrt.system.Object):
22
+ @staticmethod
23
+ def _from(obj: winrt.system.Object, /) -> DiagnosticActionResult: ...
24
+ @_property
25
+ def extended_error(self) -> winrt.windows.foundation.HResult: ...
26
+ @_property
27
+ def results(self) -> typing.Optional[winrt.windows.foundation.collections.ValueSet]: ...
28
+
29
+ class DiagnosticInvoker_Static(type):
30
+ def get_default(cls) -> typing.Optional[DiagnosticInvoker]: ...
31
+ def get_for_user(cls, user: typing.Optional[winrt.windows.system.User], /) -> typing.Optional[DiagnosticInvoker]: ...
32
+ @_property
33
+ def is_supported(cls) -> bool: ...
34
+
35
+ class DiagnosticInvoker(winrt.system.Object, metaclass=DiagnosticInvoker_Static):
36
+ @staticmethod
37
+ def _from(obj: winrt.system.Object, /) -> DiagnosticInvoker: ...
38
+ def run_diagnostic_action_async(self, context: typing.Optional[winrt.windows.data.json.JsonObject], /) -> winrt.windows.foundation.IAsyncOperationWithProgress[DiagnosticActionResult, DiagnosticActionState]: ...
39
+ def run_diagnostic_action_from_string_async(self, context: str, /) -> winrt.windows.foundation.IAsyncOperationWithProgress[DiagnosticActionResult, DiagnosticActionState]: ...
40
+
41
+ class ProcessCpuUsage(winrt.system.Object):
42
+ @staticmethod
43
+ def _from(obj: winrt.system.Object, /) -> ProcessCpuUsage: ...
44
+ def get_report(self) -> typing.Optional[ProcessCpuUsageReport]: ...
45
+
46
+ class ProcessCpuUsageReport(winrt.system.Object):
47
+ @staticmethod
48
+ def _from(obj: winrt.system.Object, /) -> ProcessCpuUsageReport: ...
49
+ @_property
50
+ def kernel_time(self) -> datetime.timedelta: ...
51
+ @_property
52
+ def user_time(self) -> datetime.timedelta: ...
53
+
54
+ class ProcessDiagnosticInfo_Static(type):
55
+ def get_for_current_process(cls) -> typing.Optional[ProcessDiagnosticInfo]: ...
56
+ def get_for_processes(cls) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[ProcessDiagnosticInfo]]: ...
57
+ def try_get_for_process_id(cls, process_id: winrt.system.UInt32, /) -> typing.Optional[ProcessDiagnosticInfo]: ...
58
+
59
+ class ProcessDiagnosticInfo(winrt.system.Object, metaclass=ProcessDiagnosticInfo_Static):
60
+ @staticmethod
61
+ def _from(obj: winrt.system.Object, /) -> ProcessDiagnosticInfo: ...
62
+ def get_app_diagnostic_infos(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[winrt.windows.system.AppDiagnosticInfo]]: ...
63
+ @_property
64
+ def cpu_usage(self) -> typing.Optional[ProcessCpuUsage]: ...
65
+ @_property
66
+ def disk_usage(self) -> typing.Optional[ProcessDiskUsage]: ...
67
+ @_property
68
+ def executable_file_name(self) -> str: ...
69
+ @_property
70
+ def memory_usage(self) -> typing.Optional[ProcessMemoryUsage]: ...
71
+ @_property
72
+ def parent(self) -> typing.Optional[ProcessDiagnosticInfo]: ...
73
+ @_property
74
+ def process_id(self) -> winrt.system.UInt32: ...
75
+ @_property
76
+ def process_start_time(self) -> datetime.datetime: ...
77
+ @_property
78
+ def is_packaged(self) -> bool: ...
79
+
80
+ class ProcessDiskUsage(winrt.system.Object):
81
+ @staticmethod
82
+ def _from(obj: winrt.system.Object, /) -> ProcessDiskUsage: ...
83
+ def get_report(self) -> typing.Optional[ProcessDiskUsageReport]: ...
84
+
85
+ class ProcessDiskUsageReport(winrt.system.Object):
86
+ @staticmethod
87
+ def _from(obj: winrt.system.Object, /) -> ProcessDiskUsageReport: ...
88
+ @_property
89
+ def bytes_read_count(self) -> winrt.system.Int64: ...
90
+ @_property
91
+ def bytes_written_count(self) -> winrt.system.Int64: ...
92
+ @_property
93
+ def other_bytes_count(self) -> winrt.system.Int64: ...
94
+ @_property
95
+ def other_operation_count(self) -> winrt.system.Int64: ...
96
+ @_property
97
+ def read_operation_count(self) -> winrt.system.Int64: ...
98
+ @_property
99
+ def write_operation_count(self) -> winrt.system.Int64: ...
100
+
101
+ class ProcessMemoryUsage(winrt.system.Object):
102
+ @staticmethod
103
+ def _from(obj: winrt.system.Object, /) -> ProcessMemoryUsage: ...
104
+ def get_report(self) -> typing.Optional[ProcessMemoryUsageReport]: ...
105
+
106
+ class ProcessMemoryUsageReport(winrt.system.Object):
107
+ @staticmethod
108
+ def _from(obj: winrt.system.Object, /) -> ProcessMemoryUsageReport: ...
109
+ @_property
110
+ def non_paged_pool_size_in_bytes(self) -> winrt.system.UInt64: ...
111
+ @_property
112
+ def page_fault_count(self) -> winrt.system.UInt32: ...
113
+ @_property
114
+ def page_file_size_in_bytes(self) -> winrt.system.UInt64: ...
115
+ @_property
116
+ def paged_pool_size_in_bytes(self) -> winrt.system.UInt64: ...
117
+ @_property
118
+ def peak_non_paged_pool_size_in_bytes(self) -> winrt.system.UInt64: ...
119
+ @_property
120
+ def peak_page_file_size_in_bytes(self) -> winrt.system.UInt64: ...
121
+ @_property
122
+ def peak_paged_pool_size_in_bytes(self) -> winrt.system.UInt64: ...
123
+ @_property
124
+ def peak_virtual_memory_size_in_bytes(self) -> winrt.system.UInt64: ...
125
+ @_property
126
+ def peak_working_set_size_in_bytes(self) -> winrt.system.UInt64: ...
127
+ @_property
128
+ def private_page_count(self) -> winrt.system.UInt64: ...
129
+ @_property
130
+ def virtual_memory_size_in_bytes(self) -> winrt.system.UInt64: ...
131
+ @_property
132
+ def working_set_size_in_bytes(self) -> winrt.system.UInt64: ...
133
+
134
+ class SystemCpuUsage(winrt.system.Object):
135
+ @staticmethod
136
+ def _from(obj: winrt.system.Object, /) -> SystemCpuUsage: ...
137
+ def get_report(self) -> typing.Optional[SystemCpuUsageReport]: ...
138
+
139
+ class SystemCpuUsageReport(winrt.system.Object):
140
+ @staticmethod
141
+ def _from(obj: winrt.system.Object, /) -> SystemCpuUsageReport: ...
142
+ @_property
143
+ def idle_time(self) -> datetime.timedelta: ...
144
+ @_property
145
+ def kernel_time(self) -> datetime.timedelta: ...
146
+ @_property
147
+ def user_time(self) -> datetime.timedelta: ...
148
+
149
+ class SystemDiagnosticInfo_Static(type):
150
+ def get_for_current_system(cls) -> typing.Optional[SystemDiagnosticInfo]: ...
151
+ def is_architecture_supported(cls, type: winrt.windows.system.ProcessorArchitecture, /) -> bool: ...
152
+ @_property
153
+ def preferred_architecture(cls) -> winrt.windows.system.ProcessorArchitecture: ...
154
+
155
+ class SystemDiagnosticInfo(winrt.system.Object, metaclass=SystemDiagnosticInfo_Static):
156
+ @staticmethod
157
+ def _from(obj: winrt.system.Object, /) -> SystemDiagnosticInfo: ...
158
+ @_property
159
+ def cpu_usage(self) -> typing.Optional[SystemCpuUsage]: ...
160
+ @_property
161
+ def memory_usage(self) -> typing.Optional[SystemMemoryUsage]: ...
162
+
163
+ class SystemMemoryUsage(winrt.system.Object):
164
+ @staticmethod
165
+ def _from(obj: winrt.system.Object, /) -> SystemMemoryUsage: ...
166
+ def get_report(self) -> typing.Optional[SystemMemoryUsageReport]: ...
167
+
168
+ class SystemMemoryUsageReport(winrt.system.Object):
169
+ @staticmethod
170
+ def _from(obj: winrt.system.Object, /) -> SystemMemoryUsageReport: ...
171
+ @_property
172
+ def available_size_in_bytes(self) -> winrt.system.UInt64: ...
173
+ @_property
174
+ def committed_size_in_bytes(self) -> winrt.system.UInt64: ...
175
+ @_property
176
+ def total_physical_size_in_bytes(self) -> winrt.system.UInt64: ...
177
+
@@ -0,0 +1,48 @@
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_diagnostics
7
+
8
+ __all__ = [
9
+ "DiagnosticActionState",
10
+ "DiagnosticActionResult",
11
+ "DiagnosticInvoker",
12
+ "ProcessCpuUsage",
13
+ "ProcessCpuUsageReport",
14
+ "ProcessDiagnosticInfo",
15
+ "ProcessDiskUsage",
16
+ "ProcessDiskUsageReport",
17
+ "ProcessMemoryUsage",
18
+ "ProcessMemoryUsageReport",
19
+ "SystemCpuUsage",
20
+ "SystemCpuUsageReport",
21
+ "SystemDiagnosticInfo",
22
+ "SystemMemoryUsage",
23
+ "SystemMemoryUsageReport",
24
+ ]
25
+
26
+ class DiagnosticActionState(enum.IntEnum):
27
+ INITIALIZING = 0
28
+ DOWNLOADING = 1
29
+ VERIFYING_TRUST = 2
30
+ DETECTING = 3
31
+ RESOLVING = 4
32
+ VERIFYING_RESOLUTION = 5
33
+ EXECUTING = 6
34
+
35
+ DiagnosticActionResult = _winrt_windows_system_diagnostics.DiagnosticActionResult
36
+ DiagnosticInvoker = _winrt_windows_system_diagnostics.DiagnosticInvoker
37
+ ProcessCpuUsage = _winrt_windows_system_diagnostics.ProcessCpuUsage
38
+ ProcessCpuUsageReport = _winrt_windows_system_diagnostics.ProcessCpuUsageReport
39
+ ProcessDiagnosticInfo = _winrt_windows_system_diagnostics.ProcessDiagnosticInfo
40
+ ProcessDiskUsage = _winrt_windows_system_diagnostics.ProcessDiskUsage
41
+ ProcessDiskUsageReport = _winrt_windows_system_diagnostics.ProcessDiskUsageReport
42
+ ProcessMemoryUsage = _winrt_windows_system_diagnostics.ProcessMemoryUsage
43
+ ProcessMemoryUsageReport = _winrt_windows_system_diagnostics.ProcessMemoryUsageReport
44
+ SystemCpuUsage = _winrt_windows_system_diagnostics.SystemCpuUsage
45
+ SystemCpuUsageReport = _winrt_windows_system_diagnostics.SystemCpuUsageReport
46
+ SystemDiagnosticInfo = _winrt_windows_system_diagnostics.SystemDiagnosticInfo
47
+ SystemMemoryUsage = _winrt_windows_system_diagnostics.SystemMemoryUsage
48
+ SystemMemoryUsageReport = _winrt_windows_system_diagnostics.SystemMemoryUsageReport
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.System.Diagnostics
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.Data.Json[all] ==2.0.0-beta.1 ; extra == 'all'
17
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.0.0-beta.1 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.0.0-beta.1 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.System[all] ==2.0.0-beta.1 ; extra == 'all'
20
+
21
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
22
+
23
+ # winrt-Windows.System.Diagnostics
24
+
25
+ Windows Runtime (WinRT) APIs for for the `Windows.System.Diagnostics` namespace.
26
+
27
+ This package provides the `winrt.windows.system.diagnostics` module.
@@ -0,0 +1,7 @@
1
+ winrt/_winrt_windows_system_diagnostics.cp39-win_arm64.pyd,sha256=p5ptf1-W7FuLq5QBcNanqyEUVlAi_HNFNzFEPY5ihQo,236544
2
+ winrt/_winrt_windows_system_diagnostics.pyi,sha256=PEZhGW-YSGJgk5pSLgrcp-JgHMzIQjT4di7rNO9LYk0,7428
3
+ winrt/windows/system/diagnostics/__init__.py,sha256=xt-jW_0H3e4JXQqwYwuN_KvHFaFLYSEtNUHO5sQlw6M,1864
4
+ winrt_Windows.System.Diagnostics-2.0.0b1.dist-info/METADATA,sha256=-UZnMc1TkgKvrEoJW3jb94d_ZePvGptN9iWC-ss7qnk,1253
5
+ winrt_Windows.System.Diagnostics-2.0.0b1.dist-info/WHEEL,sha256=PrHTG687fNsk7jS4Y-tLXN-3gpnf3wReNnzEPkeWHK0,100
6
+ winrt_Windows.System.Diagnostics-2.0.0b1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
7
+ winrt_Windows.System.Diagnostics-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
+