pyobjc-framework-OSAKit
Wrappers for the framework OSAKit on macOS
Decision gist · record as of 2026-08-14
Yes, if you are on macOS and need to execute AppleScript or OSA scripts from Python. The package is actively maintained, has no known vulnerabilities, and low install friction. However, it is macOS-only and requires understanding of both PyObjC's translation layer and Apple's OSAKit API; the lack of bundled documentation means you will need to consult external resources.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- macOS only; requires Python 3.10 or later and a working Objective-C bridge via pyobjc-core.
- Low friction installation; actively maintained with a release 3 days ago.
- Depends on pyobjc-core and pyobjc-framework-Cocoa, both part of the same PyObjC ecosystem.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
last release 2026-08-11 (3 days) · last repo commit 2026-08-14 · 803 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 655,925 downloads/mo, #5,502 on PyPI
Alternatives
Verify before relying
pip install pyobjc-framework-osakit
from OSAKit import OSALanguage, OSAScript
script = OSAScript.alloc().initWithSource_language_('tell app "Finder" to activate', OSALanguage.defaultLanguage())
script.executeAndReturnError_(None)- Whether the package includes type hints or stubs for IDE support
- Performance characteristics when executing complex or long-running AppleScripts
- Compatibility with non-CPython implementations beyond the listed classifiers
What it is and what it does
This package wraps Apple's OSAKit framework, which provides access to Open Scripting Architecture on macOS. It lets you execute AppleScript and other OSA-compatible scripts directly from Python, enabling automation of macOS applications and system tasks that would otherwise require shell invocation of osascript or direct AppleScript editing.
The package is a thin binding layer—it does not include its own documentation, instead directing users to Apple's OSAKit documentation and PyObjC's general translation guides. It depends on pyobjc-core and pyobjc-framework-Cocoa to bridge Python and Objective-C, and supports modern Python versions (3.10 through 3.15).
Use it for
- Automate macOS applications (Finder, Mail, etc.) from Python scripts without shelling out to osascript.
- Build cross-application workflows that coordinate multiple macOS apps via AppleScript.
- Embed AppleScript execution in Python applications that need tight macOS system integration.
- Programmatically control system tasks like file operations or app launching via OSA.
- Integrate legacy AppleScript logic into modern Python codebases.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are on macOS and need to execute AppleScript or OSA scripts from Python.
The package is actively maintained, has no known vulnerabilities, and low install friction. However, it is macOS-only and requires understanding of both PyObjC's translation layer and Apple's OSAKit API; the lack of bundled documentation means you will need to consult external resources.
Install
pyobjc-framework-osakit on PyPI
Before you install
Low friction installation; actively maintained with a release 3 days ago. Depends on pyobjc-core and pyobjc-framework-Cocoa, both part of the same PyObjC ecosystem.
macOS only; requires Python 3.10 or later and a working Objective-C bridge via pyobjc-core.
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install pyobjc-framework-osakit
from OSAKit import OSALanguage, OSAScript
script = OSAScript.alloc().initWithSource_language_('tell app "Finder" to activate', OSALanguage.defaultLanguage())
script.executeAndReturnError_(None)
Verify before relying
- Whether the package includes type hints or stubs for IDE support
- Performance characteristics when executing complex or long-running AppleScripts
- Compatibility with non-CPython implementations beyond the listed classifiers
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespyobjc-corepyobjc-framework-Cocoa |
| Maintenance | Actively maintained 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 655,925 / month, #5,502 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | 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 |
Evidence: pyobjc_framework_osakit-12.2.2-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “osascript from python”
- pyobjc-framework-OSAKitProvides Python bindings to macOS's OSAKit framework, enabling…
- powerfxProvides a Python bridge to invoke C# Power Fx expressions through…
- pythonnetpythonnet enables Python code to call .NET and Mono libraries…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also pyobjc-framework-AppleScriptKit · pyobjc-framework-ScriptingBridge · pyobjc-framework-AppleScriptObjC · pyobjc-framework-ClassKit · pyobjc-framework-AutomaticAssessmentConfiguration · pyobjc-framework-MailKit · pyobjc-framework-SafetyKit · pyobjc-framework-SafariServices · pyobjc-framework-ScreenSaver · pyobjc-framework-SystemExtensions