pyobjc-framework-Virtualization 10.3.2__cp313-cp313t-macosx_10_13_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,141 @@
1
+ """
2
+ Python mapping for the Virtualization 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, _Virtualization
15
+
16
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
17
+ name="Virtualization",
18
+ frameworkIdentifier="com.apple.Virtualization",
19
+ frameworkPath=objc.pathForFramework(
20
+ "/System/Library/Frameworks/Virtualization.framework"
21
+ ),
22
+ globals_dict=globals(),
23
+ inline_list=None,
24
+ parents=(
25
+ _Virtualization,
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
+ ("VZDirectoryShare", b"init"),
36
+ ("VZDirectoryShare", b"new"),
37
+ ("VZVirtioSoundDeviceStreamConfiguration", b"init"),
38
+ ("VZVirtioSoundDeviceStreamConfiguration", b"new"),
39
+ ("VZVirtioConsoleDevice", b"init"),
40
+ ("VZVirtioConsoleDevice", b"new"),
41
+ ("VZSharedDirectory", b"init"),
42
+ ("VZSharedDirectory", b"new"),
43
+ ("VZBootLoader", b"init"),
44
+ ("VZBootLoader", b"new"),
45
+ ("VZKeyboardConfiguration", b"init"),
46
+ ("VZKeyboardConfiguration", b"new"),
47
+ ("VZGraphicsDevice", b"init"),
48
+ ("VZGraphicsDevice", b"new"),
49
+ ("VZVirtioSocketDevice", b"init"),
50
+ ("VZVirtioSocketDevice", b"new"),
51
+ ("VZAudioDeviceConfiguration", b"init"),
52
+ ("VZAudioDeviceConfiguration", b"new"),
53
+ ("VZEntropyDeviceConfiguration", b"init"),
54
+ ("VZEntropyDeviceConfiguration", b"new"),
55
+ ("VZGraphicsDisplayConfiguration", b"init"),
56
+ ("VZGraphicsDisplayConfiguration", b"new"),
57
+ ("VZMacOSRestoreImage", b"init"),
58
+ ("VZMacOSRestoreImage", b"new"),
59
+ ("VZSerialPortAttachment", b"init"),
60
+ ("VZSerialPortAttachment", b"new"),
61
+ ("VZVirtioSocketConnection", b"init"),
62
+ ("VZVirtioSocketConnection", b"new"),
63
+ ("VZVirtioConsolePortConfigurationArray", b"init"),
64
+ ("VZVirtioConsolePortConfigurationArray", b"new"),
65
+ ("VZDirectorySharingDevice", b"init"),
66
+ ("VZDirectorySharingDevice", b"new"),
67
+ ("VZAudioInputStreamSource", b"init"),
68
+ ("VZAudioInputStreamSource", b"new"),
69
+ ("VZStorageDeviceAttachment", b"init"),
70
+ ("VZStorageDeviceAttachment", b"new"),
71
+ ("VZFileHandleSerialPortAttachment", b"init"),
72
+ ("VZFileHandleSerialPortAttachment", b"new"),
73
+ ("VZGraphicsDisplay", b"init"),
74
+ ("VZGraphicsDisplay", b"new"),
75
+ ("VZGraphicsDeviceConfiguration", b"init"),
76
+ ("VZGraphicsDeviceConfiguration", b"new"),
77
+ ("VZVirtioConsolePort", b"init"),
78
+ ("VZVirtioConsolePort", b"new"),
79
+ ("VZFileSerialPortAttachment", b"init"),
80
+ ("VZFileSerialPortAttachment", b"new"),
81
+ ("VZSocketDeviceConfiguration", b"init"),
82
+ ("VZSocketDeviceConfiguration", b"new"),
83
+ ("VZEFIVariableStore", b"init"),
84
+ ("VZEFIVariableStore", b"new"),
85
+ ("VZNetworkDevice", b"init"),
86
+ ("VZNetworkDevice", b"new"),
87
+ ("VZLinuxRosettaCachingOptions", b"init"),
88
+ ("VZLinuxRosettaCachingOptions", b"new"),
89
+ ("VZConsoleDeviceConfiguration", b"init"),
90
+ ("VZConsoleDeviceConfiguration", b"new"),
91
+ ("VZMacOSInstaller", b"init"),
92
+ ("VZMacOSInstaller", b"new"),
93
+ ("VZMacOSConfigurationRequirements", b"init"),
94
+ ("VZMacOSConfigurationRequirements", b"new"),
95
+ ("VZVirtioTraditionalMemoryBalloonDevice", b"init"),
96
+ ("VZVirtioTraditionalMemoryBalloonDevice", b"new"),
97
+ ("VZMacAuxiliaryStorage", b"init"),
98
+ ("VZMacAuxiliaryStorage", b"new"),
99
+ ("VZConsoleDevice", b"init"),
100
+ ("VZConsoleDevice", b"new"),
101
+ ("VZBridgedNetworkInterface", b"init"),
102
+ ("VZBridgedNetworkInterface", b"new"),
103
+ ("VZSerialPortConfiguration", b"init"),
104
+ ("VZSerialPortConfiguration", b"new"),
105
+ ("VZMemoryBalloonDevice", b"init"),
106
+ ("VZMemoryBalloonDevice", b"new"),
107
+ ("VZVirtualMachine", b"init"),
108
+ ("VZVirtualMachine", b"new"),
109
+ ("VZAudioOutputStreamSink", b"init"),
110
+ ("VZAudioOutputStreamSink", b"new"),
111
+ ("VZMacHardwareModel", b"init"),
112
+ ("VZMacHardwareModel", b"new"),
113
+ ("VZNetworkDeviceConfiguration", b"init"),
114
+ ("VZNetworkDeviceConfiguration", b"new"),
115
+ ("VZDirectorySharingDeviceConfiguration", b"init"),
116
+ ("VZDirectorySharingDeviceConfiguration", b"new"),
117
+ ("VZSocketDevice", b"init"),
118
+ ("VZSocketDevice", b"new"),
119
+ ("VZMemoryBalloonDeviceConfiguration", b"init"),
120
+ ("VZMemoryBalloonDeviceConfiguration", b"new"),
121
+ ("VZStorageDeviceConfiguration", b"init"),
122
+ ("VZStorageDeviceConfiguration", b"new"),
123
+ ("VZVirtioConsolePortArray", b"init"),
124
+ ("VZVirtioConsolePortArray", b"new"),
125
+ ("VZPlatformConfiguration", b"init"),
126
+ ("VZPlatformConfiguration", b"new"),
127
+ ("VZNetworkDeviceAttachment", b"init"),
128
+ ("VZNetworkDeviceAttachment", b"new"),
129
+ ("VZPointingDeviceConfiguration", b"init"),
130
+ ("VZPointingDeviceConfiguration", b"new"),
131
+ ("VZMACAddress", b"init"),
132
+ ("VZMACAddress", b"new"),
133
+ ("VZConsolePortConfiguration", b"init"),
134
+ ("VZConsolePortConfiguration", b"new"),
135
+ ):
136
+ objc.registerUnavailableMethod(cls, sel)
137
+
138
+ del sys.modules["Virtualization._metadata"]
139
+
140
+
141
+ globals().pop("_setup")()
@@ -0,0 +1,584 @@
1
+ # This file is generated by objective.metadata
2
+ #
3
+ # Last update: Sat May 18 09:38:30 2024
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 = """$VZErrorDomain$"""
34
+ enums = """$VZDiskImageCachingModeAutomatic@0$VZDiskImageCachingModeCached@2$VZDiskImageCachingModeUncached@1$VZDiskImageSynchronizationModeFsync@2$VZDiskImageSynchronizationModeFull@1$VZDiskImageSynchronizationModeNone@3$VZDiskSynchronizationModeFull@0$VZDiskSynchronizationModeNone@1$VZEFIVariableStoreInitializationOptionAllowOverwrite@1$VZErrorInstallationFailed@10007$VZErrorInstallationRequiresUpdate@10006$VZErrorInternal@1$VZErrorInvalidDiskImage@5$VZErrorInvalidRestoreImage@10005$VZErrorInvalidRestoreImageCatalog@10002$VZErrorInvalidVirtualMachineConfiguration@2$VZErrorInvalidVirtualMachineState@3$VZErrorInvalidVirtualMachineStateTransition@4$VZErrorNetworkBlockDeviceDisconnected@20002$VZErrorNetworkBlockDeviceNegotiationFailed@20001$VZErrorNetworkError@7$VZErrorNoSupportedRestoreImagesInCatalog@10003$VZErrorNotSupported@10$VZErrorOperationCancelled@9$VZErrorOutOfDiskSpace@8$VZErrorRestore@12$VZErrorRestoreImageCatalogLoadFailed@10001$VZErrorRestoreImageLoadFailed@10004$VZErrorSave@11$VZErrorVirtualMachineLimitExceeded@6$VZLinuxRosettaAvailabilityInstalled@2$VZLinuxRosettaAvailabilityNotInstalled@1$VZLinuxRosettaAvailabilityNotSupported@0$VZMacAuxiliaryStorageInitializationOptionAllowOverwrite@1$VZVirtualMachineStateError@3$VZVirtualMachineStatePaused@2$VZVirtualMachineStatePausing@5$VZVirtualMachineStateRestoring@9$VZVirtualMachineStateResuming@6$VZVirtualMachineStateRunning@1$VZVirtualMachineStateSaving@8$VZVirtualMachineStateStarting@4$VZVirtualMachineStateStopped@0$VZVirtualMachineStateStopping@7$"""
35
+ misc.update(
36
+ {
37
+ "VZVirtualMachineState": NewType("VZVirtualMachineState", int),
38
+ "VZDiskImageCachingMode": NewType("VZDiskImageCachingMode", int),
39
+ "VZLinuxRosettaAvailability": NewType("VZLinuxRosettaAvailability", int),
40
+ "VZDiskImageSynchronizationMode": NewType(
41
+ "VZDiskImageSynchronizationMode", int
42
+ ),
43
+ "VZErrorCode": NewType("VZErrorCode", int),
44
+ "VZMacAuxiliaryStorageInitializationOptions": NewType(
45
+ "VZMacAuxiliaryStorageInitializationOptions", int
46
+ ),
47
+ "VZDiskSynchronizationMode": NewType("VZDiskSynchronizationMode", int),
48
+ "VZEFIVariableStoreInitializationOptions": NewType(
49
+ "VZEFIVariableStoreInitializationOptions", int
50
+ ),
51
+ }
52
+ )
53
+ misc.update({})
54
+ misc.update({})
55
+ r = objc.registerMetaDataForSelector
56
+ objc._updatingMetadata(True)
57
+ try:
58
+ r(
59
+ b"NSObject",
60
+ b"attachment:didEncounterError:",
61
+ {
62
+ "required": False,
63
+ "retval": {"type": b"v"},
64
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
65
+ },
66
+ )
67
+ r(
68
+ b"NSObject",
69
+ b"attachmentWasConnected:",
70
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
71
+ )
72
+ r(
73
+ b"NSObject",
74
+ b"consoleDevice:didClosePort:",
75
+ {
76
+ "required": False,
77
+ "retval": {"type": b"v"},
78
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
79
+ },
80
+ )
81
+ r(
82
+ b"NSObject",
83
+ b"consoleDevice:didOpenPort:",
84
+ {
85
+ "required": False,
86
+ "retval": {"type": b"v"},
87
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
88
+ },
89
+ )
90
+ r(
91
+ b"NSObject",
92
+ b"displayDidBeginReconfiguration:",
93
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
94
+ )
95
+ r(
96
+ b"NSObject",
97
+ b"displayDidEndReconfiguration:",
98
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
99
+ )
100
+ r(
101
+ b"NSObject",
102
+ b"guestDidStopVirtualMachine:",
103
+ {"required": False, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
104
+ )
105
+ r(
106
+ b"NSObject",
107
+ b"listener:shouldAcceptNewConnection:fromSocketDevice:",
108
+ {
109
+ "required": False,
110
+ "retval": {"type": b"Z"},
111
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
112
+ },
113
+ )
114
+ r(
115
+ b"NSObject",
116
+ b"virtualMachine:didStopWithError:",
117
+ {
118
+ "required": False,
119
+ "retval": {"type": b"v"},
120
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
121
+ },
122
+ )
123
+ r(
124
+ b"NSObject",
125
+ b"virtualMachine:networkDevice:attachmentWasDisconnectedWithError:",
126
+ {
127
+ "required": False,
128
+ "retval": {"type": b"v"},
129
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
130
+ },
131
+ )
132
+ r(
133
+ b"VZDiskBlockDeviceStorageDeviceAttachment",
134
+ b"initWithFileHandle:readOnly:synchronizationMode:error:",
135
+ {"arguments": {3: {"type": b"Z"}, 5: {"type_modifier": b"o"}}},
136
+ )
137
+ r(
138
+ b"VZDiskBlockDeviceStorageDeviceAttachment",
139
+ b"isReadOnly",
140
+ {"retval": {"type": b"Z"}},
141
+ )
142
+ r(
143
+ b"VZDiskImageStorageDeviceAttachment",
144
+ b"initWithURL:readOnly:cachingMode:synchronizationMode:error:",
145
+ {"arguments": {3: {"type": b"Z"}, 6: {"type_modifier": b"o"}}},
146
+ )
147
+ r(
148
+ b"VZDiskImageStorageDeviceAttachment",
149
+ b"initWithURL:readOnly:error:",
150
+ {"arguments": {3: {"type": b"Z"}, 4: {"type_modifier": b"o"}}},
151
+ )
152
+ r(b"VZDiskImageStorageDeviceAttachment", b"isReadOnly", {"retval": {"type": "Z"}})
153
+ r(
154
+ b"VZEFIVariableStore",
155
+ b"initCreatingVariableStoreAtURL:options:error:",
156
+ {"arguments": {4: {"type_modifier": b"o"}}},
157
+ )
158
+ r(b"VZFileSerialPortAttachment", b"append", {"retval": {"type": b"Z"}})
159
+ r(
160
+ b"VZFileSerialPortAttachment",
161
+ b"initWithURL:append:error:",
162
+ {"arguments": {3: {"type": b"Z"}, 4: {"type_modifier": b"o"}}},
163
+ )
164
+ r(
165
+ b"VZGraphicsDisplay",
166
+ b"reconfigureWithConfiguration:error:",
167
+ {"retval": {"type": b"Z"}, "arguments": {3: {"type_modifier": b"o"}}},
168
+ )
169
+ r(
170
+ b"VZGraphicsDisplay",
171
+ b"reconfigureWithSizeInPixels:error:",
172
+ {"retval": {"type": b"Z"}, "arguments": {3: {"type_modifier": b"o"}}},
173
+ )
174
+ r(
175
+ b"VZLinuxRosettaAbstractSocketCachingOptions",
176
+ b"initWithName:error:",
177
+ {"arguments": {3: {"type_modifier": b"o"}}},
178
+ )
179
+ r(
180
+ b"VZLinuxRosettaDirectoryShare",
181
+ b"initWithError:",
182
+ {"arguments": {2: {"type_modifier": b"o"}}},
183
+ )
184
+ r(
185
+ b"VZLinuxRosettaDirectoryShare",
186
+ b"installRosettaWithCompletionHandler:",
187
+ {
188
+ "arguments": {
189
+ 2: {
190
+ "callable": {
191
+ "retval": {"type": b"v"},
192
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
193
+ }
194
+ }
195
+ }
196
+ },
197
+ )
198
+ r(
199
+ b"VZLinuxRosettaUnixSocketCachingOptions",
200
+ b"initWithPath:error:",
201
+ {"arguments": {3: {"type_modifier": b"o"}}},
202
+ )
203
+ r(b"VZMACAddress", b"isBroadcastAddress", {"retval": {"type": b"Z"}})
204
+ r(b"VZMACAddress", b"isLocallyAdministeredAddress", {"retval": {"type": b"Z"}})
205
+ r(b"VZMACAddress", b"isMulticastAddress", {"retval": {"type": b"Z"}})
206
+ r(b"VZMACAddress", b"isUnicastAddress", {"retval": {"type": b"Z"}})
207
+ r(b"VZMACAddress", b"isUniversallyAdministeredAddress", {"retval": {"type": b"Z"}})
208
+ r(
209
+ b"VZMacAuxiliaryStorage",
210
+ b"initCreatingStorageAtURL:hardwareModel:options:error:",
211
+ {"arguments": {5: {"type_modifier": b"o"}}},
212
+ )
213
+ r(b"VZMacHardwareModel", b"isSupported", {"retval": {"type": b"Z"}})
214
+ r(
215
+ b"VZMacOSInstaller",
216
+ b"installWithCompletionHandler:",
217
+ {
218
+ "arguments": {
219
+ 2: {
220
+ "callable": {
221
+ "retval": {"type": b"v"},
222
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
223
+ }
224
+ }
225
+ }
226
+ },
227
+ )
228
+ r(
229
+ b"VZMacOSRestoreImage",
230
+ b"fetchLatestSupportedWithCompletionHandler:",
231
+ {
232
+ "arguments": {
233
+ 2: {
234
+ "callable": {
235
+ "retval": {"type": b"v"},
236
+ "arguments": {
237
+ 0: {"type": b"^v"},
238
+ 1: {"type": b"@"},
239
+ 2: {"type": b"@"},
240
+ },
241
+ }
242
+ }
243
+ }
244
+ },
245
+ )
246
+ r(b"VZMacOSRestoreImage", b"isSupported", {"retval": {"type": b"Z"}})
247
+ r(
248
+ b"VZMacOSRestoreImage",
249
+ b"loadFileURL:completionHandler:",
250
+ {
251
+ "arguments": {
252
+ 3: {
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(
266
+ b"VZMacOSRestoreImage",
267
+ b"operatingSystemVersion",
268
+ {"retval": {"type": b"{_NSOperatingSystemVersion=qqq}"}},
269
+ )
270
+ r(
271
+ b"VZMacOSVirtualMachineStartOptions",
272
+ b"setStartUpFromMacOSRecovery:",
273
+ {"arguments": {2: {"type": b"Z"}}},
274
+ )
275
+ r(
276
+ b"VZMacOSVirtualMachineStartOptions",
277
+ b"startUpFromMacOSRecovery",
278
+ {"retval": {"type": b"Z"}},
279
+ )
280
+ r(
281
+ b"VZMultipleDirectoryShare",
282
+ b"validateName:error:",
283
+ {"retval": {"type": b"Z"}, "arguments": {3: {"type_modifier": b"o"}}},
284
+ )
285
+ r(
286
+ b"VZNetworkBlockDeviceStorageDeviceAttachment",
287
+ b"initWithURL:error:",
288
+ {"arguments": {3: {"type_modifier": b"o"}}},
289
+ )
290
+ r(
291
+ b"VZNetworkBlockDeviceStorageDeviceAttachment",
292
+ b"initWithURL:timeout:forcedReadOnly:synchronizationMode:error:",
293
+ {"arguments": {4: {"type": b"Z"}, 6: {"type_modifier": b"o"}}},
294
+ )
295
+ r(
296
+ b"VZNetworkBlockDeviceStorageDeviceAttachment",
297
+ b"isForcedReadOnly",
298
+ {"retval": {"type": b"Z"}},
299
+ )
300
+ r(
301
+ b"VZNetworkBlockDeviceStorageDeviceAttachment",
302
+ b"validateURL:error:",
303
+ {"retval": {"type": b"Z"}, "arguments": {3: {"type_modifier": b"o"}}},
304
+ )
305
+ r(
306
+ b"VZSharedDirectory",
307
+ b"initWithURL:readOnly:",
308
+ {"arguments": {3: {"type": b"Z"}}},
309
+ )
310
+ r(b"VZSharedDirectory", b"isReadOnly", {"retval": {"type": b"Z"}})
311
+ r(
312
+ b"VZSpiceAgentPortAttachment",
313
+ b"setSharesClipboard:",
314
+ {"arguments": {2: {"type": b"Z"}}},
315
+ )
316
+ r(b"VZSpiceAgentPortAttachment", b"sharesClipboard", {"retval": {"type": b"Z"}})
317
+ r(
318
+ b"VZVirtioBlockDeviceConfiguration",
319
+ b"validateBlockDeviceIdentifier:error:",
320
+ {"retval": {"type": b"Z"}, "arguments": {3: {"type_modifier": b"o"}}},
321
+ )
322
+ r(b"VZVirtioConsolePortConfiguration", b"isConsole", {"retval": {"type": b"Z"}})
323
+ r(
324
+ b"VZVirtioConsolePortConfiguration",
325
+ b"setIsConsole:",
326
+ {"arguments": {2: {"type": b"Z"}}},
327
+ )
328
+ r(
329
+ b"VZVirtioFileSystemDeviceConfiguration",
330
+ b"validateTag:error:",
331
+ {"retval": {"type": b"Z"}, "arguments": {3: {"type_modifier": b"o"}}},
332
+ )
333
+ r(
334
+ b"VZVirtioSocketDevice",
335
+ b"connectToPort:completionHandler:",
336
+ {
337
+ "arguments": {
338
+ 3: {
339
+ "callable": {
340
+ "retval": {"type": b"v"},
341
+ "arguments": {
342
+ 0: {"type": b"^v"},
343
+ 1: {"type": b"@"},
344
+ 2: {"type": b"@"},
345
+ },
346
+ }
347
+ }
348
+ }
349
+ },
350
+ )
351
+ r(b"VZVirtualMachine", b"canPause", {"retval": {"type": b"Z"}})
352
+ r(b"VZVirtualMachine", b"canRequestStop", {"retval": {"type": b"Z"}})
353
+ r(b"VZVirtualMachine", b"canResume", {"retval": {"type": b"Z"}})
354
+ r(b"VZVirtualMachine", b"canStart", {"retval": {"type": b"Z"}})
355
+ r(b"VZVirtualMachine", b"canStop", {"retval": {"type": b"Z"}})
356
+ r(b"VZVirtualMachine", b"isSupported", {"retval": {"type": b"Z"}})
357
+ r(
358
+ b"VZVirtualMachine",
359
+ b"pauseWithCompletionHandler:",
360
+ {
361
+ "arguments": {
362
+ 2: {
363
+ "callable": {
364
+ "retval": {"type": b"v"},
365
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
366
+ }
367
+ }
368
+ }
369
+ },
370
+ )
371
+ r(
372
+ b"VZVirtualMachine",
373
+ b"requestStopWithError:",
374
+ {"retval": {"type": b"Z"}, "arguments": {2: {"type_modifier": b"o"}}},
375
+ )
376
+ r(
377
+ b"VZVirtualMachine",
378
+ b"restoreMachineStateFromURL:completionHandler:",
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"VZVirtualMachine",
392
+ b"resumeWithCompletionHandler:",
393
+ {
394
+ "arguments": {
395
+ 2: {
396
+ "callable": {
397
+ "retval": {"type": b"v"},
398
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
399
+ }
400
+ }
401
+ }
402
+ },
403
+ )
404
+ r(
405
+ b"VZVirtualMachine",
406
+ b"saveMachineStateToURL:completionHandler:",
407
+ {
408
+ "arguments": {
409
+ 3: {
410
+ "callable": {
411
+ "retval": {"type": b"v"},
412
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
413
+ }
414
+ }
415
+ }
416
+ },
417
+ )
418
+ r(
419
+ b"VZVirtualMachine",
420
+ b"startWithCompletionHandler:",
421
+ {
422
+ "arguments": {
423
+ 2: {
424
+ "callable": {
425
+ "retval": {"type": b"v"},
426
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
427
+ }
428
+ }
429
+ }
430
+ },
431
+ )
432
+ r(
433
+ b"VZVirtualMachine",
434
+ b"startWithOptions:completionHandler:",
435
+ {
436
+ "arguments": {
437
+ 3: {
438
+ "callable": {
439
+ "retval": {"type": b"v"},
440
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
441
+ }
442
+ }
443
+ }
444
+ },
445
+ )
446
+ r(
447
+ b"VZVirtualMachine",
448
+ b"stopWithCompletionHandler:",
449
+ {
450
+ "arguments": {
451
+ 2: {
452
+ "callable": {
453
+ "retval": {"type": b"v"},
454
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
455
+ }
456
+ }
457
+ }
458
+ },
459
+ )
460
+ r(
461
+ b"VZVirtualMachineConfiguration",
462
+ b"validateSaveRestoreSupportWithError:",
463
+ {"retval": {"type": b"Z"}, "arguments": {2: {"type_modifier": b"o"}}},
464
+ )
465
+ r(
466
+ b"VZVirtualMachineConfiguration",
467
+ b"validateWithError:",
468
+ {"retval": {"type": b"Z"}, "arguments": {2: {"type_modifier": b"o"}}},
469
+ )
470
+ r(
471
+ b"VZVirtualMachineView",
472
+ b"automaticallyReconfiguresDisplay",
473
+ {"retval": {"type": b"Z"}},
474
+ )
475
+ r(b"VZVirtualMachineView", b"capturesSystemKeys", {"retval": {"type": b"Z"}})
476
+ r(
477
+ b"VZVirtualMachineView",
478
+ b"setAutomaticallyReconfiguresDisplay:",
479
+ {"arguments": {2: {"type": b"Z"}}},
480
+ )
481
+ r(
482
+ b"VZVirtualMachineView",
483
+ b"setCapturesSystemKeys:",
484
+ {"arguments": {2: {"type": b"Z"}}},
485
+ )
486
+ finally:
487
+ objc._updatingMetadata(False)
488
+
489
+ objc.registerNewKeywordsFromSelector(
490
+ "VZBridgedNetworkDeviceAttachment", b"initWithInterface:"
491
+ )
492
+ objc.registerNewKeywordsFromSelector(
493
+ "VZDiskBlockDeviceStorageDeviceAttachment",
494
+ b"initWithFileHandle:readOnly:synchronizationMode:error:",
495
+ )
496
+ objc.registerNewKeywordsFromSelector(
497
+ "VZDiskImageStorageDeviceAttachment",
498
+ b"initWithURL:readOnly:cachingMode:synchronizationMode:error:",
499
+ )
500
+ objc.registerNewKeywordsFromSelector(
501
+ "VZDiskImageStorageDeviceAttachment", b"initWithURL:readOnly:error:"
502
+ )
503
+ objc.registerNewKeywordsFromSelector(
504
+ "VZEFIVariableStore", b"initCreatingVariableStoreAtURL:options:error:"
505
+ )
506
+ objc.registerNewKeywordsFromSelector("VZEFIVariableStore", b"initWithURL:")
507
+ objc.registerNewKeywordsFromSelector(
508
+ "VZFileHandleNetworkDeviceAttachment", b"initWithFileHandle:"
509
+ )
510
+ objc.registerNewKeywordsFromSelector(
511
+ "VZFileHandleSerialPortAttachment",
512
+ b"initWithFileHandleForReading:fileHandleForWriting:",
513
+ )
514
+ objc.registerNewKeywordsFromSelector(
515
+ "VZFileSerialPortAttachment", b"initWithURL:append:error:"
516
+ )
517
+ objc.registerNewKeywordsFromSelector(
518
+ "VZGenericMachineIdentifier", b"initWithDataRepresentation:"
519
+ )
520
+ objc.registerNewKeywordsFromSelector("VZLinuxBootLoader", b"initWithKernelURL:")
521
+ objc.registerNewKeywordsFromSelector(
522
+ "VZLinuxRosettaAbstractSocketCachingOptions", b"initWithName:error:"
523
+ )
524
+ objc.registerNewKeywordsFromSelector("VZLinuxRosettaDirectoryShare", b"initWithError:")
525
+ objc.registerNewKeywordsFromSelector(
526
+ "VZLinuxRosettaUnixSocketCachingOptions", b"initWithPath:error:"
527
+ )
528
+ objc.registerNewKeywordsFromSelector("VZMACAddress", b"initWithEthernetAddress:")
529
+ objc.registerNewKeywordsFromSelector("VZMACAddress", b"initWithString:")
530
+ objc.registerNewKeywordsFromSelector(
531
+ "VZMacAuxiliaryStorage", b"initCreatingStorageAtURL:hardwareModel:options:error:"
532
+ )
533
+ objc.registerNewKeywordsFromSelector("VZMacAuxiliaryStorage", b"initWithContentsOfURL:")
534
+ objc.registerNewKeywordsFromSelector("VZMacAuxiliaryStorage", b"initWithURL:")
535
+ objc.registerNewKeywordsFromSelector(
536
+ "VZMacGraphicsDisplayConfiguration", b"initForScreen:sizeInPoints:"
537
+ )
538
+ objc.registerNewKeywordsFromSelector(
539
+ "VZMacGraphicsDisplayConfiguration",
540
+ b"initWithWidthInPixels:heightInPixels:pixelsPerInch:",
541
+ )
542
+ objc.registerNewKeywordsFromSelector(
543
+ "VZMacHardwareModel", b"initWithDataRepresentation:"
544
+ )
545
+ objc.registerNewKeywordsFromSelector(
546
+ "VZMacMachineIdentifier", b"initWithDataRepresentation:"
547
+ )
548
+ objc.registerNewKeywordsFromSelector(
549
+ "VZMacOSInstaller", b"initWithVirtualMachine:restoreImageURL:"
550
+ )
551
+ objc.registerNewKeywordsFromSelector(
552
+ "VZMultipleDirectoryShare", b"initWithDirectories:"
553
+ )
554
+ objc.registerNewKeywordsFromSelector(
555
+ "VZNVMExpressControllerDeviceConfiguration", b"initWithAttachment:"
556
+ )
557
+ objc.registerNewKeywordsFromSelector(
558
+ "VZNetworkBlockDeviceStorageDeviceAttachment", b"initWithURL:error:"
559
+ )
560
+ objc.registerNewKeywordsFromSelector(
561
+ "VZNetworkBlockDeviceStorageDeviceAttachment",
562
+ b"initWithURL:timeout:forcedReadOnly:synchronizationMode:error:",
563
+ )
564
+ objc.registerNewKeywordsFromSelector("VZSharedDirectory", b"initWithURL:readOnly:")
565
+ objc.registerNewKeywordsFromSelector("VZSingleDirectoryShare", b"initWithDirectory:")
566
+ objc.registerNewKeywordsFromSelector(
567
+ "VZUSBMassStorageDeviceConfiguration", b"initWithAttachment:"
568
+ )
569
+ objc.registerNewKeywordsFromSelector(
570
+ "VZVirtioBlockDeviceConfiguration", b"initWithAttachment:"
571
+ )
572
+ objc.registerNewKeywordsFromSelector(
573
+ "VZVirtioFileSystemDeviceConfiguration", b"initWithTag:"
574
+ )
575
+ objc.registerNewKeywordsFromSelector(
576
+ "VZVirtioGraphicsScanoutConfiguration", b"initWithWidthInPixels:heightInPixels:"
577
+ )
578
+ objc.registerNewKeywordsFromSelector("VZVirtualMachine", b"initWithConfiguration:")
579
+ objc.registerNewKeywordsFromSelector(
580
+ "VZVirtualMachine", b"initWithConfiguration:queue:"
581
+ )
582
+ expressions = {}
583
+
584
+ # END OF FILE
@@ -0,0 +1,56 @@
1
+ Metadata-Version: 2.1
2
+ Name: pyobjc-framework-Virtualization
3
+ Version: 10.3.2
4
+ Summary: Wrappers for the framework Virtualization 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 License
9
+ Keywords: PyObjC,Virtualization
10
+ Platform: MacOS X (>=10.16)
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Environment :: Console
13
+ Classifier: Environment :: MacOS X :: Cocoa
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Natural Language :: English
17
+ Classifier: Operating System :: MacOS :: MacOS X
18
+ Classifier: Programming Language :: Python
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3 :: Only
21
+ Classifier: Programming Language :: Python :: 3.8
22
+ Classifier: Programming Language :: Python :: 3.9
23
+ Classifier: Programming Language :: Python :: 3.10
24
+ Classifier: Programming Language :: Python :: 3.11
25
+ Classifier: Programming Language :: Python :: 3.12
26
+ Classifier: Programming Language :: Python :: 3.13
27
+ Classifier: Programming Language :: Python :: Implementation :: CPython
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.8
32
+ Description-Content-Type: text/x-rst; charset=UTF-8
33
+ Requires-Dist: pyobjc-core>=10.3.2
34
+ Requires-Dist: pyobjc-framework-Cocoa>=10.3.2
35
+ Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
36
+ Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
37
+ Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
38
+
39
+
40
+ Wrappers for the "Virtualization" framework on macOS.
41
+
42
+ These wrappers don't include documentation, please check Apple's documentation
43
+ for information on how to use this framework and PyObjC's documentation
44
+ for general tips and tricks regarding the translation between Python
45
+ and (Objective-)C frameworks
46
+
47
+
48
+ Project links
49
+ -------------
50
+
51
+ * `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
52
+
53
+ * `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
54
+
55
+ * `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
56
+
@@ -0,0 +1,7 @@
1
+ Virtualization/_Virtualization.cpython-313t-darwin.so,sha256=ZiFK1Ym9TaBzHfyWPW2LcthLUKpWJH_GgmfyRqj59Aw,86616
2
+ Virtualization/__init__.py,sha256=toz38hSmLoGgER1p8ffSVaZS2mX-dDH5DAEBW_4oMf0,5644
3
+ Virtualization/_metadata.py,sha256=gUsJ0gsI-kZKfWy4k9l9Z8HLFU8kAaRTZuxAZuKKaRc,20058
4
+ pyobjc_framework_Virtualization-10.3.2.dist-info/METADATA,sha256=U5uo8WTbaKA2K4KjRdSvbft_Yxp1EJwWDg-ndum43DY,2262
5
+ pyobjc_framework_Virtualization-10.3.2.dist-info/WHEEL,sha256=XjtjjmgeqVAP8nJhv4oiI8QkipRAek_0YAWGDzOQ9vs,116
6
+ pyobjc_framework_Virtualization-10.3.2.dist-info/top_level.txt,sha256=4Hr1RLZK-RX2YskGKmk_OTFxgPYv6TfRiAvrSvVYVmQ,15
7
+ pyobjc_framework_Virtualization-10.3.2.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (75.6.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313t-macosx_10_13_universal2
5
+
@@ -0,0 +1 @@
1
+ Virtualization