winrt-Windows.Devices.Geolocation 2.0.0b1__tar.gz → 2.0.1__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.Geolocation-2.0.0b1 → winrt_windows_devices_geolocation-2.0.1}/PKG-INFO +6 -2
- winrt_windows_devices_geolocation-2.0.1/all-requirements.txt +4 -0
- {winrt-Windows.Devices.Geolocation-2.0.0b1 → winrt_windows_devices_geolocation-2.0.1}/py.Windows.Devices.Geolocation.cpp +1 -1
- {winrt-Windows.Devices.Geolocation-2.0.0b1 → winrt_windows_devices_geolocation-2.0.1}/pyproject.toml +7 -4
- winrt_windows_devices_geolocation-2.0.1/pywinrt-version.txt +1 -0
- {winrt-Windows.Devices.Geolocation-2.0.0b1 → winrt_windows_devices_geolocation-2.0.1}/requirements.txt +2 -2
- winrt_windows_devices_geolocation-2.0.1/setup.py +31 -0
- {winrt-Windows.Devices.Geolocation-2.0.0b1 → winrt_windows_devices_geolocation-2.0.1}/winrt/_winrt_windows_devices_geolocation.pyi +22 -1
- {winrt-Windows.Devices.Geolocation-2.0.0b1 → winrt_windows_devices_geolocation-2.0.1}/winrt/windows/devices/geolocation/__init__.py +1 -1
- winrt_windows_devices_geolocation-2.0.1/winrt/windows/devices/geolocation/py.typed +0 -0
- {winrt-Windows.Devices.Geolocation-2.0.0b1 → winrt_windows_devices_geolocation-2.0.1}/winrt_Windows.Devices.Geolocation.egg-info/PKG-INFO +6 -2
- {winrt-Windows.Devices.Geolocation-2.0.0b1 → winrt_windows_devices_geolocation-2.0.1}/winrt_Windows.Devices.Geolocation.egg-info/SOURCES.txt +1 -0
- winrt_windows_devices_geolocation-2.0.1/winrt_Windows.Devices.Geolocation.egg-info/requires.txt +5 -0
- winrt-Windows.Devices.Geolocation-2.0.0b1/all-requirements.txt +0 -4
- winrt-Windows.Devices.Geolocation-2.0.0b1/pywinrt-version.txt +0 -1
- winrt-Windows.Devices.Geolocation-2.0.0b1/setup.py +0 -17
- winrt-Windows.Devices.Geolocation-2.0.0b1/winrt_Windows.Devices.Geolocation.egg-info/requires.txt +0 -5
- {winrt-Windows.Devices.Geolocation-2.0.0b1 → winrt_windows_devices_geolocation-2.0.1}/README.md +0 -0
- {winrt-Windows.Devices.Geolocation-2.0.0b1 → winrt_windows_devices_geolocation-2.0.1}/setup.cfg +0 -0
- {winrt-Windows.Devices.Geolocation-2.0.0b1 → winrt_windows_devices_geolocation-2.0.1}/winrt_Windows.Devices.Geolocation.egg-info/dependency_links.txt +0 -0
- {winrt-Windows.Devices.Geolocation-2.0.0b1 → winrt_windows_devices_geolocation-2.0.1}/winrt_Windows.Devices.Geolocation.egg-info/top_level.txt +0 -0
{winrt-Windows.Devices.Geolocation-2.0.0b1 → winrt_windows_devices_geolocation-2.0.1}/PKG-INFO
RENAMED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Devices.Geolocation
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
|
-
Project-URL:
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
9
|
Classifier: Operating System :: Microsoft :: Windows
|
|
9
10
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -11,7 +12,10 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
11
12
|
Classifier: Intended Audience :: Developers
|
|
12
13
|
Requires-Python: <3.13,>=3.9
|
|
13
14
|
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.0.1
|
|
14
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
15
19
|
|
|
16
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
21
|
|
{winrt-Windows.Devices.Geolocation-2.0.0b1 → winrt_windows_devices_geolocation-2.0.1}/pyproject.toml
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
2
|
|
|
3
3
|
[build-system]
|
|
4
|
-
requires = ["setuptools", "
|
|
4
|
+
requires = ["setuptools", "winrt-sdk"]
|
|
5
5
|
build-backend = "setuptools.build_meta"
|
|
6
6
|
|
|
7
7
|
[project]
|
|
@@ -19,9 +19,9 @@ dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
|
19
19
|
requires-python = ">=3.9,<3.13"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
|
-
# Homepage = "https://github.com/
|
|
23
|
-
|
|
24
|
-
Repository = "https://github.com/
|
|
22
|
+
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
23
|
+
Documentation = "https://pywinrt.readthedocs.io"
|
|
24
|
+
Repository = "https://github.com/pywinrt/pywinrt"
|
|
25
25
|
Changelog = "https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md"
|
|
26
26
|
|
|
27
27
|
[tool.setuptools.dynamic]
|
|
@@ -29,6 +29,9 @@ version = { file = "pywinrt-version.txt" }
|
|
|
29
29
|
dependencies = { file = "requirements.txt" }
|
|
30
30
|
optional-dependencies.all = { file = "all-requirements.txt" }
|
|
31
31
|
|
|
32
|
+
[tool.setuptools.package-data]
|
|
33
|
+
"*" = ["*.pyi", "py.typed"]
|
|
34
|
+
|
|
32
35
|
[tool.cibuildwheel]
|
|
33
36
|
# use local winrt-sdk build dependency
|
|
34
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.0.1
|
|
@@ -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.0.1
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.0.
|
|
3
|
+
winrt-runtime==2.0.1
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
+
|
|
3
|
+
from setuptools import Extension, setup
|
|
4
|
+
from setuptools.command.build_ext import build_ext
|
|
5
|
+
from winrt_sdk import get_include_dirs
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class build_ext_ex(build_ext):
|
|
9
|
+
def build_extension(self, ext):
|
|
10
|
+
if self.compiler.compiler_type == "msvc":
|
|
11
|
+
ext.extra_compile_args = ["/std:c++20", "/permissive-"]
|
|
12
|
+
elif self.compiler.compiler_type == "mingw32":
|
|
13
|
+
ext.extra_compile_args = ["-std=c++20", "-D_WIN32_WINNT=_WIN32_WINNT_WIN10"]
|
|
14
|
+
ext.extra_link_args = ["-loleaut32"]
|
|
15
|
+
else:
|
|
16
|
+
raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
|
|
17
|
+
|
|
18
|
+
build_ext.build_extension(self, ext)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
setup(
|
|
22
|
+
cmdclass = {'build_ext': build_ext_ex},
|
|
23
|
+
ext_modules=[
|
|
24
|
+
Extension(
|
|
25
|
+
"winrt._winrt_windows_devices_geolocation",
|
|
26
|
+
sources=["py.Windows.Devices.Geolocation.cpp"],
|
|
27
|
+
include_dirs=get_include_dirs(),
|
|
28
|
+
libraries=["windowsapp"],
|
|
29
|
+
)
|
|
30
|
+
],
|
|
31
|
+
)
|
|
@@ -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.0.1
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -16,12 +16,14 @@ from winrt.windows.devices.geolocation import AltitudeReferenceSystem, Geolocati
|
|
|
16
16
|
|
|
17
17
|
Self = typing.TypeVar('Self')
|
|
18
18
|
|
|
19
|
+
@typing.final
|
|
19
20
|
class BasicGeoposition:
|
|
20
21
|
latitude: winrt.system.Double
|
|
21
22
|
longitude: winrt.system.Double
|
|
22
23
|
altitude: winrt.system.Double
|
|
23
24
|
def __init__(self, latitude: winrt.system.Double, longitude: winrt.system.Double, altitude: winrt.system.Double) -> None: ...
|
|
24
25
|
|
|
26
|
+
@typing.final
|
|
25
27
|
class CivicAddress(winrt.system.Object):
|
|
26
28
|
@staticmethod
|
|
27
29
|
def _from(obj: winrt.system.Object, /) -> CivicAddress: ...
|
|
@@ -36,6 +38,7 @@ class CivicAddress(winrt.system.Object):
|
|
|
36
38
|
@_property
|
|
37
39
|
def timestamp(self) -> datetime.datetime: ...
|
|
38
40
|
|
|
41
|
+
@typing.final
|
|
39
42
|
class GeoboundingBox_Static(type):
|
|
40
43
|
@typing.overload
|
|
41
44
|
def try_compute(cls, positions: typing.Iterable[BasicGeoposition], /) -> typing.Optional[GeoboundingBox]: ...
|
|
@@ -44,6 +47,7 @@ class GeoboundingBox_Static(type):
|
|
|
44
47
|
@typing.overload
|
|
45
48
|
def try_compute(cls, positions: typing.Iterable[BasicGeoposition], altitude_ref_system: AltitudeReferenceSystem, spatial_reference_id: winrt.system.UInt32, /) -> typing.Optional[GeoboundingBox]: ...
|
|
46
49
|
|
|
50
|
+
@typing.final
|
|
47
51
|
class GeoboundingBox(winrt.system.Object, metaclass=GeoboundingBox_Static):
|
|
48
52
|
@staticmethod
|
|
49
53
|
def _from(obj: winrt.system.Object, /) -> GeoboundingBox: ...
|
|
@@ -70,6 +74,7 @@ class GeoboundingBox(winrt.system.Object, metaclass=GeoboundingBox_Static):
|
|
|
70
74
|
@_property
|
|
71
75
|
def spatial_reference_id(self) -> winrt.system.UInt32: ...
|
|
72
76
|
|
|
77
|
+
@typing.final
|
|
73
78
|
class Geocircle(winrt.system.Object):
|
|
74
79
|
@staticmethod
|
|
75
80
|
def _from(obj: winrt.system.Object, /) -> Geocircle: ...
|
|
@@ -90,6 +95,7 @@ class Geocircle(winrt.system.Object):
|
|
|
90
95
|
@_property
|
|
91
96
|
def spatial_reference_id(self) -> winrt.system.UInt32: ...
|
|
92
97
|
|
|
98
|
+
@typing.final
|
|
93
99
|
class Geocoordinate(winrt.system.Object):
|
|
94
100
|
@staticmethod
|
|
95
101
|
def _from(obj: winrt.system.Object, /) -> Geocoordinate: ...
|
|
@@ -120,6 +126,7 @@ class Geocoordinate(winrt.system.Object):
|
|
|
120
126
|
@_property
|
|
121
127
|
def is_remote_source(self) -> bool: ...
|
|
122
128
|
|
|
129
|
+
@typing.final
|
|
123
130
|
class GeocoordinateSatelliteData(winrt.system.Object):
|
|
124
131
|
@staticmethod
|
|
125
132
|
def _from(obj: winrt.system.Object, /) -> GeocoordinateSatelliteData: ...
|
|
@@ -134,6 +141,7 @@ class GeocoordinateSatelliteData(winrt.system.Object):
|
|
|
134
141
|
@_property
|
|
135
142
|
def time_dilution_of_precision(self) -> typing.Optional[typing.Optional[winrt.system.Double]]: ...
|
|
136
143
|
|
|
144
|
+
@typing.final
|
|
137
145
|
class Geolocator_Static(type):
|
|
138
146
|
@typing.overload
|
|
139
147
|
def get_geoposition_history_async(cls, start_time: datetime.datetime, /) -> winrt.windows.foundation.IAsyncOperation[winrt.windows.foundation.collections.IVectorView[Geoposition]]: ...
|
|
@@ -147,6 +155,7 @@ class Geolocator_Static(type):
|
|
|
147
155
|
@_property
|
|
148
156
|
def is_default_geoposition_recommended(cls) -> bool: ...
|
|
149
157
|
|
|
158
|
+
@typing.final
|
|
150
159
|
class Geolocator(winrt.system.Object, metaclass=Geolocator_Static):
|
|
151
160
|
@staticmethod
|
|
152
161
|
def _from(obj: winrt.system.Object, /) -> Geolocator: ...
|
|
@@ -179,6 +188,7 @@ class Geolocator(winrt.system.Object, metaclass=Geolocator_Static):
|
|
|
179
188
|
@desired_accuracy_in_meters.setter
|
|
180
189
|
def desired_accuracy_in_meters(self, value: typing.Optional[typing.Optional[winrt.system.UInt32]]) -> None: ...
|
|
181
190
|
|
|
191
|
+
@typing.final
|
|
182
192
|
class Geopath(winrt.system.Object):
|
|
183
193
|
@staticmethod
|
|
184
194
|
def _from(obj: winrt.system.Object, /) -> Geopath: ...
|
|
@@ -197,6 +207,7 @@ class Geopath(winrt.system.Object):
|
|
|
197
207
|
@_property
|
|
198
208
|
def spatial_reference_id(self) -> winrt.system.UInt32: ...
|
|
199
209
|
|
|
210
|
+
@typing.final
|
|
200
211
|
class Geopoint(winrt.system.Object):
|
|
201
212
|
@staticmethod
|
|
202
213
|
def _from(obj: winrt.system.Object, /) -> Geopoint: ...
|
|
@@ -215,6 +226,7 @@ class Geopoint(winrt.system.Object):
|
|
|
215
226
|
@_property
|
|
216
227
|
def spatial_reference_id(self) -> winrt.system.UInt32: ...
|
|
217
228
|
|
|
229
|
+
@typing.final
|
|
218
230
|
class Geoposition(winrt.system.Object):
|
|
219
231
|
@staticmethod
|
|
220
232
|
def _from(obj: winrt.system.Object, /) -> Geoposition: ...
|
|
@@ -225,6 +237,7 @@ class Geoposition(winrt.system.Object):
|
|
|
225
237
|
@_property
|
|
226
238
|
def venue_data(self) -> typing.Optional[VenueData]: ...
|
|
227
239
|
|
|
240
|
+
@typing.final
|
|
228
241
|
class Geovisit(winrt.system.Object):
|
|
229
242
|
@staticmethod
|
|
230
243
|
def _from(obj: winrt.system.Object, /) -> Geovisit: ...
|
|
@@ -235,9 +248,11 @@ class Geovisit(winrt.system.Object):
|
|
|
235
248
|
@_property
|
|
236
249
|
def timestamp(self) -> datetime.datetime: ...
|
|
237
250
|
|
|
251
|
+
@typing.final
|
|
238
252
|
class GeovisitMonitor_Static(type):
|
|
239
253
|
def get_last_report_async(cls) -> winrt.windows.foundation.IAsyncOperation[Geovisit]: ...
|
|
240
254
|
|
|
255
|
+
@typing.final
|
|
241
256
|
class GeovisitMonitor(winrt.system.Object, metaclass=GeovisitMonitor_Static):
|
|
242
257
|
@staticmethod
|
|
243
258
|
def _from(obj: winrt.system.Object, /) -> GeovisitMonitor: ...
|
|
@@ -249,29 +264,34 @@ class GeovisitMonitor(winrt.system.Object, metaclass=GeovisitMonitor_Static):
|
|
|
249
264
|
@_property
|
|
250
265
|
def monitoring_scope(self) -> VisitMonitoringScope: ...
|
|
251
266
|
|
|
267
|
+
@typing.final
|
|
252
268
|
class GeovisitStateChangedEventArgs(winrt.system.Object):
|
|
253
269
|
@staticmethod
|
|
254
270
|
def _from(obj: winrt.system.Object, /) -> GeovisitStateChangedEventArgs: ...
|
|
255
271
|
@_property
|
|
256
272
|
def visit(self) -> typing.Optional[Geovisit]: ...
|
|
257
273
|
|
|
274
|
+
@typing.final
|
|
258
275
|
class GeovisitTriggerDetails(winrt.system.Object):
|
|
259
276
|
@staticmethod
|
|
260
277
|
def _from(obj: winrt.system.Object, /) -> GeovisitTriggerDetails: ...
|
|
261
278
|
def read_reports(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[Geovisit]]: ...
|
|
262
279
|
|
|
280
|
+
@typing.final
|
|
263
281
|
class PositionChangedEventArgs(winrt.system.Object):
|
|
264
282
|
@staticmethod
|
|
265
283
|
def _from(obj: winrt.system.Object, /) -> PositionChangedEventArgs: ...
|
|
266
284
|
@_property
|
|
267
285
|
def position(self) -> typing.Optional[Geoposition]: ...
|
|
268
286
|
|
|
287
|
+
@typing.final
|
|
269
288
|
class StatusChangedEventArgs(winrt.system.Object):
|
|
270
289
|
@staticmethod
|
|
271
290
|
def _from(obj: winrt.system.Object, /) -> StatusChangedEventArgs: ...
|
|
272
291
|
@_property
|
|
273
292
|
def status(self) -> PositionStatus: ...
|
|
274
293
|
|
|
294
|
+
@typing.final
|
|
275
295
|
class VenueData(winrt.system.Object):
|
|
276
296
|
@staticmethod
|
|
277
297
|
def _from(obj: winrt.system.Object, /) -> VenueData: ...
|
|
@@ -280,6 +300,7 @@ class VenueData(winrt.system.Object):
|
|
|
280
300
|
@_property
|
|
281
301
|
def level(self) -> str: ...
|
|
282
302
|
|
|
303
|
+
@typing.final
|
|
283
304
|
class IGeoshape(winrt.system.Object):
|
|
284
305
|
@staticmethod
|
|
285
306
|
def _from(obj: winrt.system.Object, /) -> IGeoshape: ...
|
|
File without changes
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Devices.Geolocation
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
|
-
Project-URL:
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
8
|
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
8
9
|
Classifier: Operating System :: Microsoft :: Windows
|
|
9
10
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -11,7 +12,10 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
11
12
|
Classifier: Intended Audience :: Developers
|
|
12
13
|
Requires-Python: <3.13,>=3.9
|
|
13
14
|
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime==2.0.1
|
|
14
16
|
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
|
|
15
19
|
|
|
16
20
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
17
21
|
|
|
@@ -7,6 +7,7 @@ requirements.txt
|
|
|
7
7
|
setup.py
|
|
8
8
|
winrt/_winrt_windows_devices_geolocation.pyi
|
|
9
9
|
winrt/windows/devices/geolocation/__init__.py
|
|
10
|
+
winrt/windows/devices/geolocation/py.typed
|
|
10
11
|
winrt_Windows.Devices.Geolocation.egg-info/PKG-INFO
|
|
11
12
|
winrt_Windows.Devices.Geolocation.egg-info/SOURCES.txt
|
|
12
13
|
winrt_Windows.Devices.Geolocation.egg-info/dependency_links.txt
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.0.0-beta.1
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was automatically generated.
|
|
2
|
-
|
|
3
|
-
from setuptools import Extension, setup
|
|
4
|
-
from winrt_sdk import get_include_dirs
|
|
5
|
-
|
|
6
|
-
setup(
|
|
7
|
-
ext_modules=[
|
|
8
|
-
Extension(
|
|
9
|
-
"winrt._winrt_windows_devices_geolocation",
|
|
10
|
-
sources=["py.Windows.Devices.Geolocation.cpp"],
|
|
11
|
-
include_dirs=get_include_dirs(),
|
|
12
|
-
extra_compile_args=["/std:c++20", "/permissive-"],
|
|
13
|
-
libraries=["windowsapp"],
|
|
14
|
-
)
|
|
15
|
-
],
|
|
16
|
-
package_data={"winrt": ["*.pyi"]},
|
|
17
|
-
)
|
{winrt-Windows.Devices.Geolocation-2.0.0b1 → winrt_windows_devices_geolocation-2.0.1}/README.md
RENAMED
|
File without changes
|
{winrt-Windows.Devices.Geolocation-2.0.0b1 → winrt_windows_devices_geolocation-2.0.1}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|