winrt-Windows.Services.Maps.OfflineMaps 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_services_maps_offlinemaps-2.1.0 → winrt_windows_services_maps_offlinemaps-2.3.0}/PKG-INFO +6 -6
- winrt_windows_services_maps_offlinemaps-2.3.0/all-requirements.txt +5 -0
- {winrt_windows_services_maps_offlinemaps-2.1.0 → winrt_windows_services_maps_offlinemaps-2.3.0}/py.Windows.Services.Maps.OfflineMaps.cpp +111 -17
- {winrt_windows_services_maps_offlinemaps-2.1.0 → winrt_windows_services_maps_offlinemaps-2.3.0}/pyproject.toml +3 -2
- winrt_windows_services_maps_offlinemaps-2.3.0/pywinrt-version.txt +1 -0
- {winrt_windows_services_maps_offlinemaps-2.1.0 → winrt_windows_services_maps_offlinemaps-2.3.0}/requirements.txt +2 -2
- {winrt_windows_services_maps_offlinemaps-2.1.0 → winrt_windows_services_maps_offlinemaps-2.3.0}/winrt/_winrt_windows_services_maps_offlinemaps.pyi +1 -1
- {winrt_windows_services_maps_offlinemaps-2.1.0 → winrt_windows_services_maps_offlinemaps-2.3.0}/winrt/windows/services/maps/offlinemaps/__init__.py +1 -1
- {winrt_windows_services_maps_offlinemaps-2.1.0 → winrt_windows_services_maps_offlinemaps-2.3.0}/winrt_Windows.Services.Maps.OfflineMaps.egg-info/PKG-INFO +6 -6
- winrt_windows_services_maps_offlinemaps-2.3.0/winrt_Windows.Services.Maps.OfflineMaps.egg-info/requires.txt +6 -0
- winrt_windows_services_maps_offlinemaps-2.1.0/all-requirements.txt +0 -5
- winrt_windows_services_maps_offlinemaps-2.1.0/pywinrt-version.txt +0 -1
- winrt_windows_services_maps_offlinemaps-2.1.0/winrt_Windows.Services.Maps.OfflineMaps.egg-info/requires.txt +0 -6
- {winrt_windows_services_maps_offlinemaps-2.1.0 → winrt_windows_services_maps_offlinemaps-2.3.0}/README.md +0 -0
- {winrt_windows_services_maps_offlinemaps-2.1.0 → winrt_windows_services_maps_offlinemaps-2.3.0}/setup.cfg +0 -0
- {winrt_windows_services_maps_offlinemaps-2.1.0 → winrt_windows_services_maps_offlinemaps-2.3.0}/setup.py +0 -0
- {winrt_windows_services_maps_offlinemaps-2.1.0 → winrt_windows_services_maps_offlinemaps-2.3.0}/winrt/windows/services/maps/offlinemaps/py.typed +0 -0
- {winrt_windows_services_maps_offlinemaps-2.1.0 → winrt_windows_services_maps_offlinemaps-2.3.0}/winrt_Windows.Services.Maps.OfflineMaps.egg-info/SOURCES.txt +0 -0
- {winrt_windows_services_maps_offlinemaps-2.1.0 → winrt_windows_services_maps_offlinemaps-2.3.0}/winrt_Windows.Services.Maps.OfflineMaps.egg-info/dependency_links.txt +0 -0
- {winrt_windows_services_maps_offlinemaps-2.1.0 → winrt_windows_services_maps_offlinemaps-2.3.0}/winrt_Windows.Services.Maps.OfflineMaps.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Services.Maps.OfflineMaps
|
|
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,13 +10,13 @@ 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.Devices.Geolocation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Devices.Geolocation[all]==2.3.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
|
|
20
20
|
|
|
21
21
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
22
22
|
|
|
@@ -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.Services.Maps.OfflineMaps.h"
|
|
4
4
|
|
|
@@ -29,7 +29,14 @@ namespace py::cpp::Windows::Services::Maps::OfflineMaps
|
|
|
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.Services.Maps.OfflineMaps.OfflineMapPackage", L"FindPackagesAsync", 1);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
if (!is_overload_present.value())
|
|
33
40
|
{
|
|
34
41
|
py::set_arg_count_version_error(1);
|
|
35
42
|
return nullptr;
|
|
@@ -60,7 +67,14 @@ namespace py::cpp::Windows::Services::Maps::OfflineMaps
|
|
|
60
67
|
{
|
|
61
68
|
try
|
|
62
69
|
{
|
|
63
|
-
|
|
70
|
+
static std::optional<bool> is_overload_present{};
|
|
71
|
+
|
|
72
|
+
if (!is_overload_present.has_value())
|
|
73
|
+
{
|
|
74
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Services.Maps.OfflineMaps.OfflineMapPackage", L"FindPackagesInBoundingBoxAsync", 1);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
if (!is_overload_present.value())
|
|
64
78
|
{
|
|
65
79
|
py::set_arg_count_version_error(1);
|
|
66
80
|
return nullptr;
|
|
@@ -91,7 +105,14 @@ namespace py::cpp::Windows::Services::Maps::OfflineMaps
|
|
|
91
105
|
{
|
|
92
106
|
try
|
|
93
107
|
{
|
|
94
|
-
|
|
108
|
+
static std::optional<bool> is_overload_present{};
|
|
109
|
+
|
|
110
|
+
if (!is_overload_present.has_value())
|
|
111
|
+
{
|
|
112
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Services.Maps.OfflineMaps.OfflineMapPackage", L"FindPackagesInGeocircleAsync", 1);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
if (!is_overload_present.value())
|
|
95
116
|
{
|
|
96
117
|
py::set_arg_count_version_error(1);
|
|
97
118
|
return nullptr;
|
|
@@ -122,7 +143,14 @@ namespace py::cpp::Windows::Services::Maps::OfflineMaps
|
|
|
122
143
|
{
|
|
123
144
|
try
|
|
124
145
|
{
|
|
125
|
-
|
|
146
|
+
static std::optional<bool> is_overload_present{};
|
|
147
|
+
|
|
148
|
+
if (!is_overload_present.has_value())
|
|
149
|
+
{
|
|
150
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Services.Maps.OfflineMaps.OfflineMapPackage", L"RequestStartDownloadAsync", 0);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
if (!is_overload_present.value())
|
|
126
154
|
{
|
|
127
155
|
py::set_arg_count_version_error(0);
|
|
128
156
|
return nullptr;
|
|
@@ -147,7 +175,14 @@ namespace py::cpp::Windows::Services::Maps::OfflineMaps
|
|
|
147
175
|
{
|
|
148
176
|
try
|
|
149
177
|
{
|
|
150
|
-
|
|
178
|
+
static std::optional<bool> is_property_present{};
|
|
179
|
+
|
|
180
|
+
if (!is_property_present.has_value())
|
|
181
|
+
{
|
|
182
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.OfflineMaps.OfflineMapPackage", L"DisplayName");
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
if (!is_property_present.value())
|
|
151
186
|
{
|
|
152
187
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
153
188
|
return nullptr;
|
|
@@ -166,7 +201,14 @@ namespace py::cpp::Windows::Services::Maps::OfflineMaps
|
|
|
166
201
|
{
|
|
167
202
|
try
|
|
168
203
|
{
|
|
169
|
-
|
|
204
|
+
static std::optional<bool> is_property_present{};
|
|
205
|
+
|
|
206
|
+
if (!is_property_present.has_value())
|
|
207
|
+
{
|
|
208
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.OfflineMaps.OfflineMapPackage", L"EnclosingRegionName");
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
if (!is_property_present.value())
|
|
170
212
|
{
|
|
171
213
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
172
214
|
return nullptr;
|
|
@@ -185,7 +227,14 @@ namespace py::cpp::Windows::Services::Maps::OfflineMaps
|
|
|
185
227
|
{
|
|
186
228
|
try
|
|
187
229
|
{
|
|
188
|
-
|
|
230
|
+
static std::optional<bool> is_property_present{};
|
|
231
|
+
|
|
232
|
+
if (!is_property_present.has_value())
|
|
233
|
+
{
|
|
234
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.OfflineMaps.OfflineMapPackage", L"EstimatedSizeInBytes");
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
if (!is_property_present.value())
|
|
189
238
|
{
|
|
190
239
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
191
240
|
return nullptr;
|
|
@@ -204,7 +253,14 @@ namespace py::cpp::Windows::Services::Maps::OfflineMaps
|
|
|
204
253
|
{
|
|
205
254
|
try
|
|
206
255
|
{
|
|
207
|
-
|
|
256
|
+
static std::optional<bool> is_property_present{};
|
|
257
|
+
|
|
258
|
+
if (!is_property_present.has_value())
|
|
259
|
+
{
|
|
260
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.OfflineMaps.OfflineMapPackage", L"Status");
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
if (!is_property_present.value())
|
|
208
264
|
{
|
|
209
265
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
210
266
|
return nullptr;
|
|
@@ -223,7 +279,14 @@ namespace py::cpp::Windows::Services::Maps::OfflineMaps
|
|
|
223
279
|
{
|
|
224
280
|
try
|
|
225
281
|
{
|
|
226
|
-
|
|
282
|
+
static std::optional<bool> is_event_present{};
|
|
283
|
+
|
|
284
|
+
if (!is_event_present.has_value())
|
|
285
|
+
{
|
|
286
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Services.Maps.OfflineMaps.OfflineMapPackage", L"StatusChanged");
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
if (!is_event_present.value())
|
|
227
290
|
{
|
|
228
291
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
229
292
|
return nullptr;
|
|
@@ -244,7 +307,14 @@ namespace py::cpp::Windows::Services::Maps::OfflineMaps
|
|
|
244
307
|
{
|
|
245
308
|
try
|
|
246
309
|
{
|
|
247
|
-
|
|
310
|
+
static std::optional<bool> is_event_present{};
|
|
311
|
+
|
|
312
|
+
if (!is_event_present.has_value())
|
|
313
|
+
{
|
|
314
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.Services.Maps.OfflineMaps.OfflineMapPackage", L"StatusChanged");
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
if (!is_event_present.value())
|
|
248
318
|
{
|
|
249
319
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
250
320
|
return nullptr;
|
|
@@ -367,7 +437,14 @@ namespace py::cpp::Windows::Services::Maps::OfflineMaps
|
|
|
367
437
|
{
|
|
368
438
|
try
|
|
369
439
|
{
|
|
370
|
-
|
|
440
|
+
static std::optional<bool> is_property_present{};
|
|
441
|
+
|
|
442
|
+
if (!is_property_present.has_value())
|
|
443
|
+
{
|
|
444
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.OfflineMaps.OfflineMapPackageQueryResult", L"Packages");
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
if (!is_property_present.value())
|
|
371
448
|
{
|
|
372
449
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
373
450
|
return nullptr;
|
|
@@ -386,7 +463,14 @@ namespace py::cpp::Windows::Services::Maps::OfflineMaps
|
|
|
386
463
|
{
|
|
387
464
|
try
|
|
388
465
|
{
|
|
389
|
-
|
|
466
|
+
static std::optional<bool> is_property_present{};
|
|
467
|
+
|
|
468
|
+
if (!is_property_present.has_value())
|
|
469
|
+
{
|
|
470
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.OfflineMaps.OfflineMapPackageQueryResult", L"Status");
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
if (!is_property_present.value())
|
|
390
474
|
{
|
|
391
475
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
392
476
|
return nullptr;
|
|
@@ -473,7 +557,14 @@ namespace py::cpp::Windows::Services::Maps::OfflineMaps
|
|
|
473
557
|
{
|
|
474
558
|
try
|
|
475
559
|
{
|
|
476
|
-
|
|
560
|
+
static std::optional<bool> is_property_present{};
|
|
561
|
+
|
|
562
|
+
if (!is_property_present.has_value())
|
|
563
|
+
{
|
|
564
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Services.Maps.OfflineMaps.OfflineMapPackageStartDownloadResult", L"Status");
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
if (!is_property_present.value())
|
|
477
568
|
{
|
|
478
569
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
479
570
|
return nullptr;
|
|
@@ -589,17 +680,20 @@ PyMODINIT_FUNC PyInit__winrt_windows_services_maps_offlinemaps(void) noexcept
|
|
|
589
680
|
return nullptr;
|
|
590
681
|
}
|
|
591
682
|
|
|
592
|
-
|
|
683
|
+
py::pytype_handle OfflineMapPackage_type{py::register_python_type(module.get(), &type_spec_OfflineMapPackage, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_OfflineMapPackage_Static.get()))};
|
|
684
|
+
if (!OfflineMapPackage_type)
|
|
593
685
|
{
|
|
594
686
|
return nullptr;
|
|
595
687
|
}
|
|
596
688
|
|
|
597
|
-
|
|
689
|
+
py::pytype_handle OfflineMapPackageQueryResult_type{py::register_python_type(module.get(), &type_spec_OfflineMapPackageQueryResult, object_bases.get(), nullptr)};
|
|
690
|
+
if (!OfflineMapPackageQueryResult_type)
|
|
598
691
|
{
|
|
599
692
|
return nullptr;
|
|
600
693
|
}
|
|
601
694
|
|
|
602
|
-
|
|
695
|
+
py::pytype_handle OfflineMapPackageStartDownloadResult_type{py::register_python_type(module.get(), &type_spec_OfflineMapPackageStartDownloadResult, object_bases.get(), nullptr)};
|
|
696
|
+
if (!OfflineMapPackageStartDownloadResult_type)
|
|
603
697
|
{
|
|
604
698
|
return nullptr;
|
|
605
699
|
}
|
|
@@ -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.Services.Maps.OfflineMaps
|
|
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,13 +10,13 @@ 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.Devices.Geolocation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Devices.Geolocation[all]==2.3.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
|
|
20
20
|
|
|
21
21
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
22
22
|
|
|
@@ -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
|