Introduction
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.
Release informationPyObjC 10.3.1 was released on 2024-06-11. See the changelog for more information. PyObjC 9 supports Python 3.7 and later. PyObjC 9.2 is the last version supporting Python 3.7. 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. |
Supported platformsPyObjC 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, ...). |
General documentation
Using PyObjC
Various notes
|
Framework bindings Metadata system Historical documentation |
Reference documentation |
Developing PyObjC
Important resources
|