This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. ''' import sys import objc import Foundation import SystemConfiguration._manual from SystemConfiguration import _metadata sys.modules['SystemConfiguration'] = mod = objc.ObjCLazyModule( 'SystemConfiguration', "com.apple.SystemConfiguration", objc.pathForFramework( "/System/Library/Frameworks/SystemConfiguration.framework"), _metadata.__dict__, None, { '__doc__': __doc__, '__path__': __path__, 'objc': objc, }, ( Foundation, SystemConfiguration._manual, )) import SystemConfiguration._manual as m for nm in dir(m): setattr(mod, nm, getattr(m, nm)) mod.SCBondInterfaceRef = mod.SCNetworkInterfaceRef mod.SCVLANInterfaceRef = mod.SCNetworkInterfaceRef
documentation for details on how to use these functions. """ import sys import objc from libdispatch import _metadata from libdispatch._inlines import _inline_list_ sys.modules["libdispatch"] = mod = objc.ObjCLazyModule( "libdispatch", None, None, _metadata.__dict__, _inline_list_, { "__doc__": __doc__, "objc": objc, "__path__": __path__, "__loader__": globals().get("__loader__", None), }, ) import libdispatch._libdispatch as _manual # isort:skip # noqa: E402 for nm in dir(_manual): if nm.startswith("__"): continue setattr(mod, nm, getattr(_manual, nm)) del sys.modules["libdispatch._metadata"]
""" Python mapping for the ScreenSaver framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. """ import sys import AppKit import objc from ScreenSaver import _metadata from ScreenSaver._inlines import _inline_list_ sys.modules["ScreenSaver"] = mod = objc.ObjCLazyModule( "ScreenSaver", "com.apple.ScreenSaver", objc.pathForFramework("/System/Library/Frameworks/ScreenSaver.framework"), _metadata.__dict__, _inline_list_, { "__doc__": __doc__, "__path__": __path__, "__loader__": globals().get("__loader__", None), "objc": objc, }, (AppKit, ), ) del sys.modules["ScreenSaver._metadata"]
''' Python mapping for the CFOpenDirectory framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. ''' import sys import objc import CoreFoundation import Foundation from CFOpenDirectory import _metadata # This actually loads the OpenDirectory framework instead of the embedded CFOpenDirectory framework sys.modules['CFOpenDirectory'] = mod = objc.ObjCLazyModule( 'CFOpenDirectory', "com.apple.OpenDirectory", objc.pathForFramework( "/System/Library/Frameworks/OpenDirectory.framework"), _metadata.__dict__, None, { '__doc__': __doc__, '__path__': __path__, '__loader__': globals().get('__loader__', None), 'objc': objc, }, ( CoreFoundation, Foundation, )) import sys del sys.modules['CFOpenDirectory._metadata']
This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. """ import sys import Foundation import MediaToolbox._MediaToolbox import objc from MediaToolbox import _metadata sys.modules["MediaToolbox"] = mod = objc.ObjCLazyModule( "MediaToolbox", "com.apple.MediaToolbox", objc.pathForFramework("/System/Library/Frameworks/MediaToolbox.framework"), _metadata.__dict__, None, { "__doc__": __doc__, "objc": objc, "__path__": __path__, "__loader__": globals().get("__loader__", None), }, (Foundation, ), ) for nm in dir(MediaToolbox._MediaToolbox): setattr(mod, nm, getattr(MediaToolbox._MediaToolbox, nm)) del sys.modules["MediaToolbox._metadata"]
""" Python mapping for the iTunesLibrary framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. """ import sys import Foundation import objc from iTunesLibrary import _metadata sys.modules["iTunesLibrary"] = mod = objc.ObjCLazyModule( "iTunesLibrary", "com.apple.iTunesLibrary", objc.pathForFramework("/Library/Frameworks/iTunesLibrary.framework"), _metadata.__dict__, None, { "__doc__": __doc__, "objc": objc, "__path__": __path__, "__loader__": globals().get("__loader__", None), }, (Foundation, ), ) del sys.modules["iTunesLibrary._metadata"]
This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. """ import objc import sys import Cocoa import SpriteKit from GameplayKit import _metadata from GameplayKit._GameplayKit import * sys.modules["GameplayKit"] = mod = objc.ObjCLazyModule( "GameplayKit", "com.apple.GameplayKit", objc.pathForFramework("/System/Library/Frameworks/GameplayKit.framework"), _metadata.__dict__, None, { "__doc__": __doc__, "objc": objc, "__path__": __path__, "__loader__": globals().get("__loader__", None), }, (Cocoa, SpriteKit), ) import sys del sys.modules["GameplayKit._metadata"]
''' Python mapping for the MultipeerConnectivity framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. ''' import objc import sys import Foundation from MultipeerConnectivity import _metadata import MultipeerConnectivity._MultipeerConnectivity sys.modules['MultipeerConnectivity'] = mod = objc.ObjCLazyModule( "MultipeerConnectivity", "com.apple.MultipeerConnectivity", objc.pathForFramework( "/System/Library/Frameworks/MultipeerConnectivity.framework"), _metadata.__dict__, None, { '__doc__': __doc__, 'objc': objc, '__path__': __path__, '__loader__': globals().get('__loader__', None), }, (Foundation, )) import sys del sys.modules['MultipeerConnectivity._metadata'] del sys.modules['MultipeerConnectivity._MultipeerConnectivity']
''' Python mapping for the MediaToolbox framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. ''' import sys import Foundation import objc from MediaToolbox import _metadata sys.modules['MediaToolbox'] = mod = objc.ObjCLazyModule( "MediaToolbox", "com.apple.MediaToolbox", objc.pathForFramework("/System/Library/Frameworks/MediaToolbox.framework"), _metadata.__dict__, None, { '__doc__': __doc__, 'objc': objc, '__path__': __path__, '__loader__': globals().get('__loader__', None), }, (Foundation, )) import MediaToolbox._MediaToolbox for nm in dir(MediaToolbox._MediaToolbox): setattr(mod, nm, getattr(MediaToolbox._MediaToolbox, nm)) import sys del sys.modules['MediaToolbox._metadata']
documentation for details on how to use these functions and classes. """ import objc, sys import CoreServices import warnings warnings.warn( "pyobjc-framework-SearchKit is deprecated, use 'import CoreServices' instead", DeprecationWarning, ) sys.modules["SearchKit"] = objc.ObjCLazyModule( "SearchKit", "com.apple.SearchKit", objc.pathForFramework( "/System/Library/Frameworks/CoreServices.framework/Frameworks/SearchKit.framework" ), {}, None, { "__doc__": __doc__, "objc": objc, "__path__": __path__, "__loader__": globals().get("__loader__", None), }, (CoreServices,), )
""" Python mapping for the Intents framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. """ import sys import Foundation import objc from Intents import _metadata from Intents import _Intents sys.modules["Intents"] = mod = objc.ObjCLazyModule( "Intents", "com.apple.Intents", objc.pathForFramework("/System/Library/Frameworks/Intents.framework"), _metadata.__dict__, None, { "__doc__": __doc__, "objc": objc, "__path__": __path__, "__loader__": globals().get("__loader__", None), }, (_Intents, Foundation), ) del sys.modules["Intents._metadata"]
""" Python mapping for the CalendarStore framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. """ import sys import Foundation import objc from CalendarStore import _metadata sys.modules["CalendarStore"] = objc.ObjCLazyModule( "CalendarStore", "com.apple.CalendarStore", objc.pathForFramework( "/System/Library/Frameworks/CalendarStore.framework"), _metadata.__dict__, None, { "__doc__": __doc__, "__path__": __path__, "objc": objc, "__loader__": globals().get("__loader__", None), }, (Foundation, ), ) del sys.modules["CalendarStore._metadata"]
''' Python mapping for the BusinessChat framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. ''' import objc import sys import AppKit from BusinessChat import _metadata sys.modules['BusinessChat'] = mod = objc.ObjCLazyModule( "BusinessChat", "com.apple.icloud.messages.apps.businessframework", objc.pathForFramework("/System/Library/Frameworks/BusinessChat.framework"), _metadata.__dict__, None, { '__doc__': __doc__, 'objc': objc, '__path__': __path__, '__loader__': globals().get('__loader__', None), }, (AppKit, )) import sys del sys.modules['BusinessChat._metadata']
''' Python mapping for the AddressBook framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. ''' import objc import sys import Foundation from AddressBook import _metadata from AddressBook._AddressBook import * sys.modules['AddressBook'] = mod = objc.ObjCLazyModule( "AddressBook", "com.apple.AddressBook.framework", objc.pathForFramework("/System/Library/Frameworks/AddressBook.framework"), _metadata.__dict__, None, { '__doc__': __doc__, 'objc': objc, '__path__': __path__, }, (Foundation, ))
""" Python mapping for the FSEvents framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. """ import sys import Foundation import FSEvents._callbacks import objc from FSEvents import _metadata sys.modules["FSEvents"] = mod = objc.ObjCLazyModule( "FSEvents", "com.apple.CoreServices", objc.pathForFramework("/System/Library/Frameworks/CoreServices.framework"), _metadata.__dict__, None, { "__doc__": __doc__, "__path__": __path__, "__loader__": globals().get("__loader__", None), "objc": objc, }, (FSEvents._callbacks, Foundation), ) del sys.modules["FSEvents._metadata"]
''' Python mapping for the VideoSubscriberAccount framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. ''' import sys import Foundation import objc from VideoSubscriberAccount import _metadata sys.modules['VideoSubscriberAccount'] = mod = objc.ObjCLazyModule( "VideoSubscriberAccount", "com.apple.VideoSubscriberAccountFramework", objc.pathForFramework( "/System/Library/Frameworks/VideoSubscriberAccount.framework"), _metadata.__dict__, None, { '__doc__': __doc__, 'objc': objc, '__path__': __path__, '__loader__': globals().get('__loader__', None), }, (Foundation, )) import sys del sys.modules['VideoSubscriberAccount._metadata']
''' Python mapping for the GameController framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. ''' import objc import sys import Cocoa from GameController import _metadata sys.modules['GameController'] = mod = objc.ObjCLazyModule( "GameController", "com.apple.GameController", objc.pathForFramework( "/System/Library/Frameworks/GameController.framework"), _metadata.__dict__, None, { '__doc__': __doc__, 'objc': objc, '__path__': __path__, '__loader__': globals().get('__loader__', None), }, (Cocoa, )) import sys del sys.modules['GameController._metadata']
''' Python mapping for the QuartzCore framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. ''' import sys import Foundation import objc from Quartz.QuartzFilters import _metadata sys.modules['Quartz.QuartzFilters'] = mod = objc.ObjCLazyModule( 'Quartz.QuartzFilters', "com.apple.quartzfilters", objc.pathForFramework( "/System/Library/Frameworks/Quartz.framework/Frameworks/QuartzFilters.framework" ), _metadata.__dict__, None, { '__doc__': __doc__, '__path__': __path__, '__loader__': globals().get('__loader__', None), 'objc': objc, }, (Foundation, )) import sys del sys.modules['Quartz.QuartzFilters._metadata']
""" Python mapping for the Cocoa framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. """ import sys import AppKit import Foundation import objc mod = objc.ObjCLazyModule( "Cocoa", None, None, {}, None, { "__doc__": __doc__, "objc": objc, "__path__": __path__, "__loader__": globals().get("__loader__", None), }, (AppKit, Foundation), ) sys.modules["Cocoa"] = mod
), ) objc.addConvenienceForClass( "CIContextImpl", ( ("__getitem__", lambda self, key: self.objectForKey_(key)), ("__setitem__", lambda self, key, value: self.setObject_forKey_(value, key)), ), ) objc.addConvenienceForBasicSequence("QCStructure", True) sys.modules["Quartz.QuartzCore"] = mod = objc.ObjCLazyModule( "Quartz.QuartzCore", "com.apple.QuartzCore", objc.pathForFramework("/System/Library/Frameworks/QuartzCore.framework"), _metadata.__dict__, None, { "__doc__": __doc__, "__path__": __path__, "__loader__": globals().get("__loader__", None), "objc": objc, }, (_quartzcore, Foundation), ) del sys.modules["Quartz.QuartzCore._metadata"]
''' Python mapping for the SafariServices framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. ''' import sys import Foundation import objc from SafariServices import _metadata from SafariServices._SafariServices import * sys.modules['SafariServices'] = mod = objc.ObjCLazyModule( "SafariServices", "com.apple.SafariServices", objc.pathForFramework( "/System/Library/Frameworks/SafariServices.framework"), _metadata.__dict__, None, { '__doc__': __doc__, 'objc': objc, '__path__': __path__, '__loader__': globals().get('__loader__', None), }, (Foundation, )) import sys del sys.modules['SafariServices._metadata']
This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. """ import sys import Accounts import CoreData import CoreLocation import Foundation import objc from CloudKit import _metadata sys.modules["CloudKit"] = mod = objc.ObjCLazyModule( "CloudKit", "com.apple.CloudKit", objc.pathForFramework("/System/Library/Frameworks/CloudKit.framework"), _metadata.__dict__, None, { "__doc__": __doc__, "objc": objc, "__path__": __path__, "__loader__": globals().get("__loader__", None), }, (CoreData, CoreLocation, Accounts, Foundation), ) del sys.modules["CloudKit._metadata"]
This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. """ import objc import sys import Foundation from LocalAuthentication import _metadata sys.modules["LocalAuthentication"] = mod = objc.ObjCLazyModule( "LocalAuthentication", "com.apple.LocalAuthentication", objc.pathForFramework( "/System/Library/Frameworks/LocalAuthentication.framework"), _metadata.__dict__, None, { "__doc__": __doc__, "objc": objc, "__path__": __path__, "__loader__": globals().get("__loader__", None), }, (Foundation, ), ) import sys del sys.modules["LocalAuthentication._metadata"]
import os from Quartz.CoreGraphics import _metadata from Quartz.CoreGraphics._inlines import _inline_list_ if os.path.exists("/System/Library/Frameworks/CoreGraphics.framework"): framework_path = "/System/Library/Frameworks/CoreGraphics.framework" else: framework_path = "/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework" # noqa: B950 sys.modules["Quartz.CoreGraphics"] = mod = objc.ObjCLazyModule( "Quartz.CoreGraphics", "com.apple.CoreGraphics", objc.pathForFramework(framework_path), _metadata.__dict__, _inline_list_, { "__doc__": __doc__, "__path__": __path__, "__loader__": globals().get("__loader__", None), "objc": objc, }, (CoreFoundation, ), ) del sys.modules["Quartz.CoreGraphics._metadata"] def _load(mod): import Quartz Quartz.CoreGraphics = mod
""" Python mapping for the KernelManagement framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. """ import sys import Foundation import objc from KernelManagement import _metadata sys.modules["KernelManagement"] = mod = objc.ObjCLazyModule( "KernelManagement", "com.apple.KernelManagement", objc.pathForFramework( "/System/Library/Frameworks/KernelManagement.framework"), _metadata.__dict__, None, { "__doc__": __doc__, "objc": objc, "__path__": __path__, "__loader__": globals().get("__loader__", None), }, (Foundation, ), ) del sys.modules["KernelManagement._metadata"]
''' Python mapping for the CloudKit framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. ''' import sys import Foundation import objc from CoreBluetooth import _metadata, _CoreBluetooth sys.modules['CoreBluetooth'] = mod = objc.ObjCLazyModule( "CoreBluetooth", "com.apple.CoreBluetooth", objc.pathForFramework( "/System/Library/Frameworks/CoreBluetooth.framework"), _metadata.__dict__, None, { '__doc__': __doc__, 'objc': objc, '__path__': __path__, '__loader__': globals().get('__loader__', None), }, (Foundation, )) import sys del sys.modules['CoreBluetooth._metadata'] del sys.modules['CoreBluetooth._CoreBluetooth']
''' Python mapping for the DictionaryServices framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. ''' import sys import objc import Foundation from DictionaryServices import _metadata sys.modules['DictionaryServices'] = mod = objc.ObjCLazyModule( 'DictionaryServices', "com.apple.DictionaryServices", objc.pathForFramework( "/System/Library/Frameworks/CoreServices.framework/Frameworks/DictionaryServices.framework" ), _metadata.__dict__, None, { '__doc__': __doc__, '__path__': __path__, 'objc': objc, }, (Foundation, ))
Python mapping for the ApplicationServices framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. ''' import sys import CoreText import HIServices import Quartz.CoreGraphics import Quartz.ImageIO import objc #import ATS #import ColorSync #import LangAnalysis #import PrintCore #import QD #import SpeechSynthesis sys.modules['ApplicationServices'] = mod = objc.ObjCLazyModule( 'ApplicationServices', "com.apple.ApplicationServices", objc.pathForFramework( "/System/Library/Frameworks/ApplicationServices.framework"), {}, None, { '__doc__': __doc__, '__path__': __path__, '__loader__': globals().get('__loader__', None), 'objc': objc, }, (Quartz.ImageIO, Quartz.CoreGraphics, HIServices, CoreText))
''' Python mapping for the AppleScriptObjC framework. This module does not contain docstrings for the wrapped code, check Apple's documentation for details on how to use these functions and classes. ''' import sys import objc import Foundation from AppleScriptObjC import _metadata sys.modules['AppleScriptObjC'] = mod = objc.ObjCLazyModule( "AppleScriptObjC", "com.apple.AppleScriptObjC", objc.pathForFramework( "/System/Library/Frameworks/AppleScriptObjC.framework"), _metadata.__dict__, None, { '__doc__': __doc__, 'objc': objc, '__path__': __path__, '__loader__': globals().get('__loader__', None), }, (Foundation, )) import sys del sys.modules['AppleScriptObjC._metadata']
if int(os.uname()[2].split(".")[0]) < 12: # OSX <= 10.7 kCLErrorGeocodeFoundNoResult = 7 kCLErrorGeocodeCanceled = 8 else: # OSX 10.8 or later kCLErrorGeocodeFoundNoResult = 8 kCLErrorGeocodeCanceled = 10 sys.modules["CoreLocation"] = mod = objc.ObjCLazyModule( "CoreLocation", "com.apple.corelocation", objc.pathForFramework("/System/Library/Frameworks/CoreLocation.framework"), _metadata.__dict__, None, { "__doc__": __doc__, "__path__": __path__, "__loader__": globals().get("__loader__", None), "objc": objc, "kCLErrorGeocodeFoundNoResult": kCLErrorGeocodeFoundNoResult, "kCLErrorGeocodeCanceled": kCLErrorGeocodeCanceled, }, (Foundation, ), ) import sys del sys.modules["CoreLocation._metadata"]