--- id: pyobjc-framework-coreml version: "12.2.2" license: MIT license_treatment: permissive maintenance: active --- # pyobjc-framework-CoreML — Wrappers for the framework CoreML on macOS License: permissive · Maintenance: active · Downloads: 854.7K/mo ## What it is and what it does pyobjc-framework-coreml is a thin Python wrapper around Apple's CoreML framework, part of the broader PyObjC project. It exposes CoreML's Objective-C APIs to Python, allowing developers to load and run machine learning models natively on macOS without reimplementing CoreML functionality in pure Python. The package does not include its own documentation; users must consult Apple's CoreML documentation and PyObjC's general translation guides to understand how to call the underlying framework. The package is macOS-only and requires Python 3.10 or later. It depends on pyobjc-core and pyobjc-framework-Cocoa to bridge the Python–Objective-C boundary. Installation is straightforward via wheels for current Python versions and architectures, but it is not portable to Linux, Windows, or older Python releases. Use it for: - Load and run pre-trained CoreML models on macOS for inference within Python applications. - Integrate machine learning predictions into native macOS desktop or server applications written in Python. - Access CoreML-specific features (e.g., model metadata, input/output specifications) not exposed by higher-level ML libraries. - Build macOS-native ML pipelines that leverage CoreML's hardware acceleration on Apple Silicon or Intel processors. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides Python bindings to Apple's CoreML framework on macOS, enabling machine learning model inference through native Objective-C APIs. Yes, if you are developing on macOS and need direct access to CoreML's native APIs. The package is actively maintained, has no known vulnerabilities, and carries a permissive MIT license. However, it is only useful on macOS with Python 3.10+; if you target other platforms or need cross-platform ML inference, consider higher-level libraries instead. ## Install pip install pyobjc-framework-coreml uv add pyobjc-framework-coreml poetry add pyobjc-framework-coreml ## Installing pyobjc-framework-CoreML Before you install: Medium install friction due to platform and architecture constraints—wheels are provided for macOS only (universal2 binaries) across Python 3.10–3.15, but installation requires macOS and the correct Python version. Maintenance is active with a recent release (3 days old) and ongoing repository updates. License in practice: MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects. Quickstart: pip install pyobjc-framework-coreml import coreml # Load and use a CoreML model via the framework bindings macOS only; requires Python 3.10 or later and a compatible CPU architecture (universal2 wheels provided for Intel and Apple Silicon). Verify before relying: - Whether the package includes runtime type hints or stub files for IDE support. - Performance characteristics or benchmarks for model inference compared to direct Objective-C calls. - Whether free-threaded Python (3.13t, 3.14t, 3.15t) wheels have feature parity with GIL wheels. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 854.7K/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags coreml python bindings, macos machine learning framework, objective-c python wrapper, apple coreml integration, native ml inference macos, macos-only, objective-c-bindings, ml-inference [View on SkillFed](https://skillfed.io/packages/pyobjc-framework-coreml) · [View on PyPI](https://pypi.org/project/pyobjc-framework-coreml/)