--- id: pyobjc-framework-cocoa version: "12.2.2" license: MIT license_treatment: permissive maintenance: active --- # pyobjc-framework-Cocoa — Wrappers for the Cocoa frameworks on macOS License: permissive · Maintenance: active · Downloads: 3.1M/mo ## 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 above — verify before relying. Provides Python bindings to macOS Cocoa frameworks (CoreFoundation, Foundation, AppKit) for building native macOS applications and accessing system APIs. 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 pip install pyobjc-framework-cocoa uv add pyobjc-framework-cocoa poetry add pyobjc-framework-cocoa ## Installing pyobjc-framework-Cocoa 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. 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 macOS only; requires Python 3.10 or later; requires pyobjc-core as a runtime dependency. 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_current - Install friction: medium - Maintenance: active - Downloads: 3.1M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags macOS cocoa bindings python, objective-c wrapper python, appkit foundation framework, native macos gui python, cocoa framework bindings, macos-native, objective-c-bridge [View on SkillFed](https://skillfed.io/packages/pyobjc-framework-cocoa) · [View on PyPI](https://pypi.org/project/pyobjc-framework-cocoa/)