winrt-Windows.System.Preview 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.
@@ -0,0 +1,14 @@
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
+ "HingeState",
10
+ "TwoPanelHingedDevicePosturePreview",
11
+ "TwoPanelHingedDevicePosturePreviewReading",
12
+ "TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs",
13
+ ]
14
+
@@ -0,0 +1,89 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import datetime
4
+ import enum
5
+ import typing
6
+ from builtins import property as _property
7
+ from typing_extensions import deprecated
8
+
9
+ import winrt.system
10
+ import winrt.windows.devices.sensors as windows_devices_sensors
11
+ import winrt.windows.foundation as windows_foundation
12
+
13
+ __all__ = [
14
+ "HingeState",
15
+ "TwoPanelHingedDevicePosturePreview",
16
+ "TwoPanelHingedDevicePosturePreviewReading",
17
+ "TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs",
18
+ ]
19
+
20
+ @deprecated("HingeState is deprecated and might not work on all platforms. For more info, see MSDN.")
21
+ class HingeState(enum.IntEnum):
22
+ UNKNOWN = 0
23
+ CLOSED = 1
24
+ CONCAVE = 2
25
+ FLAT = 3
26
+ CONVEX = 4
27
+ FULL = 5
28
+
29
+ @typing.final
30
+ class TwoPanelHingedDevicePosturePreview_Static(winrt.system.Object_Static):
31
+ # Windows.Foundation.IAsyncOperation`1<Windows.System.Preview.TwoPanelHingedDevicePosturePreview> Windows.System.Preview.TwoPanelHingedDevicePosturePreview::GetDefaultAsync()
32
+ @deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.")
33
+ def get_default_async(cls) -> windows_foundation.IAsyncOperation[TwoPanelHingedDevicePosturePreview]: ...
34
+
35
+ @typing.final
36
+ @deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.")
37
+ class TwoPanelHingedDevicePosturePreview(winrt.system.Object, metaclass=TwoPanelHingedDevicePosturePreview_Static):
38
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
39
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
40
+ # Windows.Foundation.IAsyncOperation`1<Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading> Windows.System.Preview.TwoPanelHingedDevicePosturePreview::GetCurrentPostureAsync()
41
+ @deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.")
42
+ def get_current_posture_async(self) -> windows_foundation.IAsyncOperation[TwoPanelHingedDevicePosturePreviewReading]: ...
43
+ # Windows.Foundation.EventRegistrationToken Windows.System.Preview.TwoPanelHingedDevicePosturePreview::add_PostureChanged(Windows.Foundation.TypedEventHandler`2<Windows.System.Preview.TwoPanelHingedDevicePosturePreview,Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs>)
44
+ @deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.")
45
+ def add_posture_changed(self, handler: windows_foundation.TypedEventHandler[TwoPanelHingedDevicePosturePreview, TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
46
+ # System.Void Windows.System.Preview.TwoPanelHingedDevicePosturePreview::remove_PostureChanged(Windows.Foundation.EventRegistrationToken)
47
+ @deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.")
48
+ def remove_posture_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
49
+
50
+ @typing.final
51
+ @deprecated("TwoPanelHingedDevicePosturePreviewReading is deprecated and might not work on all platforms. For more info, see MSDN.")
52
+ class TwoPanelHingedDevicePosturePreviewReading(winrt.system.Object):
53
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
54
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
55
+ # Windows.System.Preview.HingeState Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading::get_HingeState()
56
+ @_property
57
+ @deprecated("TwoPanelHingedDevicePosturePreviewReading is deprecated and might not work on all platforms. For more info, see MSDN.")
58
+ def hinge_state(self) -> HingeState: ...
59
+ # System.String Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading::get_Panel1Id()
60
+ @_property
61
+ @deprecated("TwoPanelHingedDevicePosturePreviewReading is deprecated and might not work on all platforms. For more info, see MSDN.")
62
+ def panel1_id(self) -> str: ...
63
+ # Windows.Devices.Sensors.SimpleOrientation Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading::get_Panel1Orientation()
64
+ @_property
65
+ @deprecated("TwoPanelHingedDevicePosturePreviewReading is deprecated and might not work on all platforms. For more info, see MSDN.")
66
+ def panel1_orientation(self) -> windows_devices_sensors.SimpleOrientation: ...
67
+ # System.String Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading::get_Panel2Id()
68
+ @_property
69
+ @deprecated("TwoPanelHingedDevicePosturePreviewReading is deprecated and might not work on all platforms. For more info, see MSDN.")
70
+ def panel2_id(self) -> str: ...
71
+ # Windows.Devices.Sensors.SimpleOrientation Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading::get_Panel2Orientation()
72
+ @_property
73
+ @deprecated("TwoPanelHingedDevicePosturePreviewReading is deprecated and might not work on all platforms. For more info, see MSDN.")
74
+ def panel2_orientation(self) -> windows_devices_sensors.SimpleOrientation: ...
75
+ # Windows.Foundation.DateTime Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading::get_Timestamp()
76
+ @_property
77
+ @deprecated("TwoPanelHingedDevicePosturePreviewReading is deprecated and might not work on all platforms. For more info, see MSDN.")
78
+ def timestamp(self) -> datetime.datetime: ...
79
+
80
+ @typing.final
81
+ @deprecated("TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.")
82
+ class TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs(winrt.system.Object):
83
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
84
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
85
+ # Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReading Windows.System.Preview.TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs::get_Reading()
86
+ @_property
87
+ @deprecated("TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs is deprecated and might not work on all platforms. For more info, see MSDN.")
88
+ def reading(self) -> TwoPanelHingedDevicePosturePreviewReading: ...
89
+
File without changes
@@ -0,0 +1,45 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.System.Preview
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.System.Preview 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>=4!10.0.28000.2705
24
+ Provides-Extra: all
25
+ Requires-Dist: winrt-windows-devices-sensors[all]>=4!10.0.28000.2705; extra == 'all'
26
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
27
+ Description-Content-Type: text/markdown
28
+
29
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
30
+
31
+ # winrt-Windows.System.Preview
32
+
33
+ Windows Runtime (WinRT) APIs for the `Windows.System.Preview` namespace.
34
+
35
+ This package provides the `winrt.windows.system.preview` module.
36
+
37
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
38
+ `Microsoft.Windows.SDK.CPP` NuGet package.
39
+
40
+ ```
41
+ pip install winrt-Windows.System.Preview
42
+ ```
43
+
44
+ Other WinRT namespaces are packages of their own, so install the package of
45
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/system/preview/__init__.py,sha256=1ttyj91fI474rXVIIsEvKGPxa5499KGy-jNWR_mU1B0,368
2
+ winrt/windows/system/preview/__init__.pyi,sha256=T4tS-aFPDxBoO4CthdfQ6ZBPh0f-Rcw4Axf1MbGrEfQ,6362
3
+ winrt/windows/system/preview/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/system/preview/_table.pywinrt,sha256=eG6JZ--s86RYJ3fHyTsKHUVhCD_fYeIf-Gt9QRrwOIA,7856
5
+ winrt_windows_system_preview-4!10.0.28000.2705.dist-info/METADATA,sha256=rF6dNBusBXwAvyphYf-6uDRDJPNC52tIPdb57L4bq0M,1863
6
+ winrt_windows_system_preview-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_system_preview-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_system_preview-4!10.0.28000.2705.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -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