The PyObjC project aims to provide a bridge between the Python and Objective-C programming languages. 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.
The most important usage of this is writing Cocoa GUI applications on Mac OS X in pure Python. See our tutorial for an example of this.
News
2009-11-24: Installing into System python
It is technically possible to install new versions of
PyObjC into the system install of python (such as using
/usr/bin/easy_install).
We advise not to do that however, because bits of the system
may use PyObjC and we're not 100% upward compatible w.r.t.
the version of PyObjC that's included with MacOSX.
2009-11-24: PyObjC 2.2 released
There are relatively few user-visibly changes from the last
release.
This release can be installed using easy_install
Usage:
$ easy_install pyobjc==2.2
This will install the core bridge as well as all stable
framework wrappers.
NOTE2: easy_install will not install py2app, you will have
to install that manually.
2009-05-26: PyObjC 2.2b2 released
PyObjC 2.2b2 is the second beta release for PyObjC 2.2.
There are relatively few user-visibly changes from the last
release.
This release can be installed using easy_install
Usage:
$ easy_install pyobjc==2.2b2
This will install the core bridge as well as all stable
framework wrappers.
NOTE: This is a beta release, which means there are still
know issues with this release although it should in general be
stable and an improvement over the last release.
NOTE2: easy_install will not install py2app, you will have
to install that manually.
2009-05-25: PyObjC 2.2b2 released
PyObjC 2.2b2 is the second beta release for PyObjC 2.2.
There are relatively few user-visibly changes from the last
release.
This release can be installed using easy_install
Usage:
$ easy_install pyobjc==2.2b2
This will install the core bridge as well as all stable
framework wrappers.
NOTE: This is a beta release, which means there are still
know issues with this release although it should in general be
stable and an improvement over the last release.
NOTE2: easy_install will not install py2app, you will have
to install that manually.
2009-03-01: PyObjC 2.2b1 released
PyObjC 2.2b1 is the first beta release for PyObjC 2.2.
There are relatively few user-visibly changes from the last
release. The most important ones are:
This release can be installed using easy_install
Usage:
$ easy_install pyobjc==2.2b1
This will install the core bridge as well as all stable
framework wrappers.
Most framework wrappers ship with unittests that verify
that the wrappers actually work as intended.
These tests are not yet entirely complete, but have already
helped in finding and fixing a number of issues.
NOTE: This is a beta release, which means there are still
know issues with this release although it should in general be
stable and an improvement over the last release.
NOTE2: easy_install will not install py2app, you will have
to install that manually.
The PyObjC project is hosted by SourceForge.
In addition to hosting this site and the downloads, SourceForge
provides the following resources for the project: