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