The PyObjC project aims to provide a bridge between the Python and Objective-C programming languages on macOS. The bridge is intended to be fully bidirectional, allowing the Python programmer to take full advantage of the power provided by various Objective-C based toolkits and the Objective-C programmer transparent access to Python based functionality.
PyObjC not only includes the basic bridge, but also bindings to most Apple frameworks on macOS.
The most important usage of this is writing Cocoa GUI applications on macOS in pure Python. See our tutorial for an example of this.
PyObjC 9.0.1 was released on 2022-12-19. See the changelog for more information. PyObjC 9 supports Python 3.7 and later.
PyObjC 8.5 is the last version supporting Python 3.6. PyObjC 5.3 is the last version supporting Python 2. These versions are no longer supported.
PyObjC supports Python 3.7 or later and does not support Python 2. PyObjC does not support other python implementation such as PyPy and Jython.
PyObjC is regularly tested on macOS 10.14 and should work on macOS 10.9 or later for the i386 and x86_64 architectures.
PyObjC only supports macOS, and is not supported on other platforms (iOS, Linux, ...).