winrt-Windows.Devices.Adc.Provider 2.1.0__tar.gz → 2.3.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_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/PKG-INFO +4 -4
- {winrt_windows_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/all-requirements.txt +2 -2
- {winrt_windows_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/py.Windows.Devices.Adc.Provider.cpp +93 -14
- {winrt_windows_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/pyproject.toml +3 -2
- winrt_windows_devices_adc_provider-2.3.0/pywinrt-version.txt +1 -0
- {winrt_windows_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/requirements.txt +2 -2
- {winrt_windows_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/winrt/_winrt_windows_devices_adc_provider.pyi +1 -1
- {winrt_windows_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/winrt/windows/devices/adc/provider/__init__.py +1 -1
- {winrt_windows_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/winrt_Windows.Devices.Adc.Provider.egg-info/PKG-INFO +4 -4
- winrt_windows_devices_adc_provider-2.3.0/winrt_Windows.Devices.Adc.Provider.egg-info/requires.txt +4 -0
- winrt_windows_devices_adc_provider-2.1.0/pywinrt-version.txt +0 -1
- winrt_windows_devices_adc_provider-2.1.0/winrt_Windows.Devices.Adc.Provider.egg-info/requires.txt +0 -4
- {winrt_windows_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/README.md +0 -0
- {winrt_windows_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/setup.cfg +0 -0
- {winrt_windows_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/setup.py +0 -0
- {winrt_windows_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/winrt/windows/devices/adc/provider/py.typed +0 -0
- {winrt_windows_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/winrt_Windows.Devices.Adc.Provider.egg-info/SOURCES.txt +0 -0
- {winrt_windows_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/winrt_Windows.Devices.Adc.Provider.egg-info/dependency_links.txt +0 -0
- {winrt_windows_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/winrt_Windows.Devices.Adc.Provider.egg-info/top_level.txt +0 -0
{winrt_windows_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Devices.Adc.Provider
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.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,11 +10,11 @@ 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.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.3.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
2
|
|
|
3
|
-
winrt-Windows.Foundation.Collections[all]==2.
|
|
3
|
+
winrt-Windows.Foundation.Collections[all]==2.3.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.Devices.Adc.Provider.h"
|
|
4
4
|
|
|
@@ -29,7 +29,14 @@ namespace py::cpp::Windows::Devices::Adc::Provider
|
|
|
29
29
|
{
|
|
30
30
|
try
|
|
31
31
|
{
|
|
32
|
-
|
|
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.Devices.Adc.Provider.IAdcControllerProvider", L"AcquireChannel", 1);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
if (!is_overload_present.value())
|
|
33
40
|
{
|
|
34
41
|
py::set_arg_count_version_error(1);
|
|
35
42
|
return nullptr;
|
|
@@ -61,7 +68,14 @@ namespace py::cpp::Windows::Devices::Adc::Provider
|
|
|
61
68
|
{
|
|
62
69
|
try
|
|
63
70
|
{
|
|
64
|
-
|
|
71
|
+
static std::optional<bool> is_overload_present{};
|
|
72
|
+
|
|
73
|
+
if (!is_overload_present.has_value())
|
|
74
|
+
{
|
|
75
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Devices.Adc.Provider.IAdcControllerProvider", L"IsChannelModeSupported", 1);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
if (!is_overload_present.value())
|
|
65
79
|
{
|
|
66
80
|
py::set_arg_count_version_error(1);
|
|
67
81
|
return nullptr;
|
|
@@ -92,7 +106,14 @@ namespace py::cpp::Windows::Devices::Adc::Provider
|
|
|
92
106
|
{
|
|
93
107
|
try
|
|
94
108
|
{
|
|
95
|
-
|
|
109
|
+
static std::optional<bool> is_overload_present{};
|
|
110
|
+
|
|
111
|
+
if (!is_overload_present.has_value())
|
|
112
|
+
{
|
|
113
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Devices.Adc.Provider.IAdcControllerProvider", L"ReadValue", 1);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
if (!is_overload_present.value())
|
|
96
117
|
{
|
|
97
118
|
py::set_arg_count_version_error(1);
|
|
98
119
|
return nullptr;
|
|
@@ -123,7 +144,14 @@ namespace py::cpp::Windows::Devices::Adc::Provider
|
|
|
123
144
|
{
|
|
124
145
|
try
|
|
125
146
|
{
|
|
126
|
-
|
|
147
|
+
static std::optional<bool> is_overload_present{};
|
|
148
|
+
|
|
149
|
+
if (!is_overload_present.has_value())
|
|
150
|
+
{
|
|
151
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Devices.Adc.Provider.IAdcControllerProvider", L"ReleaseChannel", 1);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
if (!is_overload_present.value())
|
|
127
155
|
{
|
|
128
156
|
py::set_arg_count_version_error(1);
|
|
129
157
|
return nullptr;
|
|
@@ -151,7 +179,14 @@ namespace py::cpp::Windows::Devices::Adc::Provider
|
|
|
151
179
|
{
|
|
152
180
|
try
|
|
153
181
|
{
|
|
154
|
-
|
|
182
|
+
static std::optional<bool> is_property_present{};
|
|
183
|
+
|
|
184
|
+
if (!is_property_present.has_value())
|
|
185
|
+
{
|
|
186
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Devices.Adc.Provider.IAdcControllerProvider", L"ChannelCount");
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
if (!is_property_present.value())
|
|
155
190
|
{
|
|
156
191
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
157
192
|
return nullptr;
|
|
@@ -170,7 +205,14 @@ namespace py::cpp::Windows::Devices::Adc::Provider
|
|
|
170
205
|
{
|
|
171
206
|
try
|
|
172
207
|
{
|
|
173
|
-
|
|
208
|
+
static std::optional<bool> is_property_present{};
|
|
209
|
+
|
|
210
|
+
if (!is_property_present.has_value())
|
|
211
|
+
{
|
|
212
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Devices.Adc.Provider.IAdcControllerProvider", L"ChannelMode");
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
if (!is_property_present.value())
|
|
174
216
|
{
|
|
175
217
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
176
218
|
return nullptr;
|
|
@@ -195,7 +237,14 @@ namespace py::cpp::Windows::Devices::Adc::Provider
|
|
|
195
237
|
|
|
196
238
|
try
|
|
197
239
|
{
|
|
198
|
-
|
|
240
|
+
static std::optional<bool> is_property_present{};
|
|
241
|
+
|
|
242
|
+
if (!is_property_present.has_value())
|
|
243
|
+
{
|
|
244
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Devices.Adc.Provider.IAdcControllerProvider", L"ChannelMode");
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
if (!is_property_present.value())
|
|
199
248
|
{
|
|
200
249
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
201
250
|
return -1;
|
|
@@ -217,7 +266,14 @@ namespace py::cpp::Windows::Devices::Adc::Provider
|
|
|
217
266
|
{
|
|
218
267
|
try
|
|
219
268
|
{
|
|
220
|
-
|
|
269
|
+
static std::optional<bool> is_property_present{};
|
|
270
|
+
|
|
271
|
+
if (!is_property_present.has_value())
|
|
272
|
+
{
|
|
273
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Devices.Adc.Provider.IAdcControllerProvider", L"MaxValue");
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
if (!is_property_present.value())
|
|
221
277
|
{
|
|
222
278
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
223
279
|
return nullptr;
|
|
@@ -236,7 +292,14 @@ namespace py::cpp::Windows::Devices::Adc::Provider
|
|
|
236
292
|
{
|
|
237
293
|
try
|
|
238
294
|
{
|
|
239
|
-
|
|
295
|
+
static std::optional<bool> is_property_present{};
|
|
296
|
+
|
|
297
|
+
if (!is_property_present.has_value())
|
|
298
|
+
{
|
|
299
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Devices.Adc.Provider.IAdcControllerProvider", L"MinValue");
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
if (!is_property_present.value())
|
|
240
303
|
{
|
|
241
304
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
242
305
|
return nullptr;
|
|
@@ -255,7 +318,14 @@ namespace py::cpp::Windows::Devices::Adc::Provider
|
|
|
255
318
|
{
|
|
256
319
|
try
|
|
257
320
|
{
|
|
258
|
-
|
|
321
|
+
static std::optional<bool> is_property_present{};
|
|
322
|
+
|
|
323
|
+
if (!is_property_present.has_value())
|
|
324
|
+
{
|
|
325
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Devices.Adc.Provider.IAdcControllerProvider", L"ResolutionInBits");
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
if (!is_property_present.value())
|
|
259
329
|
{
|
|
260
330
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
261
331
|
return nullptr;
|
|
@@ -353,7 +423,14 @@ namespace py::cpp::Windows::Devices::Adc::Provider
|
|
|
353
423
|
{
|
|
354
424
|
try
|
|
355
425
|
{
|
|
356
|
-
|
|
426
|
+
static std::optional<bool> is_overload_present{};
|
|
427
|
+
|
|
428
|
+
if (!is_overload_present.has_value())
|
|
429
|
+
{
|
|
430
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Devices.Adc.Provider.IAdcProvider", L"GetControllers", 0);
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
if (!is_overload_present.value())
|
|
357
434
|
{
|
|
358
435
|
py::set_arg_count_version_error(0);
|
|
359
436
|
return nullptr;
|
|
@@ -469,12 +546,14 @@ PyMODINIT_FUNC PyInit__winrt_windows_devices_adc_provider(void) noexcept
|
|
|
469
546
|
return nullptr;
|
|
470
547
|
}
|
|
471
548
|
|
|
472
|
-
|
|
549
|
+
py::pytype_handle IAdcControllerProvider_type{py::register_python_type(module.get(), &type_spec_IAdcControllerProvider, object_bases.get(), nullptr)};
|
|
550
|
+
if (!IAdcControllerProvider_type)
|
|
473
551
|
{
|
|
474
552
|
return nullptr;
|
|
475
553
|
}
|
|
476
554
|
|
|
477
|
-
|
|
555
|
+
py::pytype_handle IAdcProvider_type{py::register_python_type(module.get(), &type_spec_IAdcProvider, object_bases.get(), nullptr)};
|
|
556
|
+
if (!IAdcProvider_type)
|
|
478
557
|
{
|
|
479
558
|
return nullptr;
|
|
480
559
|
}
|
{winrt_windows_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/pyproject.toml
RENAMED
|
@@ -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.3.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.
|
|
3
|
+
winrt-runtime==2.3.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Devices.Adc.Provider
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.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,11 +10,11 @@ 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.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.3.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
|
|
18
18
|
|
|
19
19
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
20
20
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.1.0
|
{winrt_windows_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/README.md
RENAMED
|
File without changes
|
{winrt_windows_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/setup.cfg
RENAMED
|
File without changes
|
{winrt_windows_devices_adc_provider-2.1.0 → winrt_windows_devices_adc_provider-2.3.0}/setup.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|