pyobjc-framework-Cocoa
Wrappers for the Cocoa frameworks on macOS
Decision gist · record as of 2026-08-14
Yes, if you are developing on macOS and need direct access to native Cocoa frameworks. The package is actively maintained, has no known vulnerabilities, and uses a permissive MIT license. Install friction is moderate due to platform specificity and compiled dependencies, but this is unavoidable for Objective-C bridging. Not applicable on non-macOS platforms.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- macOS only; requires Python 3.10 or later; requires pyobjc-core as a runtime dependency.
- Medium install friction due to platform-specific wheels (macOS only) and compiled dependencies on pyobjc-core.
- Actively maintained with a recent release (3 days old) and steady repository activity.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it suitable for proprietary macOS applications.
last release 2026-08-11 (3 days) · last repo commit 2026-08-14 · 803 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,075,172 downloads/mo, #2,764 on PyPI
Alternatives
Verify before relying
pip install pyobjc-framework-cocoa
import pyobjc_framework_cocoa- Whether the package includes or requires separate installation of Apple's Xcode Command Line Tools or other system dependencies beyond pyobjc-core.
- Performance characteristics when bridging between Python and Objective-C for compute-intensive operations.
- Specific usage patterns and API translation rules for calling Objective-C methods from Python code.
What it is and what it does
This package provides Python bindings to Apple's core Cocoa frameworks on macOS, enabling developers to call native Objective-C APIs directly from Python code. It wraps CoreFoundation, Foundation, and AppKit—the fundamental frameworks for macOS application development—allowing access to system services, UI components, and low-level APIs without leaving Python.
The bindings are thin wrappers that translate Python calls into Objective-C method invocations, making it possible to build native macOS applications, system utilities, and integrations with macOS-specific features. It depends on pyobjc-core for the bridging infrastructure. The package does not include documentation for the frameworks themselves; users must refer to Apple's official documentation and PyObjC's translation guides to understand how to use the underlying APIs.
Use it for
- Build native macOS GUI applications using AppKit directly from Python without a separate UI framework.
- Access macOS system APIs and services from Python scripts and automation tools.
- Create macOS system utilities that integrate with native frameworks and system services.
- Wrap or extend existing Objective-C libraries and frameworks for use in Python projects on macOS.
- Develop Python applications with macOS-specific code paths using native APIs.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are developing on macOS and need direct access to native Cocoa frameworks.
The package is actively maintained, has no known vulnerabilities, and uses a permissive MIT license. Install friction is moderate due to platform specificity and compiled dependencies, but this is unavoidable for Objective-C bridging. Not applicable on non-macOS platforms.
Install
pyobjc-framework-cocoa on PyPI
Before you install
Medium install friction due to platform-specific wheels (macOS only) and compiled dependencies on pyobjc-core. Actively maintained with a recent release (3 days old) and steady repository activity.
macOS only; requires Python 3.10 or later; requires pyobjc-core as a runtime dependency.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for proprietary macOS applications.
Quickstart
pip install pyobjc-framework-cocoa
import pyobjc_framework_cocoa
Verify before relying
- Whether the package includes or requires separate installation of Apple's Xcode Command Line Tools or other system dependencies beyond pyobjc-core.
- Performance characteristics when bridging between Python and Objective-C for compute-intensive operations.
- Specific usage patterns and API translation rules for calling Objective-C methods from Python code.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 1 packagepyobjc-core |
| Maintenance | Actively maintained 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,075,172 / month, #2,764 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_cocoa-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_cocoa-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_cocoa-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_cocoa-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_cocoa-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_cocoa-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_cocoa-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_cocoa-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_cocoa-12.2.2-cp315-cp315t-macosx_10_15_universal2.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 › “macOS cocoa bindings python”
- pyobjc-framework-CocoaProvides Python bindings to macOS Cocoa frameworks (CoreFoundation,…
- pyobjc-framework-ExceptionHandlingProvides Python bindings to macOS's ExceptionHandling framework,…
- pyobjcPyObjC bridges Python and Objective-C, enabling you to write…
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-CoreML · pyobjc-framework-Network · pyobjc-framework-SharedWithYouCore · pyobjc-framework-ClassKit · pyobjc-framework-SystemExtensions · pyobjc-framework-Contacts · pyobjc-framework-SafariServices · pyobjc-framework-ScreenSaver · pyobjc · pyobjc-framework-FileProvider