skillfed

pyobjc-framework-ScriptingBridge

Wrappers for the framework ScriptingBridge on macOS

pyobjc-framework-scriptingbridge v12.2.2 657.1K downloads/30d#5,479 on PyPI803
Permissive license MIT Active released

What it is and what it does

This package wraps Apple's ScriptingBridge framework, which is part of macOS's native scripting infrastructure. It allows Python developers to write scripts that control AppleScript-compatible applications directly from Python code, without needing to write or execute AppleScript itself. The package depends on pyobjc-core and pyobjc-framework-Cocoa to bridge between Python and Objective-C.

It is intended for developers who need to automate or interact with macOS applications from Python. The framework is comparable to appscript but is built on the native ScriptingBridge rather than a third-party bridge, and it requires macOS 10.5 or later. The package is actively maintained and supports modern Python versions (3.10 through 3.15), including free-threading builds.

Use it for:

  • Automate repetitive tasks in macOS applications like Mail, Finder, or other AppleScript-compatible programs
  • Build Python scripts that orchestrate workflows across multiple macOS applications
  • Create system automation tools that need to control native macOS apps from Python
  • Integrate macOS application functionality into larger Python automation frameworks

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python bindings to macOS's ScriptingBridge framework, enabling Python code to control and interact with AppleScript-compatible applications on macOS.

Yes, if you are on macOS and need to control AppleScript-compatible applications from Python. The package is actively maintained, has no known vulnerabilities, and uses a permissive MIT license. Install friction is moderate due to platform specificity and dependency requirements, but that is inherent to the use case rather than a sign of poor maintenance.

Install

pyobjc-framework-scriptingbridge on PyPI

pip

pip install pyobjc-framework-scriptingbridge

uv

uv add pyobjc-framework-scriptingbridge

poetry

poetry add pyobjc-framework-scriptingbridge

Installing pyobjc-framework-ScriptingBridge

Before you install

Medium install friction due to platform and architecture specificity: wheels are provided only for macOS (10.9 and later depending on Python version) and require pyobjc-core and pyobjc-framework-Cocoa as runtime dependencies. The package is actively maintained with recent releases and no known vulnerabilities.

License in practice

MIT license is permissive, allowing use in commercial and private projects with minimal restrictions beyond attribution.

Quickstart

pip install pyobjc-framework-scriptingbridge

import ScriptingBridge
# Access AppleScript-compatible applications via the framework

macOS 10.5 or later required; only available on macOS (no Windows or Linux support). Requires Python 3.10 or later.

Verify before relying

  • Specific examples of which applications can be controlled and how to interact with them programmatically
  • Performance characteristics or limitations when automating complex application workflows
  • Whether the package requires any system-level permissions or accessibility settings on modern macOS versions

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction medium — platform-specific wheel
Runtime dependencies 2 — pyobjc-core, pyobjc-framework-Cocoa
Maintenance actively maintained — 3 days since the last release
Last repo commit
First released
Downloads 657,072/month — #5,479 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyobjc_framework_scriptingbridge-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_scriptingbridge-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_scriptingbridge-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_scriptingbridge-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_scriptingbridge-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_scriptingbridge-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_scriptingbridge-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_scriptingbridge-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_scriptingbridge-12.2.2-cp315-cp315t-macosx_10_15_universal2.whl

Keywords: PyObjC, ScriptingBridge

Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: MacOS X :: CocoaIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: MacOS :: MacOS XProgramming Language :: Objective CProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Programming Language :: Python :: Free Threading :: 3 - StableProgramming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: User Interfaces

Tags

applescript from pythonmacos scripting bridge pythoncontrol macos apps pythonpyobjc scriptingbridgeapplescript automation pythonmacos application controlcocoa scripting python
macos-automationapplescript-bridge

More Python Modules packages

idna

Converts domain names between Unicode and…

permissive · top 100 on PyPI

setuptools

Setuptools is a Python build backend and…

permissive · top 100 on PyPI

PyYAML

PyYAML parses and emits YAML 1.1 data format,…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

annotated-types

Provides reusable metadata objects for use with…

permissive · top 100 on PyPI

typing-inspection

Provides runtime tools to inspect and…

permissive · top 100 on PyPI

pyobjc-framework-OSAKit

Provides Python bindings to macOS's OSAKit…

permissive · top 15,000 on PyPI

pyobjc-framework-AppleScriptKit

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-SystemExtensions

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-AppleScriptObjC

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-ClassKit

Provides Python bindings to Apple's ClassKit…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreAudio

Provides Python bindings to macOS's CoreAudio…

permissive · top 15,000 on PyPI

pyobjc-framework-VideoSubscriberAccount

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-AutomaticAssessmentConfiguration

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-MailKit

Provides Python bindings to macOS's MailKit…

permissive · top 15,000 on PyPI

readline

Provides GNU readline library support for…

copyleft · top 15,000 on PyPI