Overview of macOS frameworks and their wrappers
The table below lists all frameworks found within /System/Library/Frameworks
on macOS and what the
name of the Python packages are for their wrappers. The table lists “-” as the name of the Python package when
the framework is not wrapped, see the column with notes for more information.
The framework name links to API notes for that framework, the python packages link to their PyPI page.
Framework name |
Python package |
Notes |
---|---|---|
Accelerate |
Will not be wrapped. |
|
AGL |
Will not be wrapped, OpenGL is deprecated in macOS 10.14 |
|
AppKitScripting |
Not wrapped, all definitions are available through the AppKit bindings. Removed in macOS 10.15. |
|
AppSSO |
No public API. |
|
AudioToolbox |
||
AudioUnit |
||
AudioVideoBridging |
||
BackgroundTasks |
No public API on macOS |
|
CallKit |
No public API on macOS |
|
Carbon |
Framework will not be wrapped. |
|
Combine |
Swift only API |
|
Contacts ` |
||
CoreAudioTypes |
These constants and types are exposed
in the CoreAudio bindings. Use
|
|
CoreAuthentication |
No public API (removed in macOS 10.13) |
|
CoreDisplay |
No public API. |
|
Use “import Quartz”. |
||
Use “import Quartz”. |
||
CoreMIDI |
Not yet wrapped. |
|
CoreMIDIServer |
No public API. |
|
Various subframeworks are wrapped |
||
Use “import LaunchServices” |
||
CoreServices/AE |
Not wrapped, use appscript package. |
|
CoreServices/CarbonCore |
Not yet wrapped. |
|
CoreServices/Metadata |
Use “import CoreServices” |
|
Use “import CoreServices” |
||
CoreTelephony |
Framework has no public API no OS X |
|
use “import Quartz”. |
||
CryptoKit |
Swift only API |
|
DirectoryService |
Will not be wrapped. |
|
DriverKit |
Will not be wrapped, too low level. |
|
DVComponentGlue |
No public API. Removed in macOS 10.15 |
|
DrawSprocket |
Will not be wrapped. Removed in macOS 10.15. |
|
FileProvider |
||
FileProviderUI |
||
ForceFeedback |
Will not be wrapped, low-level API |
|
FWAUserLib |
Will not be wrapped, framework is deprecated in macOS 10.12. |
|
Removed in macOS 10.13. |
||
GLKit |
Will not be wrapped, framework is deprecated in macOS 10.14. |
|
GLUT |
Will not be wrapped Use PyOpenGL instead. |
|
GSS |
Will not be wrapped. Use gssapi instead. |
|
HIDDriverKit |
Will not be wrapped, too low level. |
|
Hypervisor |
Will not be wrapped, too low level. |
|
ICADevices |
Will not be wrapped. |
|
IdentityLookup |
No public API on macOS |
|
use “import Quartz”. |
||
IMCore |
No public API. Removed in macOS 10.13. |
|
IncomingCallNotifications |
No public API on macOS. Removed in macOS 10.15. |
|
IOBluetooth |
Will not be wrapped. |
|
IOBluetoothUI |
Will not be wrapped. |
|
IOKit |
Will not be wrapped. |
|
IOUSBHost |
Not wrapped yet. |
|
JavaFrameEmbedding |
Will not be wrapped. |
|
JavaVM |
Will not be wrapped. |
|
Kerberos |
Will not be wrapped. |
|
Kernel |
Will not be wrapped. |
|
LDAP |
Will not be wrapped. Use python-ldap instead. |
|
MetalPerformanceShaders |
Not wrapped yet. |
|
MetricKit |
No public API on macOS. |
|
NetworingkDriverKit |
Will not be wrapped, too low level. |
|
OpenAL |
Will not be wrapped. Use PyAL instead. Deprecated in macOS 10.15. |
|
OpenCL |
Will not be wrapped. Use pyopencl instead. |
|
OpenGL |
Will not be wrapped. Use PyOpenGL instead. |
|
PCSC |
Use pyscard instead. |
|
Use “import Quartz”. |
||
Removed in macOS 10.15. |
||
Python |
Will not be wrapped. |
|
Removed in macOS 10.15. |
||
Quartz / ImageKit |
use “import Quartz”. |
|
Quartz / QuartzComposer |
Use “import Quartz” |
|
Quartz / QuartzFilters |
Use “import Quartz”. |
|
Quartz / QuickLookUI |
Use “import Quartz”. |
|
Use “import Quartz”. |
||
Use “import Quartz”. |
||
QuickTime |
Will not be wrapped. Removed in macOS 10.15. |
|
RealityKit |
No public API. |
|
Ruby |
Will not be wrapped. |
|
Scripting |
This framework is (long) deprecated, use “import Foundation” instead. Removed in macOS 10.15. |
|
Removed in macOS 10.9. |
||
SoundAnalysis </apinotes/SoundAnalysis |
Not wrapped yet |
|
SwiftUI |
Swift only API. |
|
System |
No public API. |
|
Tcl |
Will not be wrapped. |
|
Tk |
Will not be wrapped, use |
|
TWAIN |
Will not be wrapped. Use the “ImageCaptureCore” framework instead. |
|
USBDriverKit |
Will not be wrapped, too low level. |
|
vecLib |
Will not be wrapped. |
|
VideoDecodeAcceleration |
Deprecated in macOS 10.11, won’t be wrapped. |
|
vmnet |
Will not be wrapped, too low level. |
|
Removed in macOS 10.8. |
Frameworks that are marked as “Will not be wrapped” will not be wrapped, mostly because these frameworks are not usefull for Python programmers. Frameworks that are marked with “Not wrapped yet” will be wrapped in some future version of PyObjC although there is no explicit roadmap for this.
Frameworks that are marked as “Swift only API” have a public API for Swift, but not for other languages. This cannot be wrapped using PyObjC.
Please file an issue if you have a usecase for accessing one of the unwrapped frameworks from Python, this helps prioritizing work.