winrt-Windows.Services.Maps.LocalSearch 2.1.0__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_services_maps_localsearch-2.1.0 → winrt_windows_services_maps_localsearch-2.2.0}/PKG-INFO +8 -8
- winrt_windows_services_maps_localsearch-2.2.0/all-requirements.txt +7 -0
- {winrt_windows_services_maps_localsearch-2.1.0 → winrt_windows_services_maps_localsearch-2.2.0}/py.Windows.Services.Maps.LocalSearch.cpp +239 -36
- {winrt_windows_services_maps_localsearch-2.1.0 → winrt_windows_services_maps_localsearch-2.2.0}/pyproject.toml +3 -2
- winrt_windows_services_maps_localsearch-2.2.0/pywinrt-version.txt +1 -0
- {winrt_windows_services_maps_localsearch-2.1.0 → winrt_windows_services_maps_localsearch-2.2.0}/requirements.txt +2 -2
- {winrt_windows_services_maps_localsearch-2.1.0 → winrt_windows_services_maps_localsearch-2.2.0}/winrt/_winrt_windows_services_maps_localsearch.pyi +1 -1
- {winrt_windows_services_maps_localsearch-2.1.0 → winrt_windows_services_maps_localsearch-2.2.0}/winrt/windows/services/maps/localsearch/__init__.py +1 -1
- {winrt_windows_services_maps_localsearch-2.1.0 → winrt_windows_services_maps_localsearch-2.2.0}/winrt_Windows.Services.Maps.LocalSearch.egg-info/PKG-INFO +8 -8
- winrt_windows_services_maps_localsearch-2.2.0/winrt_Windows.Services.Maps.LocalSearch.egg-info/requires.txt +8 -0
- winrt_windows_services_maps_localsearch-2.1.0/all-requirements.txt +0 -7
- winrt_windows_services_maps_localsearch-2.1.0/pywinrt-version.txt +0 -1
- winrt_windows_services_maps_localsearch-2.1.0/winrt_Windows.Services.Maps.LocalSearch.egg-info/requires.txt +0 -8
- {winrt_windows_services_maps_localsearch-2.1.0 → winrt_windows_services_maps_localsearch-2.2.0}/README.md +0 -0
- {winrt_windows_services_maps_localsearch-2.1.0 → winrt_windows_services_maps_localsearch-2.2.0}/setup.cfg +0 -0
- {winrt_windows_services_maps_localsearch-2.1.0 → winrt_windows_services_maps_localsearch-2.2.0}/setup.py +0 -0
- {winrt_windows_services_maps_localsearch-2.1.0 → winrt_windows_services_maps_localsearch-2.2.0}/winrt/windows/services/maps/localsearch/py.typed +0 -0
- {winrt_windows_services_maps_localsearch-2.1.0 → winrt_windows_services_maps_localsearch-2.2.0}/winrt_Windows.Services.Maps.LocalSearch.egg-info/SOURCES.txt +0 -0
- {winrt_windows_services_maps_localsearch-2.1.0 → winrt_windows_services_maps_localsearch-2.2.0}/winrt_Windows.Services.Maps.LocalSearch.egg-info/dependency_links.txt +0 -0
- {winrt_windows_services_maps_localsearch-2.1.0 → winrt_windows_services_maps_localsearch-2.2.0}/winrt_Windows.Services.Maps.LocalSearch.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Services.Maps.LocalSearch
|
|
3
|
-
Version: 2.
|
|
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,15 +10,15 @@ 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.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Devices.Geolocation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
20
|
-
Requires-Dist: winrt-Windows.Globalization[all]==2.
|
|
21
|
-
Requires-Dist: winrt-Windows.Services.Maps[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Devices.Geolocation[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Globalization[all]==2.2.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Services.Maps[all]==2.2.0; extra == "all"
|
|
22
22
|
|
|
23
23
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
24
24
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
winrt-Windows.Devices.Geolocation[all]==2.2.0
|
|
4
|
+
winrt-Windows.Foundation[all]==2.2.0
|
|
5
|
+
winrt-Windows.Foundation.Collections[all]==2.2.0
|
|
6
|
+
winrt-Windows.Globalization[all]==2.2.0
|
|
7
|
+
winrt-Windows.Services.Maps[all]==2.2.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.2.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.Services.Maps.LocalSearch.h"
|
|
4
4
|
|
|
@@ -17,7 +17,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
17
17
|
{
|
|
18
18
|
try
|
|
19
19
|
{
|
|
20
|
-
|
|
20
|
+
static std::optional<bool> is_property_present{};
|
|
21
|
+
|
|
22
|
+
if (!is_property_present.has_value())
|
|
23
|
+
{
|
|
24
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"All");
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
if (!is_property_present.value())
|
|
21
28
|
{
|
|
22
29
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
23
30
|
return nullptr;
|
|
@@ -36,7 +43,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
36
43
|
{
|
|
37
44
|
try
|
|
38
45
|
{
|
|
39
|
-
|
|
46
|
+
static std::optional<bool> is_property_present{};
|
|
47
|
+
|
|
48
|
+
if (!is_property_present.has_value())
|
|
49
|
+
{
|
|
50
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"BankAndCreditUnions");
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
if (!is_property_present.value())
|
|
40
54
|
{
|
|
41
55
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
42
56
|
return nullptr;
|
|
@@ -55,7 +69,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
55
69
|
{
|
|
56
70
|
try
|
|
57
71
|
{
|
|
58
|
-
|
|
72
|
+
static std::optional<bool> is_property_present{};
|
|
73
|
+
|
|
74
|
+
if (!is_property_present.has_value())
|
|
75
|
+
{
|
|
76
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"EatDrink");
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
if (!is_property_present.value())
|
|
59
80
|
{
|
|
60
81
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
61
82
|
return nullptr;
|
|
@@ -74,7 +95,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
74
95
|
{
|
|
75
96
|
try
|
|
76
97
|
{
|
|
77
|
-
|
|
98
|
+
static std::optional<bool> is_property_present{};
|
|
99
|
+
|
|
100
|
+
if (!is_property_present.has_value())
|
|
101
|
+
{
|
|
102
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"Hospitals");
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
if (!is_property_present.value())
|
|
78
106
|
{
|
|
79
107
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
80
108
|
return nullptr;
|
|
@@ -93,7 +121,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
93
121
|
{
|
|
94
122
|
try
|
|
95
123
|
{
|
|
96
|
-
|
|
124
|
+
static std::optional<bool> is_property_present{};
|
|
125
|
+
|
|
126
|
+
if (!is_property_present.has_value())
|
|
127
|
+
{
|
|
128
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"HotelsAndMotels");
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
if (!is_property_present.value())
|
|
97
132
|
{
|
|
98
133
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
99
134
|
return nullptr;
|
|
@@ -112,7 +147,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
112
147
|
{
|
|
113
148
|
try
|
|
114
149
|
{
|
|
115
|
-
|
|
150
|
+
static std::optional<bool> is_property_present{};
|
|
151
|
+
|
|
152
|
+
if (!is_property_present.has_value())
|
|
153
|
+
{
|
|
154
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"Parking");
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
if (!is_property_present.value())
|
|
116
158
|
{
|
|
117
159
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
118
160
|
return nullptr;
|
|
@@ -131,7 +173,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
131
173
|
{
|
|
132
174
|
try
|
|
133
175
|
{
|
|
134
|
-
|
|
176
|
+
static std::optional<bool> is_property_present{};
|
|
177
|
+
|
|
178
|
+
if (!is_property_present.has_value())
|
|
179
|
+
{
|
|
180
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"SeeDo");
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
if (!is_property_present.value())
|
|
135
184
|
{
|
|
136
185
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
137
186
|
return nullptr;
|
|
@@ -150,7 +199,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
150
199
|
{
|
|
151
200
|
try
|
|
152
201
|
{
|
|
153
|
-
|
|
202
|
+
static std::optional<bool> is_property_present{};
|
|
203
|
+
|
|
204
|
+
if (!is_property_present.has_value())
|
|
205
|
+
{
|
|
206
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalCategories", L"Shop");
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
if (!is_property_present.value())
|
|
154
210
|
{
|
|
155
211
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
156
212
|
return nullptr;
|
|
@@ -241,7 +297,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
241
297
|
{
|
|
242
298
|
try
|
|
243
299
|
{
|
|
244
|
-
|
|
300
|
+
static std::optional<bool> is_property_present{};
|
|
301
|
+
|
|
302
|
+
if (!is_property_present.has_value())
|
|
303
|
+
{
|
|
304
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"Address");
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
if (!is_property_present.value())
|
|
245
308
|
{
|
|
246
309
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
247
310
|
return nullptr;
|
|
@@ -260,7 +323,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
260
323
|
{
|
|
261
324
|
try
|
|
262
325
|
{
|
|
263
|
-
|
|
326
|
+
static std::optional<bool> is_property_present{};
|
|
327
|
+
|
|
328
|
+
if (!is_property_present.has_value())
|
|
329
|
+
{
|
|
330
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"DataAttribution");
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
if (!is_property_present.value())
|
|
264
334
|
{
|
|
265
335
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
266
336
|
return nullptr;
|
|
@@ -279,7 +349,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
279
349
|
{
|
|
280
350
|
try
|
|
281
351
|
{
|
|
282
|
-
|
|
352
|
+
static std::optional<bool> is_property_present{};
|
|
353
|
+
|
|
354
|
+
if (!is_property_present.has_value())
|
|
355
|
+
{
|
|
356
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"Description");
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
if (!is_property_present.value())
|
|
283
360
|
{
|
|
284
361
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
285
362
|
return nullptr;
|
|
@@ -298,7 +375,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
298
375
|
{
|
|
299
376
|
try
|
|
300
377
|
{
|
|
301
|
-
|
|
378
|
+
static std::optional<bool> is_property_present{};
|
|
379
|
+
|
|
380
|
+
if (!is_property_present.has_value())
|
|
381
|
+
{
|
|
382
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"DisplayName");
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
if (!is_property_present.value())
|
|
302
386
|
{
|
|
303
387
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
304
388
|
return nullptr;
|
|
@@ -317,7 +401,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
317
401
|
{
|
|
318
402
|
try
|
|
319
403
|
{
|
|
320
|
-
|
|
404
|
+
static std::optional<bool> is_property_present{};
|
|
405
|
+
|
|
406
|
+
if (!is_property_present.has_value())
|
|
407
|
+
{
|
|
408
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"Identifier");
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
if (!is_property_present.value())
|
|
321
412
|
{
|
|
322
413
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
323
414
|
return nullptr;
|
|
@@ -336,7 +427,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
336
427
|
{
|
|
337
428
|
try
|
|
338
429
|
{
|
|
339
|
-
|
|
430
|
+
static std::optional<bool> is_property_present{};
|
|
431
|
+
|
|
432
|
+
if (!is_property_present.has_value())
|
|
433
|
+
{
|
|
434
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"PhoneNumber");
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
if (!is_property_present.value())
|
|
340
438
|
{
|
|
341
439
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
342
440
|
return nullptr;
|
|
@@ -355,7 +453,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
355
453
|
{
|
|
356
454
|
try
|
|
357
455
|
{
|
|
358
|
-
|
|
456
|
+
static std::optional<bool> is_property_present{};
|
|
457
|
+
|
|
458
|
+
if (!is_property_present.has_value())
|
|
459
|
+
{
|
|
460
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"Point");
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
if (!is_property_present.value())
|
|
359
464
|
{
|
|
360
465
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
361
466
|
return nullptr;
|
|
@@ -374,7 +479,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
374
479
|
{
|
|
375
480
|
try
|
|
376
481
|
{
|
|
377
|
-
|
|
482
|
+
static std::optional<bool> is_property_present{};
|
|
483
|
+
|
|
484
|
+
if (!is_property_present.has_value())
|
|
485
|
+
{
|
|
486
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"Category");
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
if (!is_property_present.value())
|
|
378
490
|
{
|
|
379
491
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
380
492
|
return nullptr;
|
|
@@ -393,7 +505,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
393
505
|
{
|
|
394
506
|
try
|
|
395
507
|
{
|
|
396
|
-
|
|
508
|
+
static std::optional<bool> is_property_present{};
|
|
509
|
+
|
|
510
|
+
if (!is_property_present.has_value())
|
|
511
|
+
{
|
|
512
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"HoursOfOperation");
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
if (!is_property_present.value())
|
|
397
516
|
{
|
|
398
517
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
399
518
|
return nullptr;
|
|
@@ -412,7 +531,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
412
531
|
{
|
|
413
532
|
try
|
|
414
533
|
{
|
|
415
|
-
|
|
534
|
+
static std::optional<bool> is_property_present{};
|
|
535
|
+
|
|
536
|
+
if (!is_property_present.has_value())
|
|
537
|
+
{
|
|
538
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocation", L"RatingInfo");
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
if (!is_property_present.value())
|
|
416
542
|
{
|
|
417
543
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
418
544
|
return nullptr;
|
|
@@ -503,7 +629,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
503
629
|
{
|
|
504
630
|
try
|
|
505
631
|
{
|
|
506
|
-
|
|
632
|
+
static std::optional<bool> is_overload_present{};
|
|
633
|
+
|
|
634
|
+
if (!is_overload_present.has_value())
|
|
635
|
+
{
|
|
636
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationFinder", L"FindLocalLocationsAsync", 4);
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
if (!is_overload_present.value())
|
|
507
640
|
{
|
|
508
641
|
py::set_arg_count_version_error(4);
|
|
509
642
|
return nullptr;
|
|
@@ -598,7 +731,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
598
731
|
{
|
|
599
732
|
try
|
|
600
733
|
{
|
|
601
|
-
|
|
734
|
+
static std::optional<bool> is_property_present{};
|
|
735
|
+
|
|
736
|
+
if (!is_property_present.has_value())
|
|
737
|
+
{
|
|
738
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationFinderResult", L"LocalLocations");
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
if (!is_property_present.value())
|
|
602
742
|
{
|
|
603
743
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
604
744
|
return nullptr;
|
|
@@ -617,7 +757,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
617
757
|
{
|
|
618
758
|
try
|
|
619
759
|
{
|
|
620
|
-
|
|
760
|
+
static std::optional<bool> is_property_present{};
|
|
761
|
+
|
|
762
|
+
if (!is_property_present.has_value())
|
|
763
|
+
{
|
|
764
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationFinderResult", L"Status");
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
if (!is_property_present.value())
|
|
621
768
|
{
|
|
622
769
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
623
770
|
return nullptr;
|
|
@@ -704,7 +851,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
704
851
|
{
|
|
705
852
|
try
|
|
706
853
|
{
|
|
707
|
-
|
|
854
|
+
static std::optional<bool> is_property_present{};
|
|
855
|
+
|
|
856
|
+
if (!is_property_present.has_value())
|
|
857
|
+
{
|
|
858
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationHoursOfOperationItem", L"Day");
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
if (!is_property_present.value())
|
|
708
862
|
{
|
|
709
863
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
710
864
|
return nullptr;
|
|
@@ -723,7 +877,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
723
877
|
{
|
|
724
878
|
try
|
|
725
879
|
{
|
|
726
|
-
|
|
880
|
+
static std::optional<bool> is_property_present{};
|
|
881
|
+
|
|
882
|
+
if (!is_property_present.has_value())
|
|
883
|
+
{
|
|
884
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationHoursOfOperationItem", L"Span");
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
if (!is_property_present.value())
|
|
727
888
|
{
|
|
728
889
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
729
890
|
return nullptr;
|
|
@@ -742,7 +903,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
742
903
|
{
|
|
743
904
|
try
|
|
744
905
|
{
|
|
745
|
-
|
|
906
|
+
static std::optional<bool> is_property_present{};
|
|
907
|
+
|
|
908
|
+
if (!is_property_present.has_value())
|
|
909
|
+
{
|
|
910
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationHoursOfOperationItem", L"Start");
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
if (!is_property_present.value())
|
|
746
914
|
{
|
|
747
915
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
748
916
|
return nullptr;
|
|
@@ -830,7 +998,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
830
998
|
{
|
|
831
999
|
try
|
|
832
1000
|
{
|
|
833
|
-
|
|
1001
|
+
static std::optional<bool> is_property_present{};
|
|
1002
|
+
|
|
1003
|
+
if (!is_property_present.has_value())
|
|
1004
|
+
{
|
|
1005
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationRatingInfo", L"AggregateRating");
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
if (!is_property_present.value())
|
|
834
1009
|
{
|
|
835
1010
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
836
1011
|
return nullptr;
|
|
@@ -849,7 +1024,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
849
1024
|
{
|
|
850
1025
|
try
|
|
851
1026
|
{
|
|
852
|
-
|
|
1027
|
+
static std::optional<bool> is_property_present{};
|
|
1028
|
+
|
|
1029
|
+
if (!is_property_present.has_value())
|
|
1030
|
+
{
|
|
1031
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationRatingInfo", L"ProviderIdentifier");
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
if (!is_property_present.value())
|
|
853
1035
|
{
|
|
854
1036
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
855
1037
|
return nullptr;
|
|
@@ -868,7 +1050,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
868
1050
|
{
|
|
869
1051
|
try
|
|
870
1052
|
{
|
|
871
|
-
|
|
1053
|
+
static std::optional<bool> is_property_present{};
|
|
1054
|
+
|
|
1055
|
+
if (!is_property_present.has_value())
|
|
1056
|
+
{
|
|
1057
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.LocalSearch.LocalLocationRatingInfo", L"RatingCount");
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
if (!is_property_present.value())
|
|
872
1061
|
{
|
|
873
1062
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
874
1063
|
return nullptr;
|
|
@@ -952,7 +1141,14 @@ namespace py::cpp::Windows::Services::Maps::LocalSearch
|
|
|
952
1141
|
{
|
|
953
1142
|
try
|
|
954
1143
|
{
|
|
955
|
-
|
|
1144
|
+
static std::optional<bool> is_overload_present{};
|
|
1145
|
+
|
|
1146
|
+
if (!is_overload_present.has_value())
|
|
1147
|
+
{
|
|
1148
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Services.Maps.LocalSearch.PlaceInfoHelper", L"CreateFromLocalLocation", 1);
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
if (!is_overload_present.value())
|
|
956
1152
|
{
|
|
957
1153
|
py::set_arg_count_version_error(1);
|
|
958
1154
|
return nullptr;
|
|
@@ -1074,12 +1270,14 @@ PyMODINIT_FUNC PyInit__winrt_windows_services_maps_localsearch(void) noexcept
|
|
|
1074
1270
|
return nullptr;
|
|
1075
1271
|
}
|
|
1076
1272
|
|
|
1077
|
-
|
|
1273
|
+
py::pytype_handle LocalCategories_type{py::register_python_type(module.get(), &type_spec_LocalCategories, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_LocalCategories_Static.get()))};
|
|
1274
|
+
if (!LocalCategories_type)
|
|
1078
1275
|
{
|
|
1079
1276
|
return nullptr;
|
|
1080
1277
|
}
|
|
1081
1278
|
|
|
1082
|
-
|
|
1279
|
+
py::pytype_handle LocalLocation_type{py::register_python_type(module.get(), &type_spec_LocalLocation, object_bases.get(), nullptr)};
|
|
1280
|
+
if (!LocalLocation_type)
|
|
1083
1281
|
{
|
|
1084
1282
|
return nullptr;
|
|
1085
1283
|
}
|
|
@@ -1090,22 +1288,26 @@ PyMODINIT_FUNC PyInit__winrt_windows_services_maps_localsearch(void) noexcept
|
|
|
1090
1288
|
return nullptr;
|
|
1091
1289
|
}
|
|
1092
1290
|
|
|
1093
|
-
|
|
1291
|
+
py::pytype_handle LocalLocationFinder_type{py::register_python_type(module.get(), &type_spec_LocalLocationFinder, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_LocalLocationFinder_Static.get()))};
|
|
1292
|
+
if (!LocalLocationFinder_type)
|
|
1094
1293
|
{
|
|
1095
1294
|
return nullptr;
|
|
1096
1295
|
}
|
|
1097
1296
|
|
|
1098
|
-
|
|
1297
|
+
py::pytype_handle LocalLocationFinderResult_type{py::register_python_type(module.get(), &type_spec_LocalLocationFinderResult, object_bases.get(), nullptr)};
|
|
1298
|
+
if (!LocalLocationFinderResult_type)
|
|
1099
1299
|
{
|
|
1100
1300
|
return nullptr;
|
|
1101
1301
|
}
|
|
1102
1302
|
|
|
1103
|
-
|
|
1303
|
+
py::pytype_handle LocalLocationHoursOfOperationItem_type{py::register_python_type(module.get(), &type_spec_LocalLocationHoursOfOperationItem, object_bases.get(), nullptr)};
|
|
1304
|
+
if (!LocalLocationHoursOfOperationItem_type)
|
|
1104
1305
|
{
|
|
1105
1306
|
return nullptr;
|
|
1106
1307
|
}
|
|
1107
1308
|
|
|
1108
|
-
|
|
1309
|
+
py::pytype_handle LocalLocationRatingInfo_type{py::register_python_type(module.get(), &type_spec_LocalLocationRatingInfo, object_bases.get(), nullptr)};
|
|
1310
|
+
if (!LocalLocationRatingInfo_type)
|
|
1109
1311
|
{
|
|
1110
1312
|
return nullptr;
|
|
1111
1313
|
}
|
|
@@ -1116,7 +1318,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_services_maps_localsearch(void) noexcept
|
|
|
1116
1318
|
return nullptr;
|
|
1117
1319
|
}
|
|
1118
1320
|
|
|
1119
|
-
|
|
1321
|
+
py::pytype_handle PlaceInfoHelper_type{py::register_python_type(module.get(), &type_spec_PlaceInfoHelper, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_PlaceInfoHelper_Static.get()))};
|
|
1322
|
+
if (!PlaceInfoHelper_type)
|
|
1120
1323
|
{
|
|
1121
1324
|
return nullptr;
|
|
1122
1325
|
}
|
|
@@ -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.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.
|
|
3
|
+
winrt-runtime==2.2.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Services.Maps.LocalSearch
|
|
3
|
-
Version: 2.
|
|
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,15 +10,15 @@ 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.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Devices.Geolocation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
20
|
-
Requires-Dist: winrt-Windows.Globalization[all]==2.
|
|
21
|
-
Requires-Dist: winrt-Windows.Services.Maps[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Devices.Geolocation[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Globalization[all]==2.2.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Services.Maps[all]==2.2.0; extra == "all"
|
|
22
22
|
|
|
23
23
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
24
24
|
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
|
-
|
|
3
|
-
winrt-Windows.Devices.Geolocation[all]==2.1.0
|
|
4
|
-
winrt-Windows.Foundation[all]==2.1.0
|
|
5
|
-
winrt-Windows.Foundation.Collections[all]==2.1.0
|
|
6
|
-
winrt-Windows.Globalization[all]==2.1.0
|
|
7
|
-
winrt-Windows.Services.Maps[all]==2.1.0
|
|
@@ -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
|