HardwareMonitor 1.0.0__py3-none-any.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.
- HardwareMonitor/Hardware/CPU/__init__.py +3 -0
- HardwareMonitor/Hardware/CPU/__init__.pyi +63 -0
- HardwareMonitor/Hardware/Controller/AeroCool/__init__.py +3 -0
- HardwareMonitor/Hardware/Controller/AeroCool/__init__.pyi +10 -0
- HardwareMonitor/Hardware/Controller/AquaComputer/__init__.py +3 -0
- HardwareMonitor/Hardware/Controller/AquaComputer/__init__.pyi +10 -0
- HardwareMonitor/Hardware/Controller/__init__.py +0 -0
- HardwareMonitor/Hardware/Gpu/__init__.py +3 -0
- HardwareMonitor/Hardware/Gpu/__init__.pyi +6 -0
- HardwareMonitor/Hardware/Motherboard/Lpc/EC/__init__.py +3 -0
- HardwareMonitor/Hardware/Motherboard/Lpc/EC/__init__.pyi +65 -0
- HardwareMonitor/Hardware/Motherboard/Lpc/__init__.py +0 -0
- HardwareMonitor/Hardware/Motherboard/__init__.py +3 -0
- HardwareMonitor/Hardware/Motherboard/__init__.pyi +235 -0
- HardwareMonitor/Hardware/Psu/Corsair/__init__.py +3 -0
- HardwareMonitor/Hardware/Psu/Corsair/__init__.pyi +14 -0
- HardwareMonitor/Hardware/Psu/__init__.py +0 -0
- HardwareMonitor/Hardware/Storage/__init__.py +3 -0
- HardwareMonitor/Hardware/Storage/__init__.pyi +405 -0
- HardwareMonitor/Hardware/__init__.py +3 -0
- HardwareMonitor/Hardware/__init__.pyi +948 -0
- HardwareMonitor/Interop/__init__.py +3 -0
- HardwareMonitor/Interop/__init__.pyi +29 -0
- HardwareMonitor/Software/__init__.py +3 -0
- HardwareMonitor/Software/__init__.pyi +9 -0
- HardwareMonitor/Util.py +193 -0
- HardwareMonitor/__init__.py +21 -0
- HardwareMonitor/_util/types.pyi +239 -0
- HardwareMonitor/lib/HidSharp.dll +0 -0
- HardwareMonitor/lib/LICENSE +373 -0
- HardwareMonitor/lib/LibreHardwareMonitorLib.dll +0 -0
- HardwareMonitor-1.0.0.dist-info/LICENSE +29 -0
- HardwareMonitor-1.0.0.dist-info/METADATA +186 -0
- HardwareMonitor-1.0.0.dist-info/RECORD +36 -0
- HardwareMonitor-1.0.0.dist-info/WHEEL +5 -0
- HardwareMonitor-1.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
from HardwareMonitor.Hardware import Hardware, ISettings, IVisitor, ParameterDescription
|
|
2
|
+
from HardwareMonitor._util.types import AsyncCallback, Byte, IAsyncResult, IReadOnlyList, Int16, IntPtr, Nullable, Object, Single, UInt16, UInt32, UInt64
|
|
3
|
+
from typing import Set, Tuple, overload
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AbstractStorage(Hardware):
|
|
7
|
+
def Close(self) -> None: ...
|
|
8
|
+
def CreateInstance(deviceId: str, driveNumber: UInt32, diskSize: UInt64, scsiPort: int, settings: ISettings) -> AbstractStorage: ...
|
|
9
|
+
@property
|
|
10
|
+
def DriveInfos(self) -> Set[DriveInfo]: ...
|
|
11
|
+
@property
|
|
12
|
+
def FirmwareRevision(self) -> str: ...
|
|
13
|
+
@property
|
|
14
|
+
def HardwareType(self) -> HardwareType: ...
|
|
15
|
+
@property
|
|
16
|
+
def Index(self) -> int: ...
|
|
17
|
+
def GetReport(self) -> str: ...
|
|
18
|
+
def Traverse(self, visitor: IVisitor) -> None: ...
|
|
19
|
+
def Update(self) -> None: ...
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class AtaStorage(AbstractStorage):
|
|
23
|
+
def Close(self) -> None: ...
|
|
24
|
+
@property
|
|
25
|
+
def Smart(self) -> ISmart: ...
|
|
26
|
+
@property
|
|
27
|
+
def SmartAttributes(self) -> IReadOnlyList: ...
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class GenericHardDisk(AtaStorage):
|
|
31
|
+
pass
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class ISmart:
|
|
35
|
+
def Close(self) -> None: ...
|
|
36
|
+
def EnableSmart(self) -> bool: ...
|
|
37
|
+
@property
|
|
38
|
+
def IsValid(self) -> bool: ...
|
|
39
|
+
def ReadNameAndFirmwareRevision(self) -> Tuple[bool, str, str]: ...
|
|
40
|
+
def ReadSmartData(self) -> Set[SMART_ATTRIBUTE]: ...
|
|
41
|
+
def ReadSmartThresholds(self) -> Set[SMART_THRESHOLD]: ...
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class NVMeGeneric(AbstractStorage):
|
|
45
|
+
def Close(self) -> None: ...
|
|
46
|
+
@property
|
|
47
|
+
def Smart(self) -> NVMeSmart: ...
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class NVMeHealthInfo:
|
|
51
|
+
@property
|
|
52
|
+
def AvailableSpare(self) -> Byte: ...
|
|
53
|
+
@property
|
|
54
|
+
def AvailableSpareThreshold(self) -> Byte: ...
|
|
55
|
+
@property
|
|
56
|
+
def ControllerBusyTime(self) -> UInt64: ...
|
|
57
|
+
@property
|
|
58
|
+
def CriticalCompositeTemperatureTime(self) -> UInt32: ...
|
|
59
|
+
@property
|
|
60
|
+
def CriticalWarning(self) -> NVME_CRITICAL_WARNING: ...
|
|
61
|
+
@property
|
|
62
|
+
def DataUnitRead(self) -> UInt64: ...
|
|
63
|
+
@property
|
|
64
|
+
def DataUnitWritten(self) -> UInt64: ...
|
|
65
|
+
@property
|
|
66
|
+
def ErrorInfoLogEntryCount(self) -> UInt64: ...
|
|
67
|
+
@property
|
|
68
|
+
def HostReadCommands(self) -> UInt64: ...
|
|
69
|
+
@property
|
|
70
|
+
def HostWriteCommands(self) -> UInt64: ...
|
|
71
|
+
@property
|
|
72
|
+
def MediaErrors(self) -> UInt64: ...
|
|
73
|
+
@property
|
|
74
|
+
def PercentageUsed(self) -> Byte: ...
|
|
75
|
+
@property
|
|
76
|
+
def PowerCycle(self) -> UInt64: ...
|
|
77
|
+
@property
|
|
78
|
+
def PowerOnHours(self) -> UInt64: ...
|
|
79
|
+
@property
|
|
80
|
+
def Temperature(self) -> Int16: ...
|
|
81
|
+
@property
|
|
82
|
+
def TemperatureSensors(self) -> Set[Int16]: ...
|
|
83
|
+
@property
|
|
84
|
+
def UnsafeShutdowns(self) -> UInt64: ...
|
|
85
|
+
@property
|
|
86
|
+
def WarningCompositeTemperatureTime(self) -> UInt32: ...
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
class NVMeInfo:
|
|
90
|
+
@property
|
|
91
|
+
def ControllerId(self) -> UInt16: ...
|
|
92
|
+
@property
|
|
93
|
+
def IEEE(self) -> Set[Byte]: ...
|
|
94
|
+
@property
|
|
95
|
+
def Index(self) -> int: ...
|
|
96
|
+
@property
|
|
97
|
+
def Model(self) -> str: ...
|
|
98
|
+
@property
|
|
99
|
+
def NumberNamespaces(self) -> UInt32: ...
|
|
100
|
+
@property
|
|
101
|
+
def Revision(self) -> str: ...
|
|
102
|
+
@property
|
|
103
|
+
def Serial(self) -> str: ...
|
|
104
|
+
@property
|
|
105
|
+
def SSVID(self) -> UInt16: ...
|
|
106
|
+
@property
|
|
107
|
+
def TotalCapacity(self) -> UInt64: ...
|
|
108
|
+
@property
|
|
109
|
+
def UnallocatedCapacity(self) -> UInt64: ...
|
|
110
|
+
@property
|
|
111
|
+
def VID(self) -> UInt16: ...
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
class NVMeSmart:
|
|
115
|
+
def Close(self) -> None: ...
|
|
116
|
+
def Dispose(self) -> None: ...
|
|
117
|
+
@property
|
|
118
|
+
def IsValid(self) -> bool: ...
|
|
119
|
+
def GetHealthInfo(self) -> NVMeHealthInfo: ...
|
|
120
|
+
def GetInfo(self) -> NVMeInfo: ...
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
class RawValueConversion:
|
|
124
|
+
def __init__(self, object: Object, method: IntPtr): ...
|
|
125
|
+
def BeginInvoke(self, rawValue: Set[Byte], value: Byte, parameters: IReadOnlyList, callback: AsyncCallback, object: Object) -> IAsyncResult: ...
|
|
126
|
+
def EndInvoke(self, result: IAsyncResult) -> Single: ...
|
|
127
|
+
def Invoke(self, rawValue: Set[Byte], value: Byte, parameters: IReadOnlyList) -> Single: ...
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
class SmartAttribute:
|
|
131
|
+
@overload
|
|
132
|
+
def __init__(self, id: Byte, name: str): ...
|
|
133
|
+
@overload
|
|
134
|
+
def __init__(self, id: Byte, name: str, rawValueConversion: RawValueConversion): ...
|
|
135
|
+
@overload
|
|
136
|
+
def __init__(self, id: Byte, name: str, rawValueConversion: RawValueConversion, sensorType: Nullable, sensorChannel: int, sensorName: str, defaultHiddenSensor: bool, parameterDescriptions: Set[ParameterDescription]): ...
|
|
137
|
+
@property
|
|
138
|
+
def DefaultHiddenSensor(self) -> bool: ...
|
|
139
|
+
@property
|
|
140
|
+
def HasRawValueConversion(self) -> bool: ...
|
|
141
|
+
@property
|
|
142
|
+
def Id(self) -> Byte: ...
|
|
143
|
+
@property
|
|
144
|
+
def Name(self) -> str: ...
|
|
145
|
+
@property
|
|
146
|
+
def ParameterDescriptions(self) -> Set[ParameterDescription]: ...
|
|
147
|
+
@property
|
|
148
|
+
def SensorChannel(self) -> int: ...
|
|
149
|
+
@property
|
|
150
|
+
def SensorName(self) -> str: ...
|
|
151
|
+
@property
|
|
152
|
+
def SensorType(self) -> Nullable: ...
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
class SmartNames:
|
|
156
|
+
@property
|
|
157
|
+
def AirflowTemperature() -> str: ...
|
|
158
|
+
@property
|
|
159
|
+
def AlternativeEraseFailCount() -> str: ...
|
|
160
|
+
@property
|
|
161
|
+
def AlternativeGSenseErrorRate() -> str: ...
|
|
162
|
+
@property
|
|
163
|
+
def AlternativeProgramFailCount() -> str: ...
|
|
164
|
+
@property
|
|
165
|
+
def AvailableReservedSpace() -> str: ...
|
|
166
|
+
@property
|
|
167
|
+
def AverageEraseCount() -> str: ...
|
|
168
|
+
@property
|
|
169
|
+
def BadBlockFullFlag() -> str: ...
|
|
170
|
+
@property
|
|
171
|
+
def BitErrors() -> str: ...
|
|
172
|
+
@property
|
|
173
|
+
def CalibrationRetryCount() -> str: ...
|
|
174
|
+
@property
|
|
175
|
+
def CommandTimeout() -> str: ...
|
|
176
|
+
@property
|
|
177
|
+
def ControllerWritesToNand() -> str: ...
|
|
178
|
+
@property
|
|
179
|
+
def CorrectedErrors() -> str: ...
|
|
180
|
+
@property
|
|
181
|
+
def CrcErrorCount() -> str: ...
|
|
182
|
+
@property
|
|
183
|
+
def CurrentPendingSectorCount() -> str: ...
|
|
184
|
+
@property
|
|
185
|
+
def DataAddressMarkErrors() -> str: ...
|
|
186
|
+
@property
|
|
187
|
+
def DiskShift() -> str: ...
|
|
188
|
+
@property
|
|
189
|
+
def DriveTemperature() -> str: ...
|
|
190
|
+
@property
|
|
191
|
+
def EccRate() -> str: ...
|
|
192
|
+
@property
|
|
193
|
+
def EmergencyRetractCycleCount() -> str: ...
|
|
194
|
+
@property
|
|
195
|
+
def EndToEndError() -> str: ...
|
|
196
|
+
@property
|
|
197
|
+
def EnduranceRemaining() -> str: ...
|
|
198
|
+
@property
|
|
199
|
+
def EraseFailCount() -> str: ...
|
|
200
|
+
@property
|
|
201
|
+
def EraseFailCountChip() -> str: ...
|
|
202
|
+
@property
|
|
203
|
+
def EraseFailCountTotal() -> str: ...
|
|
204
|
+
@property
|
|
205
|
+
def EraseFailure() -> str: ...
|
|
206
|
+
@property
|
|
207
|
+
def ErrorCorrectionCount() -> str: ...
|
|
208
|
+
@property
|
|
209
|
+
def ExceptionModeStatus() -> str: ...
|
|
210
|
+
@property
|
|
211
|
+
def FactoryBadBlockCount() -> str: ...
|
|
212
|
+
@property
|
|
213
|
+
def FlyingHeight() -> str: ...
|
|
214
|
+
@property
|
|
215
|
+
def FreeFallProtection() -> str: ...
|
|
216
|
+
@property
|
|
217
|
+
def FTLProgramNANDPagesCount() -> str: ...
|
|
218
|
+
@property
|
|
219
|
+
def GmrHeadAmplitude() -> str: ...
|
|
220
|
+
@property
|
|
221
|
+
def GSenseErrorRate() -> str: ...
|
|
222
|
+
@property
|
|
223
|
+
def HardwareEccRecovered() -> str: ...
|
|
224
|
+
@property
|
|
225
|
+
def HeadFlyingHours() -> str: ...
|
|
226
|
+
@property
|
|
227
|
+
def HeadStability() -> str: ...
|
|
228
|
+
@property
|
|
229
|
+
def HighFlyWrites() -> str: ...
|
|
230
|
+
@property
|
|
231
|
+
def HostProgramNANDPagesCount() -> str: ...
|
|
232
|
+
@property
|
|
233
|
+
def HostReads() -> str: ...
|
|
234
|
+
@property
|
|
235
|
+
def HostWrites() -> str: ...
|
|
236
|
+
@property
|
|
237
|
+
def HostWritesToController() -> str: ...
|
|
238
|
+
@property
|
|
239
|
+
def InducedOpVibrationDetection() -> str: ...
|
|
240
|
+
@property
|
|
241
|
+
def InitialBadBlockCount() -> str: ...
|
|
242
|
+
@property
|
|
243
|
+
def LoadCycleCount() -> str: ...
|
|
244
|
+
@property
|
|
245
|
+
def LoadedHours() -> str: ...
|
|
246
|
+
@property
|
|
247
|
+
def LoadFriction() -> str: ...
|
|
248
|
+
@property
|
|
249
|
+
def LoadInTime() -> str: ...
|
|
250
|
+
@property
|
|
251
|
+
def LoadUnloadCycleCount() -> str: ...
|
|
252
|
+
@property
|
|
253
|
+
def LoadUnloadCycleCountFujitsu() -> str: ...
|
|
254
|
+
@property
|
|
255
|
+
def LoadUnloadRetryCount() -> str: ...
|
|
256
|
+
@property
|
|
257
|
+
def MaxCellCycles() -> str: ...
|
|
258
|
+
@property
|
|
259
|
+
def MaxErase() -> str: ...
|
|
260
|
+
@property
|
|
261
|
+
def MediaWearOutIndicator() -> str: ...
|
|
262
|
+
@property
|
|
263
|
+
def MinErase() -> str: ...
|
|
264
|
+
@property
|
|
265
|
+
def MultiZoneErrorRate() -> str: ...
|
|
266
|
+
@property
|
|
267
|
+
def NewFailingBlockCount() -> str: ...
|
|
268
|
+
@property
|
|
269
|
+
def Non4KAlignedAccess() -> str: ...
|
|
270
|
+
@property
|
|
271
|
+
def OfflineSeekPerformance() -> str: ...
|
|
272
|
+
@property
|
|
273
|
+
def OffLineUncorrectableErrorCount() -> str: ...
|
|
274
|
+
@property
|
|
275
|
+
def PowerCycleCount() -> str: ...
|
|
276
|
+
@property
|
|
277
|
+
def PowerOffRetractCycle() -> str: ...
|
|
278
|
+
@property
|
|
279
|
+
def PowerOnHours() -> str: ...
|
|
280
|
+
@property
|
|
281
|
+
def PowerRecoveryCount() -> str: ...
|
|
282
|
+
@property
|
|
283
|
+
def ProgramFailCount() -> str: ...
|
|
284
|
+
@property
|
|
285
|
+
def ProgramFailCountChip() -> str: ...
|
|
286
|
+
@property
|
|
287
|
+
def ProgramFailCountTotal() -> str: ...
|
|
288
|
+
@property
|
|
289
|
+
def ProgramFailure() -> str: ...
|
|
290
|
+
@property
|
|
291
|
+
def RawReadErrorRate() -> str: ...
|
|
292
|
+
@property
|
|
293
|
+
def ReadChannelMargin() -> str: ...
|
|
294
|
+
@property
|
|
295
|
+
def ReadCommands() -> str: ...
|
|
296
|
+
@property
|
|
297
|
+
def ReadErrorRate() -> str: ...
|
|
298
|
+
@property
|
|
299
|
+
def ReadErrorRetryRate() -> str: ...
|
|
300
|
+
@property
|
|
301
|
+
def ReadFailure() -> str: ...
|
|
302
|
+
@property
|
|
303
|
+
def ReallocatedNANDBlockCount() -> str: ...
|
|
304
|
+
@property
|
|
305
|
+
def ReallocatedSectorsCount() -> str: ...
|
|
306
|
+
@property
|
|
307
|
+
def ReallocationEventCount() -> str: ...
|
|
308
|
+
@property
|
|
309
|
+
def RecalibrationRetries() -> str: ...
|
|
310
|
+
@property
|
|
311
|
+
def RemainingLife() -> str: ...
|
|
312
|
+
@property
|
|
313
|
+
def ReportedUncorrectableErrors() -> str: ...
|
|
314
|
+
@property
|
|
315
|
+
def RetiredBlockCount() -> str: ...
|
|
316
|
+
@property
|
|
317
|
+
def RunOutCancel() -> str: ...
|
|
318
|
+
@property
|
|
319
|
+
def RuntimeBadBlockTotal() -> str: ...
|
|
320
|
+
@property
|
|
321
|
+
def SataDownshiftErrorCount() -> str: ...
|
|
322
|
+
@property
|
|
323
|
+
def SataErrorCountCrc() -> str: ...
|
|
324
|
+
@property
|
|
325
|
+
def SataErrorCountHandshake() -> str: ...
|
|
326
|
+
@property
|
|
327
|
+
def SectorsRead() -> str: ...
|
|
328
|
+
@property
|
|
329
|
+
def SectorsWritten() -> str: ...
|
|
330
|
+
@property
|
|
331
|
+
def SeekErrorRate() -> str: ...
|
|
332
|
+
@property
|
|
333
|
+
def SeekTimePerformance() -> str: ...
|
|
334
|
+
@property
|
|
335
|
+
def ShockDuringWrite() -> str: ...
|
|
336
|
+
@property
|
|
337
|
+
def SoftEccCorrection() -> str: ...
|
|
338
|
+
@property
|
|
339
|
+
def SoftReadErrorRate() -> str: ...
|
|
340
|
+
@property
|
|
341
|
+
def SpinBuzz() -> str: ...
|
|
342
|
+
@property
|
|
343
|
+
def SpinHighCurrent() -> str: ...
|
|
344
|
+
@property
|
|
345
|
+
def SpinRetryCount() -> str: ...
|
|
346
|
+
@property
|
|
347
|
+
def SpinUpTime() -> str: ...
|
|
348
|
+
@property
|
|
349
|
+
def StartStopCount() -> str: ...
|
|
350
|
+
@property
|
|
351
|
+
def SuccessfulRAINRecoveryCount() -> str: ...
|
|
352
|
+
@property
|
|
353
|
+
def SupercapStatus() -> str: ...
|
|
354
|
+
@property
|
|
355
|
+
def TaCounterDetected() -> str: ...
|
|
356
|
+
@property
|
|
357
|
+
def Temperature() -> str: ...
|
|
358
|
+
@property
|
|
359
|
+
def TemperatureDifferenceFrom100() -> str: ...
|
|
360
|
+
@property
|
|
361
|
+
def TemperatureExceedCount() -> str: ...
|
|
362
|
+
@property
|
|
363
|
+
def ThermalAsperityRate() -> str: ...
|
|
364
|
+
@property
|
|
365
|
+
def ThroughputPerformance() -> str: ...
|
|
366
|
+
@property
|
|
367
|
+
def TorqueAmplificationCount() -> str: ...
|
|
368
|
+
@property
|
|
369
|
+
def TotalLbasRead() -> str: ...
|
|
370
|
+
@property
|
|
371
|
+
def TotalLbasWritten() -> str: ...
|
|
372
|
+
@property
|
|
373
|
+
def TransferErrorRate() -> str: ...
|
|
374
|
+
@property
|
|
375
|
+
def UltraDmaCrcErrorCount() -> str: ...
|
|
376
|
+
@property
|
|
377
|
+
def UncorrectableErrorCount() -> str: ...
|
|
378
|
+
@property
|
|
379
|
+
def UncorrectableSectorCount() -> str: ...
|
|
380
|
+
@property
|
|
381
|
+
def UnexpectedPowerLossCount() -> str: ...
|
|
382
|
+
@property
|
|
383
|
+
def Unknown() -> str: ...
|
|
384
|
+
@property
|
|
385
|
+
def UnknownUnique() -> str: ...
|
|
386
|
+
@property
|
|
387
|
+
def UnrecoverableEcc() -> str: ...
|
|
388
|
+
@property
|
|
389
|
+
def UnsafeShutdownCount() -> str: ...
|
|
390
|
+
@property
|
|
391
|
+
def UnusedReserveNANDBlocks() -> str: ...
|
|
392
|
+
@property
|
|
393
|
+
def UsedReservedBlockCountChip() -> str: ...
|
|
394
|
+
@property
|
|
395
|
+
def UsedReservedBlockCountTotal() -> str: ...
|
|
396
|
+
@property
|
|
397
|
+
def VibrationDuringWrite() -> str: ...
|
|
398
|
+
@property
|
|
399
|
+
def WearLevelingCount() -> str: ...
|
|
400
|
+
@property
|
|
401
|
+
def WearRangeDelta() -> str: ...
|
|
402
|
+
@property
|
|
403
|
+
def WriteCommands() -> str: ...
|
|
404
|
+
@property
|
|
405
|
+
def WriteErrorRate() -> str: ...
|