pyobjc-framework-CoreSpotlight 12.2__cp315-cp315-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.
- CoreSpotlight/_CoreSpotlight.cpython-315-darwin.so +0 -0
- CoreSpotlight/__init__.py +43 -0
- CoreSpotlight/_metadata.py +455 -0
- pyobjc_framework_corespotlight-12.2.dist-info/METADATA +68 -0
- pyobjc_framework_corespotlight-12.2.dist-info/RECORD +8 -0
- pyobjc_framework_corespotlight-12.2.dist-info/WHEEL +5 -0
- pyobjc_framework_corespotlight-12.2.dist-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_corespotlight-12.2.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Python mapping for the CoreSpotlight 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, _CoreSpotlight
|
|
15
|
+
|
|
16
|
+
dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
|
|
17
|
+
name="CoreSpotlight",
|
|
18
|
+
frameworkIdentifier="com.apple.CoreSpotlight",
|
|
19
|
+
frameworkPath=objc.pathForFramework(
|
|
20
|
+
"/System/Library/Frameworks/CoreSpotlight.framework"
|
|
21
|
+
),
|
|
22
|
+
globals_dict=globals(),
|
|
23
|
+
inline_list=None,
|
|
24
|
+
parents=(
|
|
25
|
+
_CoreSpotlight,
|
|
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
|
+
("CSSearchQuery", b"init"),
|
|
36
|
+
("CSCustomAttributeKey", b"init"),
|
|
37
|
+
):
|
|
38
|
+
objc.registerUnavailableMethod(cls, sel)
|
|
39
|
+
|
|
40
|
+
del sys.modules["CoreSpotlight._metadata"]
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
globals().pop("_setup")()
|
|
@@ -0,0 +1,455 @@
|
|
|
1
|
+
# This file is generated by objective.metadata
|
|
2
|
+
#
|
|
3
|
+
# Last update: Thu May 28 21:35:26 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
|
+
constants = """$CSActionIdentifier$CSIndexErrorDomain$CSMailboxArchive$CSMailboxDrafts$CSMailboxInbox$CSMailboxJunk$CSMailboxSent$CSMailboxTrash$CSQueryContinuationActionType$CSSearchQueryErrorDomain$CSSearchQueryString$CSSearchableItemActionType$CSSearchableItemActivityIdentifier$CSSuggestionHighlightAttributeName$CoreSpotlightVersionNumber@d$CoreSpotlightVersionString@*$"""
|
|
34
|
+
enums = """$CSIndexErrorCodeIndexUnavailableError@-1000$CSIndexErrorCodeIndexingUnsupported@-1005$CSIndexErrorCodeInvalidClientStateError@-1002$CSIndexErrorCodeInvalidItemError@-1001$CSIndexErrorCodeMismatchedClientState@-1006$CSIndexErrorCodeQuotaExceeded@-1004$CSIndexErrorCodeRemoteConnectionError@-1003$CSIndexErrorCodeUnknownError@-1$CSSearchQueryErrorCodeCancelled@-2003$CSSearchQueryErrorCodeIndexUnreachable@-2001$CSSearchQueryErrorCodeInvalidQuery@-2002$CSSearchQueryErrorCodeUnknown@-2000$CSSearchQuerySourceOptionAllowMail@1$CSSearchQuerySourceOptionDefault@0$CSSearchableItemUpdateListenerOptionDefault@0$CSSearchableItemUpdateListenerOptionPriority@4$CSSearchableItemUpdateListenerOptionSummarization@2$CSSuggestionKindCustom@1$CSSuggestionKindDefault@2$CSSuggestionKindNone@0$CSUserInteractionDefault@0$CSUserInteractionFocus@1$CSUserInteractionSelect@0$"""
|
|
35
|
+
misc.update(
|
|
36
|
+
{
|
|
37
|
+
"CSUserInteraction": NewType("CSUserInteraction", int),
|
|
38
|
+
"CSSearchableItemUpdateListenerOptions": NewType(
|
|
39
|
+
"CSSearchableItemUpdateListenerOptions", int
|
|
40
|
+
),
|
|
41
|
+
"CSSearchQuerySourceOptions": NewType("CSSearchQuerySourceOptions", int),
|
|
42
|
+
"CSIndexErrorCode": NewType("CSIndexErrorCode", int),
|
|
43
|
+
"CSSuggestionKind": NewType("CSSuggestionKind", int),
|
|
44
|
+
"CSSearchQueryErrorCode": NewType("CSSearchQueryErrorCode", int),
|
|
45
|
+
}
|
|
46
|
+
)
|
|
47
|
+
misc.update({})
|
|
48
|
+
misc.update({})
|
|
49
|
+
aliases = {
|
|
50
|
+
"CSUserInteractionDefault": "CSUserInteractionSelect",
|
|
51
|
+
"CS_TVOS_UNAVAILABLE": "__TVOS_PROHIBITED",
|
|
52
|
+
}
|
|
53
|
+
r = objc.registerMetaDataForSelector
|
|
54
|
+
objc._updatingMetadata(True)
|
|
55
|
+
try:
|
|
56
|
+
r(
|
|
57
|
+
b"CSCustomAttributeKey",
|
|
58
|
+
b"initWithKeyName:searchable:searchableByDefault:unique:multiValued:",
|
|
59
|
+
{
|
|
60
|
+
"arguments": {
|
|
61
|
+
3: {"type": "Z"},
|
|
62
|
+
4: {"type": "Z"},
|
|
63
|
+
5: {"type": "Z"},
|
|
64
|
+
6: {"type": "Z"},
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
)
|
|
68
|
+
r(b"CSCustomAttributeKey", b"isMultiValued", {"retval": {"type": "Z"}})
|
|
69
|
+
r(b"CSCustomAttributeKey", b"isSearchable", {"retval": {"type": "Z"}})
|
|
70
|
+
r(b"CSCustomAttributeKey", b"isSearchableByDefault", {"retval": {"type": "Z"}})
|
|
71
|
+
r(b"CSCustomAttributeKey", b"isUnique", {"retval": {"type": "Z"}})
|
|
72
|
+
r(b"CSCustomAttributeKey", b"setMultiValued:", {"arguments": {2: {"type": "Z"}}})
|
|
73
|
+
r(b"CSCustomAttributeKey", b"setSearchable:", {"arguments": {2: {"type": "Z"}}})
|
|
74
|
+
r(
|
|
75
|
+
b"CSCustomAttributeKey",
|
|
76
|
+
b"setSearchableByDefault:",
|
|
77
|
+
{"arguments": {2: {"type": "Z"}}},
|
|
78
|
+
)
|
|
79
|
+
r(b"CSCustomAttributeKey", b"setUnique:", {"arguments": {2: {"type": "Z"}}})
|
|
80
|
+
r(
|
|
81
|
+
b"CSImportExtension",
|
|
82
|
+
b"updateAttributes:forFileAtURL:error:",
|
|
83
|
+
{
|
|
84
|
+
"retval": {"type": "Z"},
|
|
85
|
+
"arguments": {3: {"type_modifier": b"o"}, 4: {"type_modifier": b"o"}},
|
|
86
|
+
},
|
|
87
|
+
)
|
|
88
|
+
r(
|
|
89
|
+
b"CSSearchQuery",
|
|
90
|
+
b"completionHandler",
|
|
91
|
+
{
|
|
92
|
+
"retval": {
|
|
93
|
+
"callable": {
|
|
94
|
+
"retval": {"type": b"v"},
|
|
95
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
)
|
|
100
|
+
r(
|
|
101
|
+
b"CSSearchQuery",
|
|
102
|
+
b"foundItemsHandler",
|
|
103
|
+
{
|
|
104
|
+
"retval": {
|
|
105
|
+
"callable": {
|
|
106
|
+
"retval": {"type": b"v"},
|
|
107
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
)
|
|
112
|
+
r(b"CSSearchQuery", b"isCancelled", {"retval": {"type": "Z"}})
|
|
113
|
+
r(
|
|
114
|
+
b"CSSearchQuery",
|
|
115
|
+
b"setCompletionHandler:",
|
|
116
|
+
{
|
|
117
|
+
"arguments": {
|
|
118
|
+
2: {
|
|
119
|
+
"callable": {
|
|
120
|
+
"retval": {"type": b"v"},
|
|
121
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
)
|
|
127
|
+
r(
|
|
128
|
+
b"CSSearchQuery",
|
|
129
|
+
b"setFoundItemsHandler:",
|
|
130
|
+
{
|
|
131
|
+
"arguments": {
|
|
132
|
+
2: {
|
|
133
|
+
"callable": {
|
|
134
|
+
"retval": {"type": b"v"},
|
|
135
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
)
|
|
141
|
+
r(
|
|
142
|
+
b"CSSearchableIndex",
|
|
143
|
+
b"deleteAllSearchableItemsWithCompletionHandler:",
|
|
144
|
+
{
|
|
145
|
+
"arguments": {
|
|
146
|
+
2: {
|
|
147
|
+
"callable": {
|
|
148
|
+
"retval": {"type": b"v"},
|
|
149
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
)
|
|
155
|
+
r(
|
|
156
|
+
b"CSSearchableIndex",
|
|
157
|
+
b"deleteSearchableItemsWithDomainIdentifiers:completionHandler:",
|
|
158
|
+
{
|
|
159
|
+
"arguments": {
|
|
160
|
+
3: {
|
|
161
|
+
"callable": {
|
|
162
|
+
"retval": {"type": b"v"},
|
|
163
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
)
|
|
169
|
+
r(
|
|
170
|
+
b"CSSearchableIndex",
|
|
171
|
+
b"deleteSearchableItemsWithIdentifiers:completionHandler:",
|
|
172
|
+
{
|
|
173
|
+
"arguments": {
|
|
174
|
+
3: {
|
|
175
|
+
"callable": {
|
|
176
|
+
"retval": {"type": b"v"},
|
|
177
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
)
|
|
183
|
+
r(
|
|
184
|
+
b"CSSearchableIndex",
|
|
185
|
+
b"endIndexBatchWithClientState:completionHandler:",
|
|
186
|
+
{
|
|
187
|
+
"arguments": {
|
|
188
|
+
3: {
|
|
189
|
+
"callable": {
|
|
190
|
+
"retval": {"type": b"v"},
|
|
191
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
)
|
|
197
|
+
r(
|
|
198
|
+
b"CSSearchableIndex",
|
|
199
|
+
b"endIndexBatchWithExpectedClientState:newClientState:completionHandler:",
|
|
200
|
+
{
|
|
201
|
+
"arguments": {
|
|
202
|
+
4: {
|
|
203
|
+
"callable": {
|
|
204
|
+
"retval": {"type": b"v"},
|
|
205
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
)
|
|
211
|
+
r(
|
|
212
|
+
b"CSSearchableIndex",
|
|
213
|
+
b"fetchDataForBundleIdentifier:itemIdentifier:contentType:completionHandler:",
|
|
214
|
+
{
|
|
215
|
+
"arguments": {
|
|
216
|
+
5: {
|
|
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"CSSearchableIndex",
|
|
231
|
+
b"fetchLastClientStateWithCompletionHandler:",
|
|
232
|
+
{
|
|
233
|
+
"arguments": {
|
|
234
|
+
2: {
|
|
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"CSSearchableIndex",
|
|
249
|
+
b"indexSearchableItems:completionHandler:",
|
|
250
|
+
{
|
|
251
|
+
"arguments": {
|
|
252
|
+
3: {
|
|
253
|
+
"callable": {
|
|
254
|
+
"retval": {"type": b"v"},
|
|
255
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
)
|
|
261
|
+
r(b"CSSearchableIndex", b"isIndexingAvailable", {"retval": {"type": b"Z"}})
|
|
262
|
+
r(b"CSSearchableItem", b"isUpdate", {"retval": {"type": b"Z"}})
|
|
263
|
+
r(b"CSSearchableItem", b"setIsUpdate:", {"arguments": {2: {"type": b"Z"}}})
|
|
264
|
+
r(
|
|
265
|
+
b"CSUserQuery",
|
|
266
|
+
b"foundSuggestionsHandler",
|
|
267
|
+
{
|
|
268
|
+
"retval": {
|
|
269
|
+
"callable": {
|
|
270
|
+
"retval": {"type": b"v"},
|
|
271
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
)
|
|
276
|
+
r(
|
|
277
|
+
b"CSUserQuery",
|
|
278
|
+
b"setFoundSuggestionsHandler:",
|
|
279
|
+
{
|
|
280
|
+
"arguments": {
|
|
281
|
+
2: {
|
|
282
|
+
"callable": {
|
|
283
|
+
"retval": {"type": b"v"},
|
|
284
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
)
|
|
290
|
+
r(b"CSUserQueryContext", b"disableSemanticSearch", {"retval": {"type": b"Z"}})
|
|
291
|
+
r(b"CSUserQueryContext", b"enableRankedResults", {"retval": {"type": b"Z"}})
|
|
292
|
+
r(
|
|
293
|
+
b"CSUserQueryContext",
|
|
294
|
+
b"setDisableSemanticSearch:",
|
|
295
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
296
|
+
)
|
|
297
|
+
r(
|
|
298
|
+
b"CSUserQueryContext",
|
|
299
|
+
b"setEnableRankedResults:",
|
|
300
|
+
{"arguments": {2: {"type": b"Z"}}},
|
|
301
|
+
)
|
|
302
|
+
r(
|
|
303
|
+
b"NSObject",
|
|
304
|
+
b"dataForSearchableIndex:itemIdentifier:typeIdentifier:error:",
|
|
305
|
+
{
|
|
306
|
+
"required": False,
|
|
307
|
+
"retval": {"type": b"@"},
|
|
308
|
+
"arguments": {
|
|
309
|
+
2: {"type": b"@"},
|
|
310
|
+
3: {"type": b"@"},
|
|
311
|
+
4: {"type": b"@"},
|
|
312
|
+
5: {"type": "^@", "type_modifier": b"o"},
|
|
313
|
+
},
|
|
314
|
+
},
|
|
315
|
+
)
|
|
316
|
+
r(
|
|
317
|
+
b"NSObject",
|
|
318
|
+
b"disableSemanticSearch",
|
|
319
|
+
{
|
|
320
|
+
"comment": "should be part of 'CSUserQueryContext', but that doesn't work for some reason",
|
|
321
|
+
"retval": {"type": "Z"},
|
|
322
|
+
},
|
|
323
|
+
)
|
|
324
|
+
r(
|
|
325
|
+
b"NSObject",
|
|
326
|
+
b"fileURLForSearchableIndex:itemIdentifier:typeIdentifier:inPlace:error:",
|
|
327
|
+
{
|
|
328
|
+
"required": False,
|
|
329
|
+
"retval": {"type": b"@"},
|
|
330
|
+
"arguments": {
|
|
331
|
+
2: {"type": b"@"},
|
|
332
|
+
3: {"type": b"@"},
|
|
333
|
+
4: {"type": b"@"},
|
|
334
|
+
5: {"type": "Z"},
|
|
335
|
+
6: {"type": "^@", "type_modifier": b"o"},
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
)
|
|
339
|
+
r(
|
|
340
|
+
b"NSObject",
|
|
341
|
+
b"searchableIndex:reindexAllSearchableItemsWithAcknowledgementHandler:",
|
|
342
|
+
{
|
|
343
|
+
"required": True,
|
|
344
|
+
"retval": {"type": b"v"},
|
|
345
|
+
"arguments": {
|
|
346
|
+
2: {"type": b"@"},
|
|
347
|
+
3: {
|
|
348
|
+
"callable": {
|
|
349
|
+
"retval": {"type": b"v"},
|
|
350
|
+
"arguments": {0: {"type": b"^v"}},
|
|
351
|
+
},
|
|
352
|
+
"type": "@?",
|
|
353
|
+
},
|
|
354
|
+
},
|
|
355
|
+
},
|
|
356
|
+
)
|
|
357
|
+
r(
|
|
358
|
+
b"NSObject",
|
|
359
|
+
b"searchableIndex:reindexSearchableItemsWithIdentifiers:acknowledgementHandler:",
|
|
360
|
+
{
|
|
361
|
+
"required": True,
|
|
362
|
+
"retval": {"type": b"v"},
|
|
363
|
+
"arguments": {
|
|
364
|
+
2: {"type": b"@"},
|
|
365
|
+
3: {"type": b"@"},
|
|
366
|
+
4: {
|
|
367
|
+
"callable": {
|
|
368
|
+
"retval": {"type": b"v"},
|
|
369
|
+
"arguments": {0: {"type": b"^v"}},
|
|
370
|
+
},
|
|
371
|
+
"type": "@?",
|
|
372
|
+
},
|
|
373
|
+
},
|
|
374
|
+
},
|
|
375
|
+
)
|
|
376
|
+
r(
|
|
377
|
+
b"NSObject",
|
|
378
|
+
b"searchableIndexDidFinishThrottle:",
|
|
379
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
380
|
+
)
|
|
381
|
+
r(
|
|
382
|
+
b"NSObject",
|
|
383
|
+
b"searchableIndexDidThrottle:",
|
|
384
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
385
|
+
)
|
|
386
|
+
r(
|
|
387
|
+
b"NSObject",
|
|
388
|
+
b"searchableItemsDidUpdate:",
|
|
389
|
+
{"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
|
|
390
|
+
)
|
|
391
|
+
r(
|
|
392
|
+
b"NSObject",
|
|
393
|
+
b"searchableItemsForIdentifiers:searchableItemsHandler:",
|
|
394
|
+
{
|
|
395
|
+
"required": False,
|
|
396
|
+
"retval": {"type": b"v"},
|
|
397
|
+
"arguments": {
|
|
398
|
+
2: {"type": b"@"},
|
|
399
|
+
3: {
|
|
400
|
+
"callable": {
|
|
401
|
+
"retval": {"type": b"v"},
|
|
402
|
+
"arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
|
|
403
|
+
},
|
|
404
|
+
"type": b"@?",
|
|
405
|
+
},
|
|
406
|
+
},
|
|
407
|
+
},
|
|
408
|
+
)
|
|
409
|
+
r(
|
|
410
|
+
b"NSObject",
|
|
411
|
+
b"setDisableSemanticSearch:",
|
|
412
|
+
{
|
|
413
|
+
"comment": "should be part of 'CSUserQueryContext', but that doesn't work for some reason",
|
|
414
|
+
"arguments": {2: {"type": "Z"}},
|
|
415
|
+
},
|
|
416
|
+
)
|
|
417
|
+
finally:
|
|
418
|
+
objc._updatingMetadata(False)
|
|
419
|
+
|
|
420
|
+
objc.registerNewKeywordsFromSelector("CSCustomAttributeKey", b"init")
|
|
421
|
+
objc.registerNewKeywordsFromSelector("CSCustomAttributeKey", b"initWithKeyName:")
|
|
422
|
+
objc.registerNewKeywordsFromSelector(
|
|
423
|
+
"CSCustomAttributeKey",
|
|
424
|
+
b"initWithKeyName:searchable:searchableByDefault:unique:multiValued:",
|
|
425
|
+
)
|
|
426
|
+
objc.registerNewKeywordsFromSelector("CSLocalizedString", b"initWithLocalizedStrings:")
|
|
427
|
+
objc.registerNewKeywordsFromSelector(
|
|
428
|
+
"CSPerson", b"initWithDisplayName:handles:handleIdentifier:"
|
|
429
|
+
)
|
|
430
|
+
objc.registerNewKeywordsFromSelector("CSSearchQuery", b"init")
|
|
431
|
+
objc.registerNewKeywordsFromSelector(
|
|
432
|
+
"CSSearchQuery", b"initWithQueryString:attributes:"
|
|
433
|
+
)
|
|
434
|
+
objc.registerNewKeywordsFromSelector(
|
|
435
|
+
"CSSearchQuery", b"initWithQueryString:queryContext:"
|
|
436
|
+
)
|
|
437
|
+
objc.registerNewKeywordsFromSelector("CSSearchableIndex", b"initWithName:")
|
|
438
|
+
objc.registerNewKeywordsFromSelector(
|
|
439
|
+
"CSSearchableIndex", b"initWithName:protectionClass:"
|
|
440
|
+
)
|
|
441
|
+
objc.registerNewKeywordsFromSelector(
|
|
442
|
+
"CSSearchableItem", b"initWithUniqueIdentifier:domainIdentifier:attributeSet:"
|
|
443
|
+
)
|
|
444
|
+
objc.registerNewKeywordsFromSelector(
|
|
445
|
+
"CSSearchableItemAttributeSet", b"initWithContentType:"
|
|
446
|
+
)
|
|
447
|
+
objc.registerNewKeywordsFromSelector(
|
|
448
|
+
"CSSearchableItemAttributeSet", b"initWithItemContentType:"
|
|
449
|
+
)
|
|
450
|
+
objc.registerNewKeywordsFromSelector(
|
|
451
|
+
"CSUserQuery", b"initWithUserQueryString:userQueryContext:"
|
|
452
|
+
)
|
|
453
|
+
expressions = {}
|
|
454
|
+
|
|
455
|
+
# END OF FILE
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pyobjc-framework-CoreSpotlight
|
|
3
|
+
Version: 12.2
|
|
4
|
+
Summary: Wrappers for the framework CoreSpotlight 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,CoreSpotlight
|
|
10
|
+
Platform: MacOS X (>=10.13)
|
|
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
|
+
Requires-Dist: pyobjc-core>=12.2
|
|
34
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.2
|
|
35
|
+
Dynamic: author
|
|
36
|
+
Dynamic: author-email
|
|
37
|
+
Dynamic: classifier
|
|
38
|
+
Dynamic: description
|
|
39
|
+
Dynamic: description-content-type
|
|
40
|
+
Dynamic: home-page
|
|
41
|
+
Dynamic: keywords
|
|
42
|
+
Dynamic: license
|
|
43
|
+
Dynamic: platform
|
|
44
|
+
Dynamic: requires-dist
|
|
45
|
+
Dynamic: requires-python
|
|
46
|
+
Dynamic: summary
|
|
47
|
+
Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
|
|
48
|
+
Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
|
|
49
|
+
Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
Wrappers for the "CoreSpotlight" framework on macOS.
|
|
53
|
+
|
|
54
|
+
These wrappers don't include documentation, please check Apple's documentation
|
|
55
|
+
for information on how to use this framework and PyObjC's documentation
|
|
56
|
+
for general tips and tricks regarding the translation between Python
|
|
57
|
+
and (Objective-)C frameworks
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
Project links
|
|
61
|
+
-------------
|
|
62
|
+
|
|
63
|
+
* `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
|
|
64
|
+
|
|
65
|
+
* `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
|
|
66
|
+
|
|
67
|
+
* `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
|
|
68
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
CoreSpotlight/_CoreSpotlight.cpython-315-darwin.so,sha256=pkXLnrzVGFfiJ84x19cyRx5l5ehOElTsFdfeXCpNuFk,84440
|
|
2
|
+
CoreSpotlight/__init__.py,sha256=02Ofyjxu3emBPibaxhAGWGfwJI2zH0nSa6pFPUP8bC0,1084
|
|
3
|
+
CoreSpotlight/_metadata.py,sha256=90h-vcFlc3W6_4cB5my2j36vbjx7HJCobDoOghc-0ro,14560
|
|
4
|
+
pyobjc_framework_corespotlight-12.2.dist-info/METADATA,sha256=NelWaTtnYKX7EUro6LqyklkDpfijzmH_Fml0uNIN9p0,2521
|
|
5
|
+
pyobjc_framework_corespotlight-12.2.dist-info/WHEEL,sha256=2M_SYDyM5rEsv_ln2yEuQGcyAVVUxLKyXAZ43VblWzk,115
|
|
6
|
+
pyobjc_framework_corespotlight-12.2.dist-info/pyobjc-build-info.txt,sha256=Ri0Wl_rPog8K797Y9SwUgX2P5KgewvMu0uQOBhtk0lo,83
|
|
7
|
+
pyobjc_framework_corespotlight-12.2.dist-info/top_level.txt,sha256=3YzoRpq-hoGPMlIjEcfrJ1OWOe0t8xzz5xFco8n0vAw,14
|
|
8
|
+
pyobjc_framework_corespotlight-12.2.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
CoreSpotlight
|