winrt-Windows.System.Diagnostics 3.2.1__cp314-cp314-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,221 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.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 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
+ # Windows.Foundation.HResult Windows.System.Diagnostics.DiagnosticActionResult::get_ExtendedError()
24
+ @_property
25
+ def extended_error(self) -> windows_foundation.HResult: ...
26
+ # Windows.Foundation.Collections.ValueSet Windows.System.Diagnostics.DiagnosticActionResult::get_Results()
27
+ @_property
28
+ def results(self) -> windows_foundation_collections.ValueSet: ...
29
+
30
+ @typing.final
31
+ class DiagnosticInvoker_Static(winrt._winrt.IInspectable_Static):
32
+ # Windows.System.Diagnostics.DiagnosticInvoker Windows.System.Diagnostics.DiagnosticInvoker::GetDefault()
33
+ def get_default(cls) -> DiagnosticInvoker: ...
34
+ # Windows.System.Diagnostics.DiagnosticInvoker Windows.System.Diagnostics.DiagnosticInvoker::GetForUser(Windows.System.User)
35
+ def get_for_user(cls, user: windows_system.User, /) -> DiagnosticInvoker: ...
36
+ # System.Boolean Windows.System.Diagnostics.DiagnosticInvoker::get_IsSupported()
37
+ @_property
38
+ def is_supported(cls) -> bool: ...
39
+
40
+ @typing.final
41
+ class DiagnosticInvoker(winrt.system.Object, metaclass=DiagnosticInvoker_Static):
42
+ # Windows.Foundation.IAsyncOperationWithProgress`2<Windows.System.Diagnostics.DiagnosticActionResult,Windows.System.Diagnostics.DiagnosticActionState> Windows.System.Diagnostics.DiagnosticInvoker::RunDiagnosticActionAsync(Windows.Data.Json.JsonObject)
43
+ def run_diagnostic_action_async(self, context: windows_data_json.JsonObject, /) -> windows_foundation.IAsyncOperationWithProgress[DiagnosticActionResult, DiagnosticActionState]: ...
44
+ # Windows.Foundation.IAsyncOperationWithProgress`2<Windows.System.Diagnostics.DiagnosticActionResult,Windows.System.Diagnostics.DiagnosticActionState> Windows.System.Diagnostics.DiagnosticInvoker::RunDiagnosticActionFromStringAsync(System.String)
45
+ def run_diagnostic_action_from_string_async(self, context: str, /) -> windows_foundation.IAsyncOperationWithProgress[DiagnosticActionResult, DiagnosticActionState]: ...
46
+
47
+ @typing.final
48
+ class ProcessCpuUsage(winrt.system.Object):
49
+ # Windows.System.Diagnostics.ProcessCpuUsageReport Windows.System.Diagnostics.ProcessCpuUsage::GetReport()
50
+ def get_report(self) -> ProcessCpuUsageReport: ...
51
+
52
+ @typing.final
53
+ class ProcessCpuUsageReport(winrt.system.Object):
54
+ # Windows.Foundation.TimeSpan Windows.System.Diagnostics.ProcessCpuUsageReport::get_KernelTime()
55
+ @_property
56
+ def kernel_time(self) -> datetime.timedelta: ...
57
+ # Windows.Foundation.TimeSpan Windows.System.Diagnostics.ProcessCpuUsageReport::get_UserTime()
58
+ @_property
59
+ def user_time(self) -> datetime.timedelta: ...
60
+
61
+ @typing.final
62
+ class ProcessDiagnosticInfo_Static(winrt._winrt.IInspectable_Static):
63
+ # Windows.System.Diagnostics.ProcessDiagnosticInfo Windows.System.Diagnostics.ProcessDiagnosticInfo::GetForCurrentProcess()
64
+ def get_for_current_process(cls) -> ProcessDiagnosticInfo: ...
65
+ # Windows.Foundation.Collections.IVectorView`1<Windows.System.Diagnostics.ProcessDiagnosticInfo> Windows.System.Diagnostics.ProcessDiagnosticInfo::GetForProcesses()
66
+ def get_for_processes(cls) -> typing.Sequence[ProcessDiagnosticInfo]: ...
67
+ # Windows.System.Diagnostics.ProcessDiagnosticInfo Windows.System.Diagnostics.ProcessDiagnosticInfo::TryGetForProcessId(System.UInt32)
68
+ def try_get_for_process_id(cls, process_id: winrt.system.UInt32, /) -> typing.Optional[ProcessDiagnosticInfo]: ...
69
+
70
+ @typing.final
71
+ class ProcessDiagnosticInfo(winrt.system.Object, metaclass=ProcessDiagnosticInfo_Static):
72
+ # Windows.Foundation.Collections.IVector`1<Windows.System.AppDiagnosticInfo> Windows.System.Diagnostics.ProcessDiagnosticInfo::GetAppDiagnosticInfos()
73
+ def get_app_diagnostic_infos(self) -> typing.MutableSequence[windows_system.AppDiagnosticInfo]: ...
74
+ # Windows.System.Diagnostics.ProcessCpuUsage Windows.System.Diagnostics.ProcessDiagnosticInfo::get_CpuUsage()
75
+ @_property
76
+ def cpu_usage(self) -> ProcessCpuUsage: ...
77
+ # Windows.System.Diagnostics.ProcessDiskUsage Windows.System.Diagnostics.ProcessDiagnosticInfo::get_DiskUsage()
78
+ @_property
79
+ def disk_usage(self) -> ProcessDiskUsage: ...
80
+ # System.String Windows.System.Diagnostics.ProcessDiagnosticInfo::get_ExecutableFileName()
81
+ @_property
82
+ def executable_file_name(self) -> str: ...
83
+ # Windows.System.Diagnostics.ProcessMemoryUsage Windows.System.Diagnostics.ProcessDiagnosticInfo::get_MemoryUsage()
84
+ @_property
85
+ def memory_usage(self) -> ProcessMemoryUsage: ...
86
+ # Windows.System.Diagnostics.ProcessDiagnosticInfo Windows.System.Diagnostics.ProcessDiagnosticInfo::get_Parent()
87
+ @_property
88
+ def parent(self) -> ProcessDiagnosticInfo: ...
89
+ # System.UInt32 Windows.System.Diagnostics.ProcessDiagnosticInfo::get_ProcessId()
90
+ @_property
91
+ def process_id(self) -> winrt.system.UInt32: ...
92
+ # Windows.Foundation.DateTime Windows.System.Diagnostics.ProcessDiagnosticInfo::get_ProcessStartTime()
93
+ @_property
94
+ def process_start_time(self) -> datetime.datetime: ...
95
+ # System.Boolean Windows.System.Diagnostics.ProcessDiagnosticInfo::get_IsPackaged()
96
+ @_property
97
+ def is_packaged(self) -> bool: ...
98
+
99
+ @typing.final
100
+ class ProcessDiskUsage(winrt.system.Object):
101
+ # Windows.System.Diagnostics.ProcessDiskUsageReport Windows.System.Diagnostics.ProcessDiskUsage::GetReport()
102
+ def get_report(self) -> ProcessDiskUsageReport: ...
103
+
104
+ @typing.final
105
+ class ProcessDiskUsageReport(winrt.system.Object):
106
+ # System.Int64 Windows.System.Diagnostics.ProcessDiskUsageReport::get_BytesReadCount()
107
+ @_property
108
+ def bytes_read_count(self) -> winrt.system.Int64: ...
109
+ # System.Int64 Windows.System.Diagnostics.ProcessDiskUsageReport::get_BytesWrittenCount()
110
+ @_property
111
+ def bytes_written_count(self) -> winrt.system.Int64: ...
112
+ # System.Int64 Windows.System.Diagnostics.ProcessDiskUsageReport::get_OtherBytesCount()
113
+ @_property
114
+ def other_bytes_count(self) -> winrt.system.Int64: ...
115
+ # System.Int64 Windows.System.Diagnostics.ProcessDiskUsageReport::get_OtherOperationCount()
116
+ @_property
117
+ def other_operation_count(self) -> winrt.system.Int64: ...
118
+ # System.Int64 Windows.System.Diagnostics.ProcessDiskUsageReport::get_ReadOperationCount()
119
+ @_property
120
+ def read_operation_count(self) -> winrt.system.Int64: ...
121
+ # System.Int64 Windows.System.Diagnostics.ProcessDiskUsageReport::get_WriteOperationCount()
122
+ @_property
123
+ def write_operation_count(self) -> winrt.system.Int64: ...
124
+
125
+ @typing.final
126
+ class ProcessMemoryUsage(winrt.system.Object):
127
+ # Windows.System.Diagnostics.ProcessMemoryUsageReport Windows.System.Diagnostics.ProcessMemoryUsage::GetReport()
128
+ def get_report(self) -> ProcessMemoryUsageReport: ...
129
+
130
+ @typing.final
131
+ class ProcessMemoryUsageReport(winrt.system.Object):
132
+ # System.UInt64 Windows.System.Diagnostics.ProcessMemoryUsageReport::get_NonPagedPoolSizeInBytes()
133
+ @_property
134
+ def non_paged_pool_size_in_bytes(self) -> winrt.system.UInt64: ...
135
+ # System.UInt32 Windows.System.Diagnostics.ProcessMemoryUsageReport::get_PageFaultCount()
136
+ @_property
137
+ def page_fault_count(self) -> winrt.system.UInt32: ...
138
+ # System.UInt64 Windows.System.Diagnostics.ProcessMemoryUsageReport::get_PageFileSizeInBytes()
139
+ @_property
140
+ def page_file_size_in_bytes(self) -> winrt.system.UInt64: ...
141
+ # System.UInt64 Windows.System.Diagnostics.ProcessMemoryUsageReport::get_PagedPoolSizeInBytes()
142
+ @_property
143
+ def paged_pool_size_in_bytes(self) -> winrt.system.UInt64: ...
144
+ # System.UInt64 Windows.System.Diagnostics.ProcessMemoryUsageReport::get_PeakNonPagedPoolSizeInBytes()
145
+ @_property
146
+ def peak_non_paged_pool_size_in_bytes(self) -> winrt.system.UInt64: ...
147
+ # System.UInt64 Windows.System.Diagnostics.ProcessMemoryUsageReport::get_PeakPageFileSizeInBytes()
148
+ @_property
149
+ def peak_page_file_size_in_bytes(self) -> winrt.system.UInt64: ...
150
+ # System.UInt64 Windows.System.Diagnostics.ProcessMemoryUsageReport::get_PeakPagedPoolSizeInBytes()
151
+ @_property
152
+ def peak_paged_pool_size_in_bytes(self) -> winrt.system.UInt64: ...
153
+ # System.UInt64 Windows.System.Diagnostics.ProcessMemoryUsageReport::get_PeakVirtualMemorySizeInBytes()
154
+ @_property
155
+ def peak_virtual_memory_size_in_bytes(self) -> winrt.system.UInt64: ...
156
+ # System.UInt64 Windows.System.Diagnostics.ProcessMemoryUsageReport::get_PeakWorkingSetSizeInBytes()
157
+ @_property
158
+ def peak_working_set_size_in_bytes(self) -> winrt.system.UInt64: ...
159
+ # System.UInt64 Windows.System.Diagnostics.ProcessMemoryUsageReport::get_PrivatePageCount()
160
+ @_property
161
+ def private_page_count(self) -> winrt.system.UInt64: ...
162
+ # System.UInt64 Windows.System.Diagnostics.ProcessMemoryUsageReport::get_VirtualMemorySizeInBytes()
163
+ @_property
164
+ def virtual_memory_size_in_bytes(self) -> winrt.system.UInt64: ...
165
+ # System.UInt64 Windows.System.Diagnostics.ProcessMemoryUsageReport::get_WorkingSetSizeInBytes()
166
+ @_property
167
+ def working_set_size_in_bytes(self) -> winrt.system.UInt64: ...
168
+
169
+ @typing.final
170
+ class SystemCpuUsage(winrt.system.Object):
171
+ # Windows.System.Diagnostics.SystemCpuUsageReport Windows.System.Diagnostics.SystemCpuUsage::GetReport()
172
+ def get_report(self) -> SystemCpuUsageReport: ...
173
+
174
+ @typing.final
175
+ class SystemCpuUsageReport(winrt.system.Object):
176
+ # Windows.Foundation.TimeSpan Windows.System.Diagnostics.SystemCpuUsageReport::get_IdleTime()
177
+ @_property
178
+ def idle_time(self) -> datetime.timedelta: ...
179
+ # Windows.Foundation.TimeSpan Windows.System.Diagnostics.SystemCpuUsageReport::get_KernelTime()
180
+ @_property
181
+ def kernel_time(self) -> datetime.timedelta: ...
182
+ # Windows.Foundation.TimeSpan Windows.System.Diagnostics.SystemCpuUsageReport::get_UserTime()
183
+ @_property
184
+ def user_time(self) -> datetime.timedelta: ...
185
+
186
+ @typing.final
187
+ class SystemDiagnosticInfo_Static(winrt._winrt.IInspectable_Static):
188
+ # Windows.System.Diagnostics.SystemDiagnosticInfo Windows.System.Diagnostics.SystemDiagnosticInfo::GetForCurrentSystem()
189
+ def get_for_current_system(cls) -> SystemDiagnosticInfo: ...
190
+ # System.Boolean Windows.System.Diagnostics.SystemDiagnosticInfo::IsArchitectureSupported(Windows.System.ProcessorArchitecture)
191
+ def is_architecture_supported(cls, type: windows_system.ProcessorArchitecture, /) -> bool: ...
192
+ # Windows.System.ProcessorArchitecture Windows.System.Diagnostics.SystemDiagnosticInfo::get_PreferredArchitecture()
193
+ @_property
194
+ def preferred_architecture(cls) -> windows_system.ProcessorArchitecture: ...
195
+
196
+ @typing.final
197
+ class SystemDiagnosticInfo(winrt.system.Object, metaclass=SystemDiagnosticInfo_Static):
198
+ # Windows.System.Diagnostics.SystemCpuUsage Windows.System.Diagnostics.SystemDiagnosticInfo::get_CpuUsage()
199
+ @_property
200
+ def cpu_usage(self) -> SystemCpuUsage: ...
201
+ # Windows.System.Diagnostics.SystemMemoryUsage Windows.System.Diagnostics.SystemDiagnosticInfo::get_MemoryUsage()
202
+ @_property
203
+ def memory_usage(self) -> SystemMemoryUsage: ...
204
+
205
+ @typing.final
206
+ class SystemMemoryUsage(winrt.system.Object):
207
+ # Windows.System.Diagnostics.SystemMemoryUsageReport Windows.System.Diagnostics.SystemMemoryUsage::GetReport()
208
+ def get_report(self) -> SystemMemoryUsageReport: ...
209
+
210
+ @typing.final
211
+ class SystemMemoryUsageReport(winrt.system.Object):
212
+ # System.UInt64 Windows.System.Diagnostics.SystemMemoryUsageReport::get_AvailableSizeInBytes()
213
+ @_property
214
+ def available_size_in_bytes(self) -> winrt.system.UInt64: ...
215
+ # System.UInt64 Windows.System.Diagnostics.SystemMemoryUsageReport::get_CommittedSizeInBytes()
216
+ @_property
217
+ def committed_size_in_bytes(self) -> winrt.system.UInt64: ...
218
+ # System.UInt64 Windows.System.Diagnostics.SystemMemoryUsageReport::get_TotalPhysicalSizeInBytes()
219
+ @_property
220
+ def total_physical_size_in_bytes(self) -> winrt.system.UInt64: ...
221
+
@@ -0,0 +1,49 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt._winrt_windows_system_diagnostics import (
7
+ DiagnosticActionResult,
8
+ DiagnosticInvoker,
9
+ ProcessCpuUsage,
10
+ ProcessCpuUsageReport,
11
+ ProcessDiagnosticInfo,
12
+ ProcessDiskUsage,
13
+ ProcessDiskUsageReport,
14
+ ProcessMemoryUsage,
15
+ ProcessMemoryUsageReport,
16
+ SystemCpuUsage,
17
+ SystemCpuUsageReport,
18
+ SystemDiagnosticInfo,
19
+ SystemMemoryUsage,
20
+ SystemMemoryUsageReport,
21
+ )
22
+
23
+ __all__ = [
24
+ "DiagnosticActionState",
25
+ "DiagnosticActionResult",
26
+ "DiagnosticInvoker",
27
+ "ProcessCpuUsage",
28
+ "ProcessCpuUsageReport",
29
+ "ProcessDiagnosticInfo",
30
+ "ProcessDiskUsage",
31
+ "ProcessDiskUsageReport",
32
+ "ProcessMemoryUsage",
33
+ "ProcessMemoryUsageReport",
34
+ "SystemCpuUsage",
35
+ "SystemCpuUsageReport",
36
+ "SystemDiagnosticInfo",
37
+ "SystemMemoryUsage",
38
+ "SystemMemoryUsageReport",
39
+ ]
40
+
41
+ class DiagnosticActionState(enum.IntEnum):
42
+ INITIALIZING = 0
43
+ DOWNLOADING = 1
44
+ VERIFYING_TRUST = 2
45
+ DETECTING = 3
46
+ RESOLVING = 4
47
+ VERIFYING_RESOLUTION = 5
48
+ EXECUTING = 6
49
+
File without changes
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.System.Diagnostics
3
+ Version: 3.2.1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License-Expression: 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.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime~=3.2.1.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Data.Json[all]~=3.2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.System[all]~=3.2.1.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.cp314-win_amd64.pyd,sha256=B_d_ylDOYDdY12KHAyHz11uZOGIvJ_mF2QBoVElPDBs,174080
2
+ winrt/_winrt_windows_system_diagnostics.pyi,sha256=3y3Y8q_T61UXh0mdbk10XEbo9qlRpytWUCbteURfq1s,12377
3
+ winrt/windows/system/diagnostics/__init__.py,sha256=l8UkcWk91-07hTfzDC3dDJU-NVQOJPzVAOjGSNEcXOg,1143
4
+ winrt/windows/system/diagnostics/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_system_diagnostics-3.2.1.dist-info/METADATA,sha256=xBR8uvZzl9flSoo6635fM9I30OTJ6C1_jbvU52YP8bQ,1281
6
+ winrt_windows_system_diagnostics-3.2.1.dist-info/WHEEL,sha256=7k6Wcy588iJYe5lf5K095NLg-uoBTnE-T8eHJ92G4_4,101
7
+ winrt_windows_system_diagnostics-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_system_diagnostics-3.2.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314-win_amd64
5
+