winrt-Windows.System.Power.Thermal 4!10.0.28000.2705__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.
- winrt/windows/system/power/thermal/__init__.py +19 -0
- winrt/windows/system/power/thermal/__init__.pyi +148 -0
- winrt/windows/system/power/thermal/_table.pywinrt +0 -0
- winrt/windows/system/power/thermal/py.typed +0 -0
- winrt_windows_system_power_thermal-4!10.0.28000.2705.dist-info/METADATA +46 -0
- winrt_windows_system_power_thermal-4!10.0.28000.2705.dist-info/RECORD +8 -0
- winrt_windows_system_power_thermal-4!10.0.28000.2705.dist-info/WHEEL +4 -0
- winrt_windows_system_power_thermal-4!10.0.28000.2705.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import winrt.runtime._internals
|
|
4
|
+
import winrt.system
|
|
5
|
+
|
|
6
|
+
winrt.runtime._internals.load_projection(__spec__)
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"PowerThermalBackEndStatus",
|
|
10
|
+
"PowerThermalChannelData",
|
|
11
|
+
"PowerThermalChannelId",
|
|
12
|
+
"PowerThermalChannelConfiguration",
|
|
13
|
+
"PowerThermalChannelDataConsumer",
|
|
14
|
+
"PowerThermalChannelDataProducer",
|
|
15
|
+
"PowerThermalChannelDataReceivedEventArgs",
|
|
16
|
+
"PowerThermalChannelDiagnostics",
|
|
17
|
+
"PowerThermalChannelFinder",
|
|
18
|
+
]
|
|
19
|
+
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import collections.abc as _cabc
|
|
4
|
+
import enum
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt.system
|
|
11
|
+
import winrt.windows.foundation as windows_foundation
|
|
12
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
13
|
+
|
|
14
|
+
__all__ = [
|
|
15
|
+
"PowerThermalBackEndStatus",
|
|
16
|
+
"PowerThermalChannelData",
|
|
17
|
+
"PowerThermalChannelId",
|
|
18
|
+
"PowerThermalChannelConfiguration",
|
|
19
|
+
"PowerThermalChannelDataConsumer",
|
|
20
|
+
"PowerThermalChannelDataProducer",
|
|
21
|
+
"PowerThermalChannelDataReceivedEventArgs",
|
|
22
|
+
"PowerThermalChannelDiagnostics",
|
|
23
|
+
"PowerThermalChannelFinder",
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
class PowerThermalBackEndStatus(enum.IntEnum):
|
|
27
|
+
STOPPED = 0
|
|
28
|
+
STARTED = 1
|
|
29
|
+
|
|
30
|
+
@typing.final
|
|
31
|
+
class PowerThermalChannelData:
|
|
32
|
+
__match_args__ = ("id", "value")
|
|
33
|
+
@_property
|
|
34
|
+
def id(self) -> PowerThermalChannelId: ...
|
|
35
|
+
@_property
|
|
36
|
+
def value(self) -> winrt.system.Int32: ...
|
|
37
|
+
def __new__(cls, id: PowerThermalChannelId | tuple[_uuid.UUID, winrt.system.UInt16 | typing.SupportsIndex] = ..., value: winrt.system.Int32 | typing.SupportsIndex = 0) -> PowerThermalChannelData: ...
|
|
38
|
+
def __replace__(self, /, **changes: typing.Any) -> PowerThermalChannelData: ...
|
|
39
|
+
def unpack(self) -> tuple[tuple[_uuid.UUID, winrt.system.UInt16], winrt.system.Int32]: ...
|
|
40
|
+
|
|
41
|
+
@typing.final
|
|
42
|
+
class PowerThermalChannelId:
|
|
43
|
+
__match_args__ = ("interface_type", "instance_id")
|
|
44
|
+
@_property
|
|
45
|
+
def interface_type(self) -> _uuid.UUID: ...
|
|
46
|
+
@_property
|
|
47
|
+
def instance_id(self) -> winrt.system.UInt16: ...
|
|
48
|
+
def __new__(cls, interface_type: _uuid.UUID = ..., instance_id: winrt.system.UInt16 | typing.SupportsIndex = 0) -> PowerThermalChannelId: ...
|
|
49
|
+
def __replace__(self, /, **changes: typing.Any) -> PowerThermalChannelId: ...
|
|
50
|
+
def unpack(self) -> tuple[_uuid.UUID, winrt.system.UInt16]: ...
|
|
51
|
+
|
|
52
|
+
@typing.final
|
|
53
|
+
class PowerThermalChannelConfiguration(winrt.system.Object):
|
|
54
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
55
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
56
|
+
# System.Int32[] Windows.System.Power.Thermal.PowerThermalChannelConfiguration::GetConfigurationNumericParameters()
|
|
57
|
+
def get_configuration_numeric_parameters(self) -> winrt.system.Array[winrt.system.Int32]: ...
|
|
58
|
+
# System.String Windows.System.Power.Thermal.PowerThermalChannelConfiguration::get_ConfigurationString()
|
|
59
|
+
@_property
|
|
60
|
+
def configuration_string(self) -> str: ...
|
|
61
|
+
# Windows.System.Power.Thermal.PowerThermalChannelId Windows.System.Power.Thermal.PowerThermalChannelConfiguration::get_Id()
|
|
62
|
+
@_property
|
|
63
|
+
def id(self) -> PowerThermalChannelId: ...
|
|
64
|
+
|
|
65
|
+
@typing.final
|
|
66
|
+
class PowerThermalChannelDataConsumer(windows_foundation.IClosable, winrt.system.Object):
|
|
67
|
+
def __enter__(self) -> typing.Self: ...
|
|
68
|
+
def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: types.TracebackType | None) -> None: ...
|
|
69
|
+
def __new__(cls, channel_ids: winrt.system.Array[PowerThermalChannelId] | winrt.system.ReadableBuffer, /) -> typing.Self: ...
|
|
70
|
+
# System.Void Windows.System.Power.Thermal.PowerThermalChannelDataConsumer::Close()
|
|
71
|
+
def close(self) -> None: ...
|
|
72
|
+
# Windows.Foundation.Collections.IMapView`2<Windows.System.Power.Thermal.PowerThermalChannelId,Windows.System.Power.Thermal.PowerThermalChannelConfiguration> Windows.System.Power.Thermal.PowerThermalChannelDataConsumer::GetChannelConfigurations()
|
|
73
|
+
def get_channel_configurations(self) -> _cabc.Mapping[PowerThermalChannelId, PowerThermalChannelConfiguration]: ...
|
|
74
|
+
# Windows.System.Power.Thermal.PowerThermalChannelId[] Windows.System.Power.Thermal.PowerThermalChannelDataConsumer::GetChannelIds()
|
|
75
|
+
def get_channel_ids(self) -> winrt.system.Array[PowerThermalChannelId]: ...
|
|
76
|
+
# System.Void Windows.System.Power.Thermal.PowerThermalChannelDataConsumer::Start()
|
|
77
|
+
def start(self) -> None: ...
|
|
78
|
+
# System.Void Windows.System.Power.Thermal.PowerThermalChannelDataConsumer::Stop()
|
|
79
|
+
def stop(self) -> None: ...
|
|
80
|
+
# Windows.Foundation.EventRegistrationToken Windows.System.Power.Thermal.PowerThermalChannelDataConsumer::add_BackEndStatusChanged(Windows.Foundation.TypedEventHandler`2<Windows.System.Power.Thermal.PowerThermalChannelDataConsumer,System.Object>)
|
|
81
|
+
def add_back_end_status_changed(self, handler: windows_foundation.TypedEventHandler[PowerThermalChannelDataConsumer, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
82
|
+
# System.Void Windows.System.Power.Thermal.PowerThermalChannelDataConsumer::remove_BackEndStatusChanged(Windows.Foundation.EventRegistrationToken)
|
|
83
|
+
def remove_back_end_status_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
84
|
+
# Windows.Foundation.EventRegistrationToken Windows.System.Power.Thermal.PowerThermalChannelDataConsumer::add_ChannelDataReceived(Windows.Foundation.TypedEventHandler`2<Windows.System.Power.Thermal.PowerThermalChannelDataConsumer,Windows.System.Power.Thermal.PowerThermalChannelDataReceivedEventArgs>)
|
|
85
|
+
def add_channel_data_received(self, handler: windows_foundation.TypedEventHandler[PowerThermalChannelDataConsumer, PowerThermalChannelDataReceivedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
86
|
+
# System.Void Windows.System.Power.Thermal.PowerThermalChannelDataConsumer::remove_ChannelDataReceived(Windows.Foundation.EventRegistrationToken)
|
|
87
|
+
def remove_channel_data_received(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
88
|
+
# Windows.System.Power.Thermal.PowerThermalBackEndStatus Windows.System.Power.Thermal.PowerThermalChannelDataConsumer::get_BackEndStatus()
|
|
89
|
+
@_property
|
|
90
|
+
def back_end_status(self) -> PowerThermalBackEndStatus: ...
|
|
91
|
+
|
|
92
|
+
@typing.final
|
|
93
|
+
class PowerThermalChannelDataProducer(windows_foundation.IClosable, winrt.system.Object):
|
|
94
|
+
def __enter__(self) -> typing.Self: ...
|
|
95
|
+
def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: types.TracebackType | None) -> None: ...
|
|
96
|
+
def __new__(cls, channel_ids: winrt.system.Array[PowerThermalChannelId] | winrt.system.ReadableBuffer, /) -> typing.Self: ...
|
|
97
|
+
# System.Void Windows.System.Power.Thermal.PowerThermalChannelDataProducer::Close()
|
|
98
|
+
def close(self) -> None: ...
|
|
99
|
+
# System.Void Windows.System.Power.Thermal.PowerThermalChannelDataProducer::DisableChannel(Windows.System.Power.Thermal.PowerThermalChannelId)
|
|
100
|
+
def disable_channel(self, channel_id: PowerThermalChannelId | tuple[_uuid.UUID, winrt.system.UInt16 | typing.SupportsIndex], /) -> None: ...
|
|
101
|
+
# Windows.Foundation.Collections.IMapView`2<Windows.System.Power.Thermal.PowerThermalChannelId,Windows.System.Power.Thermal.PowerThermalChannelConfiguration> Windows.System.Power.Thermal.PowerThermalChannelDataProducer::GetChannelConfigurations()
|
|
102
|
+
def get_channel_configurations(self) -> _cabc.Mapping[PowerThermalChannelId, PowerThermalChannelConfiguration]: ...
|
|
103
|
+
# Windows.System.Power.Thermal.PowerThermalChannelId[] Windows.System.Power.Thermal.PowerThermalChannelDataProducer::GetChannelIds()
|
|
104
|
+
def get_channel_ids(self) -> winrt.system.Array[PowerThermalChannelId]: ...
|
|
105
|
+
# System.Void Windows.System.Power.Thermal.PowerThermalChannelDataProducer::PublishInputChannelData(Windows.System.Power.Thermal.PowerThermalChannelData[])
|
|
106
|
+
def publish_input_channel_data(self, data: winrt.system.Array[PowerThermalChannelData] | winrt.system.ReadableBuffer, /) -> None: ...
|
|
107
|
+
# System.Void Windows.System.Power.Thermal.PowerThermalChannelDataProducer::Start()
|
|
108
|
+
def start(self) -> None: ...
|
|
109
|
+
# System.Void Windows.System.Power.Thermal.PowerThermalChannelDataProducer::Stop()
|
|
110
|
+
def stop(self) -> None: ...
|
|
111
|
+
# Windows.Foundation.EventRegistrationToken Windows.System.Power.Thermal.PowerThermalChannelDataProducer::add_BackEndStatusChanged(Windows.Foundation.TypedEventHandler`2<Windows.System.Power.Thermal.PowerThermalChannelDataProducer,System.Object>)
|
|
112
|
+
def add_back_end_status_changed(self, handler: windows_foundation.TypedEventHandler[PowerThermalChannelDataProducer, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
113
|
+
# System.Void Windows.System.Power.Thermal.PowerThermalChannelDataProducer::remove_BackEndStatusChanged(Windows.Foundation.EventRegistrationToken)
|
|
114
|
+
def remove_back_end_status_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
115
|
+
# Windows.System.Power.Thermal.PowerThermalBackEndStatus Windows.System.Power.Thermal.PowerThermalChannelDataProducer::get_BackEndStatus()
|
|
116
|
+
@_property
|
|
117
|
+
def back_end_status(self) -> PowerThermalBackEndStatus: ...
|
|
118
|
+
|
|
119
|
+
@typing.final
|
|
120
|
+
class PowerThermalChannelDataReceivedEventArgs(winrt.system.Object):
|
|
121
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
122
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
123
|
+
# Windows.System.Power.Thermal.PowerThermalChannelData[] Windows.System.Power.Thermal.PowerThermalChannelDataReceivedEventArgs::GetData()
|
|
124
|
+
def get_data(self) -> winrt.system.Array[PowerThermalChannelData]: ...
|
|
125
|
+
|
|
126
|
+
@typing.final
|
|
127
|
+
class PowerThermalChannelDiagnostics_Static(winrt.system.Object_Static):
|
|
128
|
+
# Windows.System.Power.Thermal.PowerThermalChannelData[] Windows.System.Power.Thermal.PowerThermalChannelDiagnostics::GetDataForChannels(Windows.System.Power.Thermal.PowerThermalChannelId[])
|
|
129
|
+
def get_data_for_channels(cls, channel_ids: winrt.system.Array[PowerThermalChannelId] | winrt.system.ReadableBuffer, /) -> winrt.system.Array[PowerThermalChannelData]: ...
|
|
130
|
+
# Windows.System.Power.Thermal.PowerThermalChannelDiagnostics Windows.System.Power.Thermal.PowerThermalChannelDiagnostics::get_Current()
|
|
131
|
+
@_property
|
|
132
|
+
def current(cls) -> PowerThermalChannelDiagnostics: ...
|
|
133
|
+
|
|
134
|
+
@typing.final
|
|
135
|
+
class PowerThermalChannelDiagnostics(winrt.system.Object, metaclass=PowerThermalChannelDiagnostics_Static):
|
|
136
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
137
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
138
|
+
|
|
139
|
+
@typing.final
|
|
140
|
+
class PowerThermalChannelFinder_Static(winrt.system.Object_Static):
|
|
141
|
+
# Windows.System.Power.Thermal.PowerThermalChannelId[] Windows.System.Power.Thermal.PowerThermalChannelFinder::FindChannels(System.Guid)
|
|
142
|
+
def find_channels(cls, channel_interface_type: _uuid.UUID, /) -> winrt.system.Array[PowerThermalChannelId]: ...
|
|
143
|
+
|
|
144
|
+
@typing.final
|
|
145
|
+
class PowerThermalChannelFinder(winrt.system.Object, metaclass=PowerThermalChannelFinder_Static):
|
|
146
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
147
|
+
"""A class of static members only, so there is nothing to create."""
|
|
148
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: winrt-Windows.System.Power.Thermal
|
|
3
|
+
Version: 4!10.0.28000.2705
|
|
4
|
+
Summary: PyWinRT projection of the Windows.System.Power.Thermal namespace
|
|
5
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
6
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
18
|
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
19
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Requires-Python: >=3.11
|
|
22
|
+
Requires-Dist: winrt-runtime<5,>=4.0.0
|
|
23
|
+
Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
|
|
24
|
+
Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
|
|
25
|
+
Provides-Extra: all
|
|
26
|
+
Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
|
|
27
|
+
Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
|
|
28
|
+
Description-Content-Type: text/markdown
|
|
29
|
+
|
|
30
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
31
|
+
|
|
32
|
+
# winrt-Windows.System.Power.Thermal
|
|
33
|
+
|
|
34
|
+
Windows Runtime (WinRT) APIs for the `Windows.System.Power.Thermal` namespace.
|
|
35
|
+
|
|
36
|
+
This package provides the `winrt.windows.system.power.thermal` module.
|
|
37
|
+
|
|
38
|
+
The WinRT APIs in it are those of version 10.0.28000.2705 of the
|
|
39
|
+
`Microsoft.Windows.SDK.CPP` NuGet package.
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
pip install winrt-Windows.System.Power.Thermal
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
46
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/windows/system/power/thermal/__init__.py,sha256=Jq7j7j4zI4V9GqQnOsrETWkz7yqIjdYqddSCn67pSbI,524
|
|
2
|
+
winrt/windows/system/power/thermal/__init__.pyi,sha256=-of0I_WPeSSlycjRWNmp36oeCJmgg43sRMteTrXlY2E,10743
|
|
3
|
+
winrt/windows/system/power/thermal/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
winrt/windows/system/power/thermal/_table.pywinrt,sha256=nxvjNBMGlgp4_lrgquvpwmhasYypArRon8RsK5OkzUo,12368
|
|
5
|
+
winrt_windows_system_power_thermal-4!10.0.28000.2705.dist-info/METADATA,sha256=hoNZd6tsk1EHtGAnHJqSGco9xeIEjTBLul3A5WxwNOw,1977
|
|
6
|
+
winrt_windows_system_power_thermal-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
7
|
+
winrt_windows_system_power_thermal-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
|
|
8
|
+
winrt_windows_system_power_thermal-4!10.0.28000.2705.dist-info/RECORD,,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE
|