winrt-Windows.ApplicationModel.Holographic 2.0.1__tar.gz → 2.2.0__tar.gz
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_applicationmodel_holographic-2.0.1 → winrt_windows_applicationmodel_holographic-2.2.0}/PKG-INFO +5 -5
- winrt_windows_applicationmodel_holographic-2.2.0/all-requirements.txt +4 -0
- {winrt_windows_applicationmodel_holographic-2.0.1 → winrt_windows_applicationmodel_holographic-2.2.0}/py.Windows.ApplicationModel.Holographic.cpp +70 -46
- {winrt_windows_applicationmodel_holographic-2.0.1 → winrt_windows_applicationmodel_holographic-2.2.0}/pyproject.toml +3 -2
- winrt_windows_applicationmodel_holographic-2.2.0/pywinrt-version.txt +1 -0
- {winrt_windows_applicationmodel_holographic-2.0.1 → winrt_windows_applicationmodel_holographic-2.2.0}/requirements.txt +2 -2
- {winrt_windows_applicationmodel_holographic-2.0.1 → winrt_windows_applicationmodel_holographic-2.2.0}/winrt/_winrt_windows_applicationmodel_holographic.pyi +5 -5
- {winrt_windows_applicationmodel_holographic-2.0.1 → winrt_windows_applicationmodel_holographic-2.2.0}/winrt/windows/applicationmodel/holographic/__init__.py +1 -1
- {winrt_windows_applicationmodel_holographic-2.0.1 → winrt_windows_applicationmodel_holographic-2.2.0}/winrt_Windows.ApplicationModel.Holographic.egg-info/PKG-INFO +5 -5
- winrt_windows_applicationmodel_holographic-2.2.0/winrt_Windows.ApplicationModel.Holographic.egg-info/requires.txt +5 -0
- winrt_windows_applicationmodel_holographic-2.0.1/all-requirements.txt +0 -4
- winrt_windows_applicationmodel_holographic-2.0.1/pywinrt-version.txt +0 -1
- winrt_windows_applicationmodel_holographic-2.0.1/winrt_Windows.ApplicationModel.Holographic.egg-info/requires.txt +0 -5
- {winrt_windows_applicationmodel_holographic-2.0.1 → winrt_windows_applicationmodel_holographic-2.2.0}/README.md +0 -0
- {winrt_windows_applicationmodel_holographic-2.0.1 → winrt_windows_applicationmodel_holographic-2.2.0}/setup.cfg +0 -0
- {winrt_windows_applicationmodel_holographic-2.0.1 → winrt_windows_applicationmodel_holographic-2.2.0}/setup.py +0 -0
- {winrt_windows_applicationmodel_holographic-2.0.1 → winrt_windows_applicationmodel_holographic-2.2.0}/winrt/windows/applicationmodel/holographic/py.typed +0 -0
- {winrt_windows_applicationmodel_holographic-2.0.1 → winrt_windows_applicationmodel_holographic-2.2.0}/winrt_Windows.ApplicationModel.Holographic.egg-info/SOURCES.txt +0 -0
- {winrt_windows_applicationmodel_holographic-2.0.1 → winrt_windows_applicationmodel_holographic-2.2.0}/winrt_Windows.ApplicationModel.Holographic.egg-info/dependency_links.txt +0 -0
- {winrt_windows_applicationmodel_holographic-2.0.1 → winrt_windows_applicationmodel_holographic-2.2.0}/winrt_Windows.ApplicationModel.Holographic.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.Holographic
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,12 +10,12 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python: <3.
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.Perception.Spatial[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Perception.Spatial[all]==2.2.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.ApplicationModel.Holographic.h"
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
namespace py::cpp::Windows::ApplicationModel::Holographic
|
|
7
6
|
{
|
|
8
7
|
// ----- HolographicKeyboard class --------------------
|
|
@@ -28,14 +27,21 @@ namespace py::cpp::Windows::ApplicationModel::Holographic
|
|
|
28
27
|
|
|
29
28
|
if (arg_count == 0)
|
|
30
29
|
{
|
|
31
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Holographic.HolographicKeyboard", L"GetDefault", 0))
|
|
32
|
-
{
|
|
33
|
-
py::set_arg_count_version_error(0);
|
|
34
|
-
return nullptr;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
30
|
try
|
|
38
31
|
{
|
|
32
|
+
static std::optional<bool> is_overload_present{};
|
|
33
|
+
|
|
34
|
+
if (!is_overload_present.has_value())
|
|
35
|
+
{
|
|
36
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Holographic.HolographicKeyboard", L"GetDefault", 0);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
if (!is_overload_present.value())
|
|
40
|
+
{
|
|
41
|
+
py::set_arg_count_version_error(0);
|
|
42
|
+
return nullptr;
|
|
43
|
+
}
|
|
44
|
+
|
|
39
45
|
return py::convert(winrt::Windows::ApplicationModel::Holographic::HolographicKeyboard::GetDefault());
|
|
40
46
|
}
|
|
41
47
|
catch (...)
|
|
@@ -57,14 +63,21 @@ namespace py::cpp::Windows::ApplicationModel::Holographic
|
|
|
57
63
|
|
|
58
64
|
if (arg_count == 0)
|
|
59
65
|
{
|
|
60
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Holographic.HolographicKeyboard", L"ResetPlacementOverride", 0))
|
|
61
|
-
{
|
|
62
|
-
py::set_arg_count_version_error(0);
|
|
63
|
-
return nullptr;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
66
|
try
|
|
67
67
|
{
|
|
68
|
+
static std::optional<bool> is_overload_present{};
|
|
69
|
+
|
|
70
|
+
if (!is_overload_present.has_value())
|
|
71
|
+
{
|
|
72
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Holographic.HolographicKeyboard", L"ResetPlacementOverride", 0);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
if (!is_overload_present.value())
|
|
76
|
+
{
|
|
77
|
+
py::set_arg_count_version_error(0);
|
|
78
|
+
return nullptr;
|
|
79
|
+
}
|
|
80
|
+
|
|
68
81
|
self->obj.ResetPlacementOverride();
|
|
69
82
|
Py_RETURN_NONE;
|
|
70
83
|
}
|
|
@@ -87,14 +100,21 @@ namespace py::cpp::Windows::ApplicationModel::Holographic
|
|
|
87
100
|
|
|
88
101
|
if (arg_count == 3)
|
|
89
102
|
{
|
|
90
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Holographic.HolographicKeyboard", L"SetPlacementOverride", 3))
|
|
91
|
-
{
|
|
92
|
-
py::set_arg_count_version_error(3);
|
|
93
|
-
return nullptr;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
103
|
try
|
|
97
104
|
{
|
|
105
|
+
static std::optional<bool> is_overload_present{};
|
|
106
|
+
|
|
107
|
+
if (!is_overload_present.has_value())
|
|
108
|
+
{
|
|
109
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Holographic.HolographicKeyboard", L"SetPlacementOverride", 3);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
if (!is_overload_present.value())
|
|
113
|
+
{
|
|
114
|
+
py::set_arg_count_version_error(3);
|
|
115
|
+
return nullptr;
|
|
116
|
+
}
|
|
117
|
+
|
|
98
118
|
auto param0 = py::convert_to<winrt::Windows::Perception::Spatial::SpatialCoordinateSystem>(args, 0);
|
|
99
119
|
auto param1 = py::convert_to<winrt::Windows::Foundation::Numerics::float3>(args, 1);
|
|
100
120
|
auto param2 = py::convert_to<winrt::Windows::Foundation::Numerics::quaternion>(args, 2);
|
|
@@ -110,14 +130,21 @@ namespace py::cpp::Windows::ApplicationModel::Holographic
|
|
|
110
130
|
}
|
|
111
131
|
else if (arg_count == 4)
|
|
112
132
|
{
|
|
113
|
-
if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Holographic.HolographicKeyboard", L"SetPlacementOverride", 4))
|
|
114
|
-
{
|
|
115
|
-
py::set_arg_count_version_error(4);
|
|
116
|
-
return nullptr;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
133
|
try
|
|
120
134
|
{
|
|
135
|
+
static std::optional<bool> is_overload_present{};
|
|
136
|
+
|
|
137
|
+
if (!is_overload_present.has_value())
|
|
138
|
+
{
|
|
139
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Holographic.HolographicKeyboard", L"SetPlacementOverride", 4);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
if (!is_overload_present.value())
|
|
143
|
+
{
|
|
144
|
+
py::set_arg_count_version_error(4);
|
|
145
|
+
return nullptr;
|
|
146
|
+
}
|
|
147
|
+
|
|
121
148
|
auto param0 = py::convert_to<winrt::Windows::Perception::Spatial::SpatialCoordinateSystem>(args, 0);
|
|
122
149
|
auto param1 = py::convert_to<winrt::Windows::Foundation::Numerics::float3>(args, 1);
|
|
123
150
|
auto param2 = py::convert_to<winrt::Windows::Foundation::Numerics::quaternion>(args, 2);
|
|
@@ -175,23 +202,20 @@ namespace py::cpp::Windows::ApplicationModel::Holographic
|
|
|
175
202
|
{ }
|
|
176
203
|
};
|
|
177
204
|
|
|
178
|
-
static PyType_Slot _type_slots_HolographicKeyboard[] =
|
|
179
|
-
{
|
|
205
|
+
static PyType_Slot _type_slots_HolographicKeyboard[] = {
|
|
180
206
|
{ Py_tp_new, reinterpret_cast<void*>(_new_HolographicKeyboard) },
|
|
181
207
|
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_HolographicKeyboard) },
|
|
182
208
|
{ Py_tp_methods, reinterpret_cast<void*>(_methods_HolographicKeyboard) },
|
|
183
209
|
{ Py_tp_getset, reinterpret_cast<void*>(_getset_HolographicKeyboard) },
|
|
184
|
-
{ }
|
|
210
|
+
{ }
|
|
185
211
|
};
|
|
186
212
|
|
|
187
|
-
static PyType_Spec type_spec_HolographicKeyboard =
|
|
188
|
-
{
|
|
213
|
+
static PyType_Spec type_spec_HolographicKeyboard = {
|
|
189
214
|
"winrt._winrt_windows_applicationmodel_holographic.HolographicKeyboard",
|
|
190
215
|
sizeof(py::wrapper::Windows::ApplicationModel::Holographic::HolographicKeyboard),
|
|
191
216
|
0,
|
|
192
217
|
Py_TPFLAGS_DEFAULT,
|
|
193
|
-
_type_slots_HolographicKeyboard
|
|
194
|
-
};
|
|
218
|
+
_type_slots_HolographicKeyboard};
|
|
195
219
|
|
|
196
220
|
static PyGetSetDef getset_HolographicKeyboard_Static[] = {
|
|
197
221
|
{ }
|
|
@@ -220,20 +244,19 @@ namespace py::cpp::Windows::ApplicationModel::Holographic
|
|
|
220
244
|
};
|
|
221
245
|
|
|
222
246
|
// ----- Windows.ApplicationModel.Holographic Initialization --------------------
|
|
223
|
-
PyDoc_STRVAR(module_doc, "Windows::ApplicationModel::Holographic");
|
|
224
247
|
|
|
248
|
+
PyDoc_STRVAR(module_doc, "Windows.ApplicationModel.Holographic");
|
|
225
249
|
|
|
226
|
-
static PyModuleDef module_def
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
250
|
+
static PyModuleDef module_def = {
|
|
251
|
+
PyModuleDef_HEAD_INIT,
|
|
252
|
+
"_winrt_windows_applicationmodel_holographic",
|
|
253
|
+
module_doc,
|
|
254
|
+
0,
|
|
255
|
+
nullptr,
|
|
256
|
+
nullptr,
|
|
257
|
+
nullptr,
|
|
258
|
+
nullptr,
|
|
259
|
+
nullptr};
|
|
237
260
|
} // py::cpp::Windows::ApplicationModel::Holographic
|
|
238
261
|
|
|
239
262
|
PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_holographic(void) noexcept
|
|
@@ -271,7 +294,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_holographic(void) noexcept
|
|
|
271
294
|
return nullptr;
|
|
272
295
|
}
|
|
273
296
|
|
|
274
|
-
|
|
297
|
+
py::pytype_handle HolographicKeyboard_type{py::register_python_type(module.get(), &type_spec_HolographicKeyboard, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_HolographicKeyboard_Static.get()))};
|
|
298
|
+
if (!HolographicKeyboard_type)
|
|
275
299
|
{
|
|
276
300
|
return nullptr;
|
|
277
301
|
}
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9,<3.
|
|
19
|
+
requires-python = ">=3.9,<3.14"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -36,7 +36,8 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
|
-
build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
39
|
+
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
|
+
before-build = "uv pip install setuptools"
|
|
40
41
|
# don't build for PyPy
|
|
41
42
|
skip = "pp*"
|
|
42
43
|
# suppress warnings about ARM64 testing
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.2.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0
|
|
3
|
+
winrt-runtime==2.2.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -9,8 +9,8 @@ from builtins import property as _property
|
|
|
9
9
|
|
|
10
10
|
import winrt._winrt
|
|
11
11
|
import winrt.system
|
|
12
|
-
import winrt.windows.foundation.numerics
|
|
13
|
-
import winrt.windows.perception.spatial
|
|
12
|
+
import winrt.windows.foundation.numerics as windows_foundation_numerics
|
|
13
|
+
import winrt.windows.perception.spatial as windows_perception_spatial
|
|
14
14
|
|
|
15
15
|
Self = typing.TypeVar('Self')
|
|
16
16
|
|
|
@@ -24,7 +24,7 @@ class HolographicKeyboard(winrt.system.Object, metaclass=HolographicKeyboard_Sta
|
|
|
24
24
|
def _from(obj: winrt.system.Object, /) -> HolographicKeyboard: ...
|
|
25
25
|
def reset_placement_override(self) -> None: ...
|
|
26
26
|
@typing.overload
|
|
27
|
-
def set_placement_override(self, coordinate_system: typing.Optional[
|
|
27
|
+
def set_placement_override(self, coordinate_system: typing.Optional[windows_perception_spatial.SpatialCoordinateSystem], top_center_position: windows_foundation_numerics.Vector3, orientation: windows_foundation_numerics.Quaternion, /) -> None: ...
|
|
28
28
|
@typing.overload
|
|
29
|
-
def set_placement_override(self, coordinate_system: typing.Optional[
|
|
29
|
+
def set_placement_override(self, coordinate_system: typing.Optional[windows_perception_spatial.SpatialCoordinateSystem], top_center_position: windows_foundation_numerics.Vector3, orientation: windows_foundation_numerics.Quaternion, max_size: windows_foundation_numerics.Vector2, /) -> None: ...
|
|
30
30
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.Holographic
|
|
3
|
-
Version: 2.0
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,12 +10,12 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python: <3.
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.0
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.0
|
|
18
|
-
Requires-Dist: winrt-Windows.Perception.Spatial[all]==2.0
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Perception.Spatial[all]==2.2.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|