The `pyobjc-framework-automator` library provides Python wrappers for the macOS Automator framework, enabling Python applications to develop Automator actions and run workflows. It is part of the larger PyObjC bridge, which allows Python scripts to use and extend Objective-C class libraries, notably Apple's Cocoa. The current version is 12.1, released on 2025-11-14. PyObjC maintains an active development pace with several major and minor releases per year, often tied to macOS SDK updates and Python version support changes.
pip install pyobjc-framework-automatorVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to import the `Automator` framework and access its core classes. Running full Automator workflows or developing actions typically requires a complete macOS application context, often built with `py2app`, or a carefully configured console application. This example focuses on verifying framework access.
Upgrade to Python 3.10 or newer, or pin `pyobjc-framework-automator<12.0`.
Upgrade to Python 3.9 or newer (for PyObjC < 12.0), or pin `pyobjc-framework-automator<11.0`.
Review code that interacts with Objective-C `init` methods for potential changes in object lifecycle and reference counts.
Remove dependencies on the "IMServicePlugIn" framework. There is no direct replacement for this deprecated Apple framework.
Carefully manage `__init__` and `__new__` in Objective-C subclasses. If you rely on PyObjC's `__new__`, avoid implementing `__init__`. If implementing your own `__new__`, ensure `__init__` is correctly called, but be aware of limitations.
If KVO is required for Python subclasses of `NSProxy`, consider alternative implementation strategies or explicit KVO management outside of the automatic behavior.