winrt-Windows.ApplicationModel.CommunicationBlocking 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_applicationmodel_communicationblocking-2.1.0 → winrt_windows_applicationmodel_communicationblocking-2.3.0}/PKG-INFO +5 -5
- winrt_windows_applicationmodel_communicationblocking-2.3.0/all-requirements.txt +4 -0
- {winrt_windows_applicationmodel_communicationblocking-2.1.0 → winrt_windows_applicationmodel_communicationblocking-2.3.0}/py.Windows.ApplicationModel.CommunicationBlocking.cpp +77 -12
- {winrt_windows_applicationmodel_communicationblocking-2.1.0 → winrt_windows_applicationmodel_communicationblocking-2.3.0}/pyproject.toml +3 -2
- winrt_windows_applicationmodel_communicationblocking-2.3.0/pywinrt-version.txt +1 -0
- {winrt_windows_applicationmodel_communicationblocking-2.1.0 → winrt_windows_applicationmodel_communicationblocking-2.3.0}/requirements.txt +2 -2
- {winrt_windows_applicationmodel_communicationblocking-2.1.0 → winrt_windows_applicationmodel_communicationblocking-2.3.0}/winrt/_winrt_windows_applicationmodel_communicationblocking.pyi +1 -1
- {winrt_windows_applicationmodel_communicationblocking-2.1.0 → winrt_windows_applicationmodel_communicationblocking-2.3.0}/winrt/windows/applicationmodel/communicationblocking/__init__.py +1 -1
- {winrt_windows_applicationmodel_communicationblocking-2.1.0 → winrt_windows_applicationmodel_communicationblocking-2.3.0}/winrt_Windows.ApplicationModel.CommunicationBlocking.egg-info/PKG-INFO +5 -5
- winrt_windows_applicationmodel_communicationblocking-2.3.0/winrt_Windows.ApplicationModel.CommunicationBlocking.egg-info/requires.txt +5 -0
- winrt_windows_applicationmodel_communicationblocking-2.1.0/all-requirements.txt +0 -4
- winrt_windows_applicationmodel_communicationblocking-2.1.0/pywinrt-version.txt +0 -1
- winrt_windows_applicationmodel_communicationblocking-2.1.0/winrt_Windows.ApplicationModel.CommunicationBlocking.egg-info/requires.txt +0 -5
- {winrt_windows_applicationmodel_communicationblocking-2.1.0 → winrt_windows_applicationmodel_communicationblocking-2.3.0}/README.md +0 -0
- {winrt_windows_applicationmodel_communicationblocking-2.1.0 → winrt_windows_applicationmodel_communicationblocking-2.3.0}/setup.cfg +0 -0
- {winrt_windows_applicationmodel_communicationblocking-2.1.0 → winrt_windows_applicationmodel_communicationblocking-2.3.0}/setup.py +0 -0
- {winrt_windows_applicationmodel_communicationblocking-2.1.0 → winrt_windows_applicationmodel_communicationblocking-2.3.0}/winrt/windows/applicationmodel/communicationblocking/py.typed +0 -0
- {winrt_windows_applicationmodel_communicationblocking-2.1.0 → winrt_windows_applicationmodel_communicationblocking-2.3.0}/winrt_Windows.ApplicationModel.CommunicationBlocking.egg-info/SOURCES.txt +0 -0
- {winrt_windows_applicationmodel_communicationblocking-2.1.0 → winrt_windows_applicationmodel_communicationblocking-2.3.0}/winrt_Windows.ApplicationModel.CommunicationBlocking.egg-info/dependency_links.txt +0 -0
- {winrt_windows_applicationmodel_communicationblocking-2.1.0 → winrt_windows_applicationmodel_communicationblocking-2.3.0}/winrt_Windows.ApplicationModel.CommunicationBlocking.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.CommunicationBlocking
|
|
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,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.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.3.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
|
|
19
19
|
|
|
20
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
21
|
|
|
@@ -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.ApplicationModel.CommunicationBlocking.h"
|
|
4
4
|
|
|
@@ -21,7 +21,14 @@ namespace py::cpp::Windows::ApplicationModel::CommunicationBlocking
|
|
|
21
21
|
{
|
|
22
22
|
try
|
|
23
23
|
{
|
|
24
|
-
|
|
24
|
+
static std::optional<bool> is_overload_present{};
|
|
25
|
+
|
|
26
|
+
if (!is_overload_present.has_value())
|
|
27
|
+
{
|
|
28
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingAccessManager", L"IsBlockedNumberAsync", 1);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
if (!is_overload_present.value())
|
|
25
32
|
{
|
|
26
33
|
py::set_arg_count_version_error(1);
|
|
27
34
|
return nullptr;
|
|
@@ -52,7 +59,14 @@ namespace py::cpp::Windows::ApplicationModel::CommunicationBlocking
|
|
|
52
59
|
{
|
|
53
60
|
try
|
|
54
61
|
{
|
|
55
|
-
|
|
62
|
+
static std::optional<bool> is_overload_present{};
|
|
63
|
+
|
|
64
|
+
if (!is_overload_present.has_value())
|
|
65
|
+
{
|
|
66
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingAccessManager", L"ShowBlockNumbersUI", 1);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
if (!is_overload_present.value())
|
|
56
70
|
{
|
|
57
71
|
py::set_arg_count_version_error(1);
|
|
58
72
|
return nullptr;
|
|
@@ -83,7 +97,14 @@ namespace py::cpp::Windows::ApplicationModel::CommunicationBlocking
|
|
|
83
97
|
{
|
|
84
98
|
try
|
|
85
99
|
{
|
|
86
|
-
|
|
100
|
+
static std::optional<bool> is_overload_present{};
|
|
101
|
+
|
|
102
|
+
if (!is_overload_present.has_value())
|
|
103
|
+
{
|
|
104
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingAccessManager", L"ShowBlockedCallsUI", 0);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
if (!is_overload_present.value())
|
|
87
108
|
{
|
|
88
109
|
py::set_arg_count_version_error(0);
|
|
89
110
|
return nullptr;
|
|
@@ -113,7 +134,14 @@ namespace py::cpp::Windows::ApplicationModel::CommunicationBlocking
|
|
|
113
134
|
{
|
|
114
135
|
try
|
|
115
136
|
{
|
|
116
|
-
|
|
137
|
+
static std::optional<bool> is_overload_present{};
|
|
138
|
+
|
|
139
|
+
if (!is_overload_present.has_value())
|
|
140
|
+
{
|
|
141
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingAccessManager", L"ShowBlockedMessagesUI", 0);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
if (!is_overload_present.value())
|
|
117
145
|
{
|
|
118
146
|
py::set_arg_count_version_error(0);
|
|
119
147
|
return nullptr;
|
|
@@ -143,7 +171,14 @@ namespace py::cpp::Windows::ApplicationModel::CommunicationBlocking
|
|
|
143
171
|
{
|
|
144
172
|
try
|
|
145
173
|
{
|
|
146
|
-
|
|
174
|
+
static std::optional<bool> is_overload_present{};
|
|
175
|
+
|
|
176
|
+
if (!is_overload_present.has_value())
|
|
177
|
+
{
|
|
178
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingAccessManager", L"ShowUnblockNumbersUI", 1);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
if (!is_overload_present.value())
|
|
147
182
|
{
|
|
148
183
|
py::set_arg_count_version_error(1);
|
|
149
184
|
return nullptr;
|
|
@@ -170,7 +205,14 @@ namespace py::cpp::Windows::ApplicationModel::CommunicationBlocking
|
|
|
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.ApplicationModel.CommunicationBlocking.CommunicationBlockingAccessManager", L"IsBlockingActive");
|
|
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;
|
|
@@ -255,7 +297,14 @@ namespace py::cpp::Windows::ApplicationModel::CommunicationBlocking
|
|
|
255
297
|
{
|
|
256
298
|
try
|
|
257
299
|
{
|
|
258
|
-
|
|
300
|
+
static std::optional<bool> is_overload_present{};
|
|
301
|
+
|
|
302
|
+
if (!is_overload_present.has_value())
|
|
303
|
+
{
|
|
304
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingAppManager", L"RequestSetAsActiveBlockingAppAsync", 0);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
if (!is_overload_present.value())
|
|
259
308
|
{
|
|
260
309
|
py::set_arg_count_version_error(0);
|
|
261
310
|
return nullptr;
|
|
@@ -284,7 +333,14 @@ namespace py::cpp::Windows::ApplicationModel::CommunicationBlocking
|
|
|
284
333
|
{
|
|
285
334
|
try
|
|
286
335
|
{
|
|
287
|
-
|
|
336
|
+
static std::optional<bool> is_overload_present{};
|
|
337
|
+
|
|
338
|
+
if (!is_overload_present.has_value())
|
|
339
|
+
{
|
|
340
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingAppManager", L"ShowCommunicationBlockingSettingsUI", 0);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
if (!is_overload_present.value())
|
|
288
344
|
{
|
|
289
345
|
py::set_arg_count_version_error(0);
|
|
290
346
|
return nullptr;
|
|
@@ -310,7 +366,14 @@ namespace py::cpp::Windows::ApplicationModel::CommunicationBlocking
|
|
|
310
366
|
{
|
|
311
367
|
try
|
|
312
368
|
{
|
|
313
|
-
|
|
369
|
+
static std::optional<bool> is_property_present{};
|
|
370
|
+
|
|
371
|
+
if (!is_property_present.has_value())
|
|
372
|
+
{
|
|
373
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingAppManager", L"IsCurrentAppActiveBlockingApp");
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
if (!is_property_present.value())
|
|
314
377
|
{
|
|
315
378
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
316
379
|
return nullptr;
|
|
@@ -426,7 +489,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_communicationblocking(void
|
|
|
426
489
|
return nullptr;
|
|
427
490
|
}
|
|
428
491
|
|
|
429
|
-
|
|
492
|
+
py::pytype_handle CommunicationBlockingAccessManager_type{py::register_python_type(module.get(), &type_spec_CommunicationBlockingAccessManager, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_CommunicationBlockingAccessManager_Static.get()))};
|
|
493
|
+
if (!CommunicationBlockingAccessManager_type)
|
|
430
494
|
{
|
|
431
495
|
return nullptr;
|
|
432
496
|
}
|
|
@@ -437,7 +501,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_communicationblocking(void
|
|
|
437
501
|
return nullptr;
|
|
438
502
|
}
|
|
439
503
|
|
|
440
|
-
|
|
504
|
+
py::pytype_handle CommunicationBlockingAppManager_type{py::register_python_type(module.get(), &type_spec_CommunicationBlockingAppManager, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_CommunicationBlockingAppManager_Static.get()))};
|
|
505
|
+
if (!CommunicationBlockingAppManager_type)
|
|
441
506
|
{
|
|
442
507
|
return nullptr;
|
|
443
508
|
}
|
|
@@ -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.ApplicationModel.CommunicationBlocking
|
|
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,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.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.3.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.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.1.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|