pyobjc-framework-CoreLocation 12.2__cp315-cp315t-macosx_10_15_universal2.whl

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.
@@ -0,0 +1,53 @@
1
+ """
2
+ Python mapping for the CoreLocation framework.
3
+
4
+ This module does not contain docstrings for the wrapped code, check Apple's
5
+ documentation for details on how to use these functions and classes.
6
+ """
7
+
8
+
9
+ def _setup():
10
+ import sys
11
+
12
+ import Foundation
13
+ import objc
14
+ from . import _metadata, _CoreLocation
15
+
16
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
17
+ name="CoreLocation",
18
+ frameworkIdentifier="com.apple.corelocation",
19
+ frameworkPath=objc.pathForFramework(
20
+ "/System/Library/Frameworks/CoreLocation.framework"
21
+ ),
22
+ globals_dict=globals(),
23
+ inline_list=None,
24
+ parents=(
25
+ _CoreLocation,
26
+ Foundation,
27
+ ),
28
+ metadict=_metadata.__dict__,
29
+ )
30
+
31
+ globals()["__dir__"] = dir_func
32
+ globals()["__getattr__"] = getattr_func
33
+
34
+ for cls, sel in (
35
+ ("CLMonitor", b"init"),
36
+ ("CLMonitor", b"new"),
37
+ ("CLMonitoringRecord", b"init"),
38
+ ("CLMonitoringRecord", b"new"),
39
+ ("CLMonitoringEvent", b"init"),
40
+ ("CLMonitoringEvent", b"new"),
41
+ ("CLBackgroundActivitySession", b"init"),
42
+ ("CLBackgroundActivitySession", b"new"),
43
+ ("CLCondition", b"init"),
44
+ ("CLCondition", b"new"),
45
+ ("CLLocationUpdater", b"init"),
46
+ ("CLLocationUpdater", b"new"),
47
+ ):
48
+ objc.registerUnavailableMethod(cls, sel)
49
+
50
+ del sys.modules["CoreLocation._metadata"]
51
+
52
+
53
+ globals().pop("_setup")()
@@ -0,0 +1,872 @@
1
+ # This file is generated by objective.metadata
2
+ #
3
+ # Last update: Thu May 28 21:22:01 2026
4
+ #
5
+ # flake8: noqa
6
+
7
+ import objc, sys
8
+ from typing import NewType
9
+
10
+ if sys.maxsize > 2**32:
11
+
12
+ def sel32or64(a, b):
13
+ return b
14
+
15
+ else:
16
+
17
+ def sel32or64(a, b):
18
+ return a
19
+
20
+
21
+ if objc.arch == "arm64":
22
+
23
+ def selAorI(a, b):
24
+ return a
25
+
26
+ else:
27
+
28
+ def selAorI(a, b):
29
+ return b
30
+
31
+
32
+ misc = {}
33
+ misc.update(
34
+ {
35
+ "CLLocationCoordinate2D": objc.createStructType(
36
+ "CoreLocation.CLLocationCoordinate2D",
37
+ b"{CLLocationCoordinate2D=dd}",
38
+ ["latitude", "longitude"],
39
+ )
40
+ }
41
+ )
42
+ constants = """$CLLocationDistanceMax@d$CLLocationPushServiceErrorDomain$CLTimeIntervalMax@d$kCLDistanceFilterNone@d$kCLErrorDomain$kCLErrorUserInfoAlternateRegionKey$kCLHeadingFilterNone@d$kCLLocationAccuracyBest@d$kCLLocationAccuracyBestForNavigation@d$kCLLocationAccuracyHundredMeters@d$kCLLocationAccuracyKilometer@d$kCLLocationAccuracyNearestTenMeters@d$kCLLocationAccuracyReduced@d$kCLLocationAccuracyThreeKilometers@d$kCLLocationCoordinate2DInvalid@{CLLocationCoordinate2D=dd}$"""
43
+ enums = """$CLAccuracyAuthorizationFullAccuracy@0$CLAccuracyAuthorizationReducedAccuracy@1$CLActivityTypeAirborne@5$CLActivityTypeAutomotiveNavigation@2$CLActivityTypeFitness@3$CLActivityTypeOther@1$CLActivityTypeOtherNavigation@4$CLDeviceOrientationFaceDown@6$CLDeviceOrientationFaceUp@5$CLDeviceOrientationLandscapeLeft@3$CLDeviceOrientationLandscapeRight@4$CLDeviceOrientationPortrait@1$CLDeviceOrientationPortraitUpsideDown@2$CLDeviceOrientationUnknown@0$CLLiveUpdateConfigurationAirborne@4$CLLiveUpdateConfigurationAutomotiveNavigation@1$CLLiveUpdateConfigurationDefault@0$CLLiveUpdateConfigurationFitness@3$CLLiveUpdateConfigurationOtherNavigation@2$CLLocationPushServiceErrorMissingEntitlement@3$CLLocationPushServiceErrorMissingPushExtension@1$CLLocationPushServiceErrorMissingPushServerEnvironment@2$CLLocationPushServiceErrorUnknown@0$CLLocationPushServiceErrorUnsupportedPlatform@4$CLMonitoringStateSatisfied@1$CLMonitoringStateUnknown@0$CLMonitoringStateUnmonitored@3$CLMonitoringStateUnsatisfied@2$CLProximityFar@3$CLProximityImmediate@1$CLProximityNear@2$CLProximityUnknown@0$CLRegionStateInside@1$CLRegionStateOutside@2$CLRegionStateUnknown@0$CLServiceSessionAuthorizationRequirementAlways@2$CLServiceSessionAuthorizationRequirementNone@0$CLServiceSessionAuthorizationRequirementWhenInUse@1$CL_TARGET_SUPPORTS_CONDITIONS@1$kCLAuthorizationStatusAuthorized@3$kCLAuthorizationStatusAuthorizedAlways@3$kCLAuthorizationStatusAuthorizedWhenInUse@4$kCLAuthorizationStatusDenied@2$kCLAuthorizationStatusNotDetermined@0$kCLAuthorizationStatusRestricted@1$kCLErrorDeferredAccuracyTooLow@13$kCLErrorDeferredCanceled@15$kCLErrorDeferredDistanceFiltered@14$kCLErrorDeferredFailed@11$kCLErrorDeferredNotUpdatingLocation@12$kCLErrorDenied@1$kCLErrorGeocodeCanceled@10$kCLErrorGeocodeFoundNoResult@8$kCLErrorGeocodeFoundPartialResult@9$kCLErrorHeadingFailure@3$kCLErrorHistoricalLocationError@19$kCLErrorLocationUnknown@0$kCLErrorNetwork@2$kCLErrorPromptDeclined@18$kCLErrorRangingFailure@17$kCLErrorRangingUnavailable@16$kCLErrorRegionMonitoringDenied@4$kCLErrorRegionMonitoringFailure@5$kCLErrorRegionMonitoringResponseDelayed@7$kCLErrorRegionMonitoringSetupDelayed@6$"""
44
+ misc.update(
45
+ {
46
+ "CLAccuracyAuthorization": NewType("CLAccuracyAuthorization", int),
47
+ "CLProximity": NewType("CLProximity", int),
48
+ "CLMonitoringState": NewType("CLMonitoringState", int),
49
+ "CLError": NewType("CLError", int),
50
+ "CLLiveUpdateConfiguration": NewType("CLLiveUpdateConfiguration", int),
51
+ "CLActivityType": NewType("CLActivityType", int),
52
+ "CLRegionState": NewType("CLRegionState", int),
53
+ "CLDeviceOrientation": NewType("CLDeviceOrientation", int),
54
+ "CLAuthorizationStatus": NewType("CLAuthorizationStatus", int),
55
+ "CLServiceSessionAuthorizationRequirement": NewType(
56
+ "CLServiceSessionAuthorizationRequirement", int
57
+ ),
58
+ "CLLocationPushServiceError": NewType("CLLocationPushServiceError", int),
59
+ }
60
+ )
61
+ misc.update({})
62
+ misc.update({})
63
+ functions = {
64
+ "CLLocationCoordinate2DIsValid": (b"Z{CLLocationCoordinate2D=dd}",),
65
+ "CLLocationCoordinate2DMake": (b"{CLLocationCoordinate2D=dd}dd",),
66
+ }
67
+ aliases = {"kCLAuthorizationStatusAuthorized": "kCLAuthorizationStatusAuthorizedAlways"}
68
+ r = objc.registerMetaDataForSelector
69
+ objc._updatingMetadata(True)
70
+ try:
71
+ r(
72
+ b"CLBackgroundActivitySession",
73
+ b"backgroundActivitySessionWithQueue:handler:",
74
+ {
75
+ "arguments": {
76
+ 3: {
77
+ "callable": {
78
+ "retval": {"type": b"v"},
79
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
80
+ }
81
+ }
82
+ }
83
+ },
84
+ )
85
+ r(
86
+ b"CLBackgroundActivitySessionDiagnostic",
87
+ b"authorizationDenied",
88
+ {"retval": {"type": b"Z"}},
89
+ )
90
+ r(
91
+ b"CLBackgroundActivitySessionDiagnostic",
92
+ b"authorizationDeniedGlobally",
93
+ {"retval": {"type": b"Z"}},
94
+ )
95
+ r(
96
+ b"CLBackgroundActivitySessionDiagnostic",
97
+ b"authorizationRequestInProgress",
98
+ {"retval": {"type": b"Z"}},
99
+ )
100
+ r(
101
+ b"CLBackgroundActivitySessionDiagnostic",
102
+ b"authorizationRestricted",
103
+ {"retval": {"type": b"Z"}},
104
+ )
105
+ r(
106
+ b"CLBackgroundActivitySessionDiagnostic",
107
+ b"insufficientlyInUse",
108
+ {"retval": {"type": b"Z"}},
109
+ )
110
+ r(
111
+ b"CLBackgroundActivitySessionDiagnostic",
112
+ b"serviceSessionRequired",
113
+ {"retval": {"type": b"Z"}},
114
+ )
115
+ r(b"CLBeaconRegion", b"notifyEntryStateOnDisplay", {"retval": {"type": b"Z"}})
116
+ r(
117
+ b"CLBeaconRegion",
118
+ b"setNotifyEntryStateOnDisplay:",
119
+ {"arguments": {2: {"type": b"Z"}}},
120
+ )
121
+ r(
122
+ b"CLCircularRegion",
123
+ b"center",
124
+ {"retval": {"type": "{CLLocationCoordinate2D=dd}"}},
125
+ )
126
+ r(
127
+ b"CLCircularRegion",
128
+ b"containsCoordinate:",
129
+ {
130
+ "retval": {"type": "Z"},
131
+ "arguments": {2: {"type": "{CLLocationCoordinate2D=dd}"}},
132
+ },
133
+ )
134
+ r(
135
+ b"CLCircularRegion",
136
+ b"initWithCenter:radius:identifier:",
137
+ {"arguments": {2: {"type": "{CLLocationCoordinate2D=dd}"}}},
138
+ )
139
+ r(
140
+ b"CLGeocoder",
141
+ b"geocodeAddressDictionary:completionHandler:",
142
+ {
143
+ "arguments": {
144
+ 3: {
145
+ "callable": {
146
+ "retval": {"type": b"v"},
147
+ "arguments": {
148
+ 0: {"type": b"^v"},
149
+ 1: {"type": b"@"},
150
+ 2: {"type": b"@"},
151
+ },
152
+ }
153
+ }
154
+ }
155
+ },
156
+ )
157
+ r(
158
+ b"CLGeocoder",
159
+ b"geocodeAddressString:completionHandler:",
160
+ {
161
+ "arguments": {
162
+ 3: {
163
+ "callable": {
164
+ "retval": {"type": b"v"},
165
+ "arguments": {
166
+ 0: {"type": b"^v"},
167
+ 1: {"type": b"@"},
168
+ 2: {"type": b"@"},
169
+ },
170
+ }
171
+ }
172
+ }
173
+ },
174
+ )
175
+ r(
176
+ b"CLGeocoder",
177
+ b"geocodeAddressString:inRegion:completionHandler:",
178
+ {
179
+ "arguments": {
180
+ 4: {
181
+ "callable": {
182
+ "retval": {"type": b"v"},
183
+ "arguments": {
184
+ 0: {"type": b"^v"},
185
+ 1: {"type": b"@"},
186
+ 2: {"type": b"@"},
187
+ },
188
+ }
189
+ }
190
+ }
191
+ },
192
+ )
193
+ r(
194
+ b"CLGeocoder",
195
+ b"geocodeAddressString:inRegion:preferredLocale:completionHandler:",
196
+ {
197
+ "arguments": {
198
+ 5: {
199
+ "callable": {
200
+ "retval": {"type": b"v"},
201
+ "arguments": {
202
+ 0: {"type": b"^v"},
203
+ 1: {"type": b"@"},
204
+ 2: {"type": b"@"},
205
+ },
206
+ }
207
+ }
208
+ }
209
+ },
210
+ )
211
+ r(
212
+ b"CLGeocoder",
213
+ b"geocodeAddressString:inRegionCenteredAt:inRegionRadius:preferredLocale:completionHandler:",
214
+ {
215
+ "arguments": {
216
+ 6: {
217
+ "callable": {
218
+ "retval": {"type": b"v"},
219
+ "arguments": {
220
+ 0: {"type": b"^v"},
221
+ 1: {"type": b"@"},
222
+ 2: {"type": b"@"},
223
+ },
224
+ }
225
+ }
226
+ }
227
+ },
228
+ )
229
+ r(
230
+ b"CLGeocoder",
231
+ b"geocodePostalAddress:completionHandler:",
232
+ {
233
+ "arguments": {
234
+ 3: {
235
+ "callable": {
236
+ "retval": {"type": b"v"},
237
+ "arguments": {
238
+ 0: {"type": b"^v"},
239
+ 1: {"type": b"@"},
240
+ 2: {"type": b"@"},
241
+ },
242
+ }
243
+ }
244
+ }
245
+ },
246
+ )
247
+ r(
248
+ b"CLGeocoder",
249
+ b"geocodePostalAddress:preferredLocale:completionHandler:",
250
+ {
251
+ "arguments": {
252
+ 4: {
253
+ "callable": {
254
+ "retval": {"type": b"v"},
255
+ "arguments": {
256
+ 0: {"type": b"^v"},
257
+ 1: {"type": b"@"},
258
+ 2: {"type": b"@"},
259
+ },
260
+ }
261
+ }
262
+ }
263
+ },
264
+ )
265
+ r(b"CLGeocoder", b"isGeocoding", {"retval": {"type": b"Z"}})
266
+ r(
267
+ b"CLGeocoder",
268
+ b"reverseGeocodeLocation:completionHandler:",
269
+ {
270
+ "arguments": {
271
+ 3: {
272
+ "callable": {
273
+ "retval": {"type": b"v"},
274
+ "arguments": {
275
+ 0: {"type": b"^v"},
276
+ 1: {"type": b"@"},
277
+ 2: {"type": b"@"},
278
+ },
279
+ }
280
+ }
281
+ }
282
+ },
283
+ )
284
+ r(
285
+ b"CLGeocoder",
286
+ b"reverseGeocodeLocation:preferredLocale:completionHandler:",
287
+ {
288
+ "arguments": {
289
+ 4: {
290
+ "callable": {
291
+ "retval": {"type": b"v"},
292
+ "arguments": {
293
+ 0: {"type": b"^v"},
294
+ 1: {"type": b"@"},
295
+ 2: {"type": b"@"},
296
+ },
297
+ }
298
+ }
299
+ }
300
+ },
301
+ )
302
+ r(b"CLLocation", b"coordinate", {"retval": {"type": "{CLLocationCoordinate2D=dd}"}})
303
+ r(
304
+ b"CLLocation",
305
+ b"initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:speed:timestamp:",
306
+ {"arguments": {2: {"type": "{CLLocationCoordinate2D=dd}"}}},
307
+ )
308
+ r(
309
+ b"CLLocation",
310
+ b"initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:timestamp:",
311
+ {"arguments": {2: {"type": "{CLLocationCoordinate2D=dd}"}}},
312
+ )
313
+ r(
314
+ b"CLLocationManager",
315
+ b"allowsBackgroundLocationUpdates",
316
+ {"retval": {"type": b"Z"}},
317
+ )
318
+ r(
319
+ b"CLLocationManager",
320
+ b"deferredLocationUpdatesAvailable",
321
+ {"retval": {"type": b"Z"}},
322
+ )
323
+ r(b"CLLocationManager", b"headingAvailable", {"retval": {"type": b"Z"}})
324
+ r(
325
+ b"CLLocationManager",
326
+ b"isAuthorizedForPreciseLocation",
327
+ {"retval": {"type": "Z"}},
328
+ )
329
+ r(b"CLLocationManager", b"isAuthorizedForWidgetUpdates", {"retval": {"type": b"Z"}})
330
+ r(
331
+ b"CLLocationManager",
332
+ b"isMonitoringAvailableForClass:",
333
+ {"retval": {"type": b"Z"}},
334
+ )
335
+ r(b"CLLocationManager", b"isRangingAvailable", {"retval": {"type": b"Z"}})
336
+ r(b"CLLocationManager", b"locationServicesEnabled", {"retval": {"type": "Z"}})
337
+ r(
338
+ b"CLLocationManager",
339
+ b"pausesLocationUpdatesAutomatically",
340
+ {"retval": {"type": b"Z"}},
341
+ )
342
+ r(b"CLLocationManager", b"regionMonitoringAvailable", {"retval": {"type": b"Z"}})
343
+ r(b"CLLocationManager", b"regionMonitoringEnabled", {"retval": {"type": b"Z"}})
344
+ r(
345
+ b"CLLocationManager",
346
+ b"requestHistoricalLocationsWithPurposeKey:sampleCount:completionHandler:",
347
+ {
348
+ "arguments": {
349
+ 4: {
350
+ "callable": {
351
+ "retval": {"type": b"v"},
352
+ "arguments": {
353
+ 0: {"type": b"^v"},
354
+ 1: {"type": b"@"},
355
+ 2: {"type": b"@"},
356
+ },
357
+ }
358
+ }
359
+ }
360
+ },
361
+ )
362
+ r(
363
+ b"CLLocationManager",
364
+ b"requestTemporaryFullAccuracyAuthorizationWithPurposeKey:completion:",
365
+ {
366
+ "arguments": {
367
+ 3: {
368
+ "callable": {
369
+ "retval": {"type": b"v"},
370
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
371
+ }
372
+ }
373
+ }
374
+ },
375
+ )
376
+ r(
377
+ b"CLLocationManager",
378
+ b"requestTemporaryPreciseLocationAuthorizationWithPurposeKey:completion:",
379
+ {
380
+ "arguments": {
381
+ 3: {
382
+ "callable": {
383
+ "retval": {"type": b"v"},
384
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
385
+ }
386
+ }
387
+ }
388
+ },
389
+ )
390
+ r(
391
+ b"CLLocationManager",
392
+ b"setAllowsBackgroundLocationUpdates:",
393
+ {"arguments": {2: {"type": b"Z"}}},
394
+ )
395
+ r(
396
+ b"CLLocationManager",
397
+ b"setPausesLocationUpdatesAutomatically:",
398
+ {"arguments": {2: {"type": b"Z"}}},
399
+ )
400
+ r(
401
+ b"CLLocationManager",
402
+ b"setShowsBackgroundLocationIndicator:",
403
+ {"arguments": {2: {"type": b"Z"}}},
404
+ )
405
+ r(
406
+ b"CLLocationManager",
407
+ b"showsBackgroundLocationIndicator",
408
+ {"retval": {"type": b"Z"}},
409
+ )
410
+ r(
411
+ b"CLLocationManager",
412
+ b"significantLocationChangeMonitoringAvailable",
413
+ {"retval": {"type": b"Z"}},
414
+ )
415
+ r(
416
+ b"CLLocationManager",
417
+ b"startMonitoringLocationPushesWithCompletion:",
418
+ {
419
+ "arguments": {
420
+ 2: {
421
+ "callable": {
422
+ "retval": {"type": b"v"},
423
+ "arguments": {
424
+ 0: {"type": b"^v"},
425
+ 1: {"type": b"@"},
426
+ 2: {"type": b"@"},
427
+ },
428
+ }
429
+ }
430
+ }
431
+ },
432
+ )
433
+ r(
434
+ b"CLLocationSourceInformation",
435
+ b"initWithSoftwareSimulationState:andExternalAccessoryState:",
436
+ {"arguments": {3: {"type": "Z"}}},
437
+ )
438
+ r(
439
+ b"CLLocationSourceInformation",
440
+ b"isProducedByAccessory",
441
+ {"retval": {"type": "Z"}},
442
+ )
443
+ r(
444
+ b"CLLocationSourceInformation",
445
+ b"isSimulatedBySoftware",
446
+ {"retval": {"type": "Z"}},
447
+ )
448
+ r(
449
+ b"CLLocationUpdater",
450
+ b"liveUpdaterWithConfiguration:queue:handler:",
451
+ {
452
+ "arguments": {
453
+ 4: {
454
+ "callable": {
455
+ "retval": {"type": b"v"},
456
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
457
+ }
458
+ }
459
+ }
460
+ },
461
+ )
462
+ r(
463
+ b"CLLocationUpdater",
464
+ b"liveUpdaterWithQueue:handler:",
465
+ {
466
+ "arguments": {
467
+ 3: {
468
+ "callable": {
469
+ "retval": {"type": b"v"},
470
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
471
+ }
472
+ }
473
+ }
474
+ },
475
+ )
476
+ r(
477
+ b"CLMonitor",
478
+ b"requestMonitorWithConfiguration:completion:",
479
+ {
480
+ "arguments": {
481
+ 3: {
482
+ "callable": {
483
+ "retval": {"type": b"v"},
484
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
485
+ }
486
+ }
487
+ }
488
+ },
489
+ )
490
+ r(
491
+ b"CLMonitorConfiguration",
492
+ b"configWithMonitorName:queue:eventHandler:",
493
+ {
494
+ "arguments": {
495
+ 4: {
496
+ "callable": {
497
+ "retval": {"type": b"v"},
498
+ "arguments": {
499
+ 0: {"type": b"^v"},
500
+ 1: {"type": b"@"},
501
+ 2: {"type": b"@"},
502
+ },
503
+ }
504
+ }
505
+ }
506
+ },
507
+ )
508
+ r(
509
+ b"CLMonitorConfiguration",
510
+ b"eventHandler",
511
+ {
512
+ "retval": {
513
+ "callable": {
514
+ "retval": {"type": b"v"},
515
+ "arguments": {
516
+ 0: {"type": b"^v"},
517
+ 1: {"type": b"@"},
518
+ 2: {"type": b"@"},
519
+ },
520
+ }
521
+ }
522
+ },
523
+ )
524
+ r(b"CLMonitoringEvent", b"accuracyLimited", {"retval": {"type": b"Z"}})
525
+ r(b"CLMonitoringEvent", b"authorizationDenied", {"retval": {"type": b"Z"}})
526
+ r(b"CLMonitoringEvent", b"authorizationDeniedGlobally", {"retval": {"type": b"Z"}})
527
+ r(
528
+ b"CLMonitoringEvent",
529
+ b"authorizationRequestInProgress",
530
+ {"retval": {"type": b"Z"}},
531
+ )
532
+ r(b"CLMonitoringEvent", b"authorizationRestricted", {"retval": {"type": b"Z"}})
533
+ r(b"CLMonitoringEvent", b"conditionLimitExceeded", {"retval": {"type": b"Z"}})
534
+ r(b"CLMonitoringEvent", b"conditionUnsupported", {"retval": {"type": b"Z"}})
535
+ r(b"CLMonitoringEvent", b"insufficientlyInUse", {"retval": {"type": b"Z"}})
536
+ r(b"CLMonitoringEvent", b"persistenceUnavailable", {"retval": {"type": b"Z"}})
537
+ r(b"CLMonitoringEvent", b"serviceSessionRequired", {"retval": {"type": b"Z"}})
538
+ r(b"CLRegion", b"center", {"retval": {"type": "{CLLocationCoordinate2D=dd}"}})
539
+ r(
540
+ b"CLRegion",
541
+ b"containsCoordinate:",
542
+ {
543
+ "retval": {"type": "Z"},
544
+ "arguments": {2: {"type": "{CLLocationCoordinate2D=dd}"}},
545
+ },
546
+ )
547
+ r(
548
+ b"CLRegion",
549
+ b"initCircularRegionWithCenter:radius:identifier:",
550
+ {"arguments": {2: {"type": "{CLLocationCoordinate2D=dd}"}}},
551
+ )
552
+ r(b"CLRegion", b"notifyOnEntry", {"retval": {"type": b"Z"}})
553
+ r(b"CLRegion", b"notifyOnExit", {"retval": {"type": b"Z"}})
554
+ r(b"CLRegion", b"setNotifyOnEntry:", {"arguments": {2: {"type": b"Z"}}})
555
+ r(b"CLRegion", b"setNotifyOnExit:", {"arguments": {2: {"type": b"Z"}}})
556
+ r(
557
+ b"CLServiceSession",
558
+ b"sessionRequiringAuthorization:fullAccuracyPurposeKey:queue:handler:",
559
+ {
560
+ "arguments": {
561
+ 5: {
562
+ "callable": {
563
+ "retval": {"type": b"v"},
564
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
565
+ }
566
+ }
567
+ }
568
+ },
569
+ )
570
+ r(
571
+ b"CLServiceSession",
572
+ b"sessionRequiringAuthorization:queue:handler:",
573
+ {
574
+ "arguments": {
575
+ 4: {
576
+ "callable": {
577
+ "retval": {"type": b"v"},
578
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
579
+ }
580
+ }
581
+ }
582
+ },
583
+ )
584
+ r(
585
+ b"CLServiceSessionDiagnostic",
586
+ b"alwaysAuthorizationDenied",
587
+ {"retval": {"type": b"Z"}},
588
+ )
589
+ r(b"CLServiceSessionDiagnostic", b"authorizationDenied", {"retval": {"type": b"Z"}})
590
+ r(
591
+ b"CLServiceSessionDiagnostic",
592
+ b"authorizationDeniedGlobally",
593
+ {"retval": {"type": b"Z"}},
594
+ )
595
+ r(
596
+ b"CLServiceSessionDiagnostic",
597
+ b"authorizationRequestInProgress",
598
+ {"retval": {"type": b"Z"}},
599
+ )
600
+ r(
601
+ b"CLServiceSessionDiagnostic",
602
+ b"authorizationRestricted",
603
+ {"retval": {"type": b"Z"}},
604
+ )
605
+ r(b"CLServiceSessionDiagnostic", b"fullAccuracyDenied", {"retval": {"type": b"Z"}})
606
+ r(b"CLServiceSessionDiagnostic", b"insufficientlyInUse", {"retval": {"type": b"Z"}})
607
+ r(
608
+ b"CLServiceSessionDiagnostic",
609
+ b"serviceSessionRequired",
610
+ {"retval": {"type": b"Z"}},
611
+ )
612
+ r(b"CLUpdate", b"accuracyLimited", {"retval": {"type": b"Z"}})
613
+ r(b"CLUpdate", b"authorizationDenied", {"retval": {"type": b"Z"}})
614
+ r(b"CLUpdate", b"authorizationDeniedGlobally", {"retval": {"type": b"Z"}})
615
+ r(b"CLUpdate", b"authorizationRequestInProgress", {"retval": {"type": b"Z"}})
616
+ r(b"CLUpdate", b"authorizationRestricted", {"retval": {"type": b"Z"}})
617
+ r(b"CLUpdate", b"insufficientlyInUse", {"retval": {"type": b"Z"}})
618
+ r(b"CLUpdate", b"isStationary", {"retval": {"type": b"Z"}})
619
+ r(b"CLUpdate", b"locationUnavailable", {"retval": {"type": b"Z"}})
620
+ r(b"CLUpdate", b"serviceSessionRequired", {"retval": {"type": b"Z"}})
621
+ r(b"CLUpdate", b"stationary", {"retval": {"type": b"Z"}})
622
+ r(
623
+ b"NSObject",
624
+ b"didReceiveLocationPushPayload:completion:",
625
+ {
626
+ "required": True,
627
+ "retval": {"type": b"v"},
628
+ "arguments": {
629
+ 2: {"type": b"@"},
630
+ 3: {
631
+ "callable": {
632
+ "retval": {"type": b"v"},
633
+ "arguments": {0: {"type": b"^v"}},
634
+ },
635
+ "type": b"@?",
636
+ },
637
+ },
638
+ },
639
+ )
640
+ r(
641
+ b"NSObject",
642
+ b"locationManager:didChangeAuthorizationStatus:",
643
+ {
644
+ "required": False,
645
+ "retval": {"type": b"v"},
646
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"i"}},
647
+ },
648
+ )
649
+ r(
650
+ b"NSObject",
651
+ b"locationManager:didDetermineState:forRegion:",
652
+ {
653
+ "required": False,
654
+ "retval": {"type": b"v"},
655
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"q"}, 4: {"type": b"@"}},
656
+ },
657
+ )
658
+ r(
659
+ b"NSObject",
660
+ b"locationManager:didEnterRegion:",
661
+ {
662
+ "required": False,
663
+ "retval": {"type": b"v"},
664
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
665
+ },
666
+ )
667
+ r(
668
+ b"NSObject",
669
+ b"locationManager:didExitRegion:",
670
+ {
671
+ "required": False,
672
+ "retval": {"type": b"v"},
673
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
674
+ },
675
+ )
676
+ r(
677
+ b"NSObject",
678
+ b"locationManager:didFailRangingBeaconsForConstraint:error:",
679
+ {
680
+ "required": False,
681
+ "retval": {"type": b"v"},
682
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
683
+ },
684
+ )
685
+ r(
686
+ b"NSObject",
687
+ b"locationManager:didFailWithError:",
688
+ {
689
+ "required": False,
690
+ "retval": {"type": b"v"},
691
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
692
+ },
693
+ )
694
+ r(
695
+ b"NSObject",
696
+ b"locationManager:didFinishDeferredUpdatesWithError:",
697
+ {
698
+ "required": False,
699
+ "retval": {"type": b"v"},
700
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
701
+ },
702
+ )
703
+ r(
704
+ b"NSObject",
705
+ b"locationManager:didRangeBeacons:inRegion:",
706
+ {
707
+ "required": False,
708
+ "retval": {"type": b"v"},
709
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
710
+ },
711
+ )
712
+ r(
713
+ b"NSObject",
714
+ b"locationManager:didRangeBeacons:satisfyingConstraint:",
715
+ {
716
+ "required": False,
717
+ "retval": {"type": b"v"},
718
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
719
+ },
720
+ )
721
+ r(
722
+ b"NSObject",
723
+ b"locationManager:didStartMonitoringForRegion:",
724
+ {
725
+ "required": False,
726
+ "retval": {"type": b"v"},
727
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
728
+ },
729
+ )
730
+ r(
731
+ b"NSObject",
732
+ b"locationManager:didUpdateHeading:",
733
+ {
734
+ "required": False,
735
+ "retval": {"type": b"v"},
736
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
737
+ },
738
+ )
739
+ r(
740
+ b"NSObject",
741
+ b"locationManager:didUpdateLocations:",
742
+ {
743
+ "required": False,
744
+ "retval": {"type": b"v"},
745
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
746
+ },
747
+ )
748
+ r(
749
+ b"NSObject",
750
+ b"locationManager:didUpdateToLocation:fromLocation:",
751
+ {
752
+ "required": False,
753
+ "retval": {"type": b"v"},
754
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
755
+ },
756
+ )
757
+ r(
758
+ b"NSObject",
759
+ b"locationManager:didVisit:",
760
+ {
761
+ "required": False,
762
+ "retval": {"type": b"v"},
763
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
764
+ },
765
+ )
766
+ r(
767
+ b"NSObject",
768
+ b"locationManager:monitoringDidFailForRegion:withError:",
769
+ {
770
+ "required": False,
771
+ "retval": {"type": b"v"},
772
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
773
+ },
774
+ )
775
+ r(
776
+ b"NSObject",
777
+ b"locationManager:rangingBeaconsDidFailForRegion:withError:",
778
+ {
779
+ "required": False,
780
+ "retval": {"type": b"v"},
781
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
782
+ },
783
+ )
784
+ r(
785
+ b"NSObject",
786
+ b"locationManagerDidChangeAuthorization:",
787
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
788
+ )
789
+ r(
790
+ b"NSObject",
791
+ b"locationManagerDidPauseLocationUpdates:",
792
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
793
+ )
794
+ r(
795
+ b"NSObject",
796
+ b"locationManagerDidResumeLocationUpdates:",
797
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
798
+ )
799
+ r(
800
+ b"NSObject",
801
+ b"locationManagerShouldDisplayHeadingCalibration:",
802
+ {"required": False, "retval": {"type": b"Z"}, "arguments": {2: {"type": b"@"}}},
803
+ )
804
+ r(
805
+ b"NSObject",
806
+ b"serviceExtensionWillTerminate",
807
+ {"required": False, "retval": {"type": b"v"}},
808
+ )
809
+ finally:
810
+ objc._updatingMetadata(False)
811
+
812
+ objc.registerNewKeywordsFromSelector("CLBackgroundActivitySession", b"init")
813
+ objc.registerNewKeywordsFromSelector("CLBeaconIdentityCondition", b"initWithUUID:")
814
+ objc.registerNewKeywordsFromSelector(
815
+ "CLBeaconIdentityCondition", b"initWithUUID:major:"
816
+ )
817
+ objc.registerNewKeywordsFromSelector(
818
+ "CLBeaconIdentityCondition", b"initWithUUID:major:minor:"
819
+ )
820
+ objc.registerNewKeywordsFromSelector(
821
+ "CLBeaconRegion", b"initWithBeaconIdentityConstraint:identifier:"
822
+ )
823
+ objc.registerNewKeywordsFromSelector(
824
+ "CLBeaconRegion", b"initWithProximityUUID:identifier:"
825
+ )
826
+ objc.registerNewKeywordsFromSelector(
827
+ "CLBeaconRegion", b"initWithProximityUUID:major:identifier:"
828
+ )
829
+ objc.registerNewKeywordsFromSelector(
830
+ "CLBeaconRegion", b"initWithProximityUUID:major:minor:identifier:"
831
+ )
832
+ objc.registerNewKeywordsFromSelector("CLBeaconRegion", b"initWithUUID:identifier:")
833
+ objc.registerNewKeywordsFromSelector(
834
+ "CLBeaconRegion", b"initWithUUID:major:identifier:"
835
+ )
836
+ objc.registerNewKeywordsFromSelector(
837
+ "CLBeaconRegion", b"initWithUUID:major:minor:identifier:"
838
+ )
839
+ objc.registerNewKeywordsFromSelector(
840
+ "CLCircularGeographicCondition", b"initWithCenter:radius:"
841
+ )
842
+ objc.registerNewKeywordsFromSelector(
843
+ "CLCircularRegion", b"initWithCenter:radius:identifier:"
844
+ )
845
+ objc.registerNewKeywordsFromSelector("CLCondition", b"init")
846
+ objc.registerNewKeywordsFromSelector("CLLocationUpdater", b"init")
847
+ objc.registerNewKeywordsFromSelector("CLMonitor", b"init")
848
+ objc.registerNewKeywordsFromSelector("CLMonitoringEvent", b"init")
849
+ objc.registerNewKeywordsFromSelector("CLMonitoringRecord", b"init")
850
+ objc.registerNewKeywordsFromSelector("CLPlacemark", b"init")
851
+ objc.registerNewKeywordsFromSelector("CLPlacemark", b"initWithPlacemark:")
852
+ objc.registerNewKeywordsFromSelector(
853
+ "CLRegion", b"initCircularRegionWithCenter:radius:identifier:"
854
+ )
855
+ objc.registerNewKeywordsFromSelector("CLServiceSession", b"init")
856
+
857
+ objc.registerNewKeywords(
858
+ "CLBackgroundActivitySession",
859
+ ("queue", "handler"),
860
+ "backgroundActivitySessionWithQueue_handler_",
861
+ )
862
+ objc.registerNewKeywords(
863
+ "CLLocationUpdater",
864
+ ("configuration", "queue", "handler"),
865
+ "liveUpdaterWithConfiguration_queue_handler_",
866
+ )
867
+ objc.registerNewKeywords(
868
+ "CLLocationUpdater", ("queue", "handler"), "liveUpdaterWithQueue_handler_"
869
+ )
870
+ expressions = {}
871
+
872
+ # END OF FILE
@@ -0,0 +1,72 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyobjc-framework-CoreLocation
3
+ Version: 12.2
4
+ Summary: Wrappers for the framework CoreLocation on macOS
5
+ Home-page: https://github.com/ronaldoussoren/pyobjc
6
+ Author: Ronald Oussoren
7
+ Author-email: pyobjc-dev@lists.sourceforge.net
8
+ License: MIT
9
+ Keywords: PyObjC,CoreLocation
10
+ Platform: MacOS X (>=10.6)
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Environment :: Console
13
+ Classifier: Environment :: MacOS X :: Cocoa
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Natural Language :: English
16
+ Classifier: Operating System :: MacOS :: MacOS X
17
+ Classifier: Programming Language :: Python
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3 :: Only
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
25
+ Classifier: Programming Language :: Python :: 3.15
26
+ Classifier: Programming Language :: Python :: Implementation :: CPython
27
+ Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
28
+ Classifier: Programming Language :: Objective C
29
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
+ Classifier: Topic :: Software Development :: User Interfaces
31
+ Requires-Python: >=3.10
32
+ Description-Content-Type: text/x-rst; charset=UTF-8
33
+ License-File: LICENSE.txt
34
+ Requires-Dist: pyobjc-core>=12.2
35
+ Requires-Dist: pyobjc-framework-Cocoa>=12.2
36
+ Dynamic: author
37
+ Dynamic: author-email
38
+ Dynamic: classifier
39
+ Dynamic: description
40
+ Dynamic: description-content-type
41
+ Dynamic: home-page
42
+ Dynamic: keywords
43
+ Dynamic: license
44
+ Dynamic: license-file
45
+ Dynamic: platform
46
+ Dynamic: requires-dist
47
+ Dynamic: requires-python
48
+ Dynamic: summary
49
+ Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
50
+ Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
51
+ Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
52
+
53
+
54
+ Wrappers for framework 'CoreLocation' on macOS 10.6. This framework provides
55
+ an interface for dealing with the physical location of a machine, which allows
56
+ for geo-aware applications.
57
+
58
+ These wrappers don't include documentation, please check Apple's documentation
59
+ for information on how to use this framework and PyObjC's documentation
60
+ for general tips and tricks regarding the translation between Python
61
+ and (Objective-)C frameworks
62
+
63
+
64
+ Project links
65
+ -------------
66
+
67
+ * `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
68
+
69
+ * `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
70
+
71
+ * `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
72
+
@@ -0,0 +1,9 @@
1
+ CoreLocation/_CoreLocation.cpython-315t-darwin.so,sha256=YyF4PCB0t3gPDgSgPwRuUUc4dFXxIdcixGhFp1qx1Uc,84456
2
+ CoreLocation/__init__.py,sha256=tERvUw6nVkb6ZUVP7CBJQUA7Mck2haMXyGhmMPRFnOs,1466
3
+ CoreLocation/_metadata.py,sha256=wkK7ctz0gsypBA9gZNrHdKS1UPRbN7WibXgy_TPuIYU,29419
4
+ pyobjc_framework_corelocation-12.2.dist-info/licenses/LICENSE.txt,sha256=DKBLB5KNSHK52bsiGHygQm3Yv6sI8m6toJmacdyBqv8,1249
5
+ pyobjc_framework_corelocation-12.2.dist-info/METADATA,sha256=RQJMQzeplkafNxGHzkrjc3nVcf5eDRknosnru41O4xE,2696
6
+ pyobjc_framework_corelocation-12.2.dist-info/WHEEL,sha256=_nP7yfUfwxmGX9RTJbiMJrobK8htS_8OhvZ4aYaIBs4,116
7
+ pyobjc_framework_corelocation-12.2.dist-info/pyobjc-build-info.txt,sha256=Ri0Wl_rPog8K797Y9SwUgX2P5KgewvMu0uQOBhtk0lo,83
8
+ pyobjc_framework_corelocation-12.2.dist-info/top_level.txt,sha256=ofqEl-EuGtkMOcxPfHjFCX_xKt9OWt1c5464Sc5egCE,13
9
+ pyobjc_framework_corelocation-12.2.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp315-cp315t-macosx_10_15_universal2
5
+
@@ -0,0 +1,10 @@
1
+ (This is the MIT license, note that libffi-src is a separate product with its own license)
2
+
3
+ Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
4
+ Copyright 2003-2025 - Ronald Oussoren
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7
+
8
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9
+
10
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,3 @@
1
+ macOS 26.5 (25F71)
2
+ Apple clang version 21.0.0 (clang-2100.1.1.101)
3
+ SDK: macOS 26.5
@@ -0,0 +1 @@
1
+ CoreLocation