pyobjc-framework-CoreML
Wrappers for the framework CoreML on macOS
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 on this page — 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
pyobjc-framework-coreml on PyPI
pip
pip install pyobjc-framework-coremluv
uv add pyobjc-framework-coremlpoetry
poetry add pyobjc-framework-coremlInstalling 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 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 | 854,689/month — #4,893 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyobjc_framework_coreml-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_coreml-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_coreml-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_coreml-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_coreml-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_coreml-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_coreml-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_coreml-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_coreml-12.2.2-cp315-cp315t-macosx_10_15_universal2.whl
Keywords: PyObjC, CoreML
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
coremltoolsConverts trained machine learning models from…
permissive · top 5,000 on PyPI
pyobjc-framework-CocoaProvides Python bindings to macOS Cocoa…
permissive · top 5,000 on PyPI
pyobjc-framework-NetworkProvides Python bindings to Apple's Network…
permissive · top 15,000 on PyPI
pyobjc-framework-SharedWithYouCoreProvides Python bindings for Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-LatentSemanticMappingProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-ClassKitProvides Python bindings to Apple's ClassKit…
permissive · top 15,000 on PyPI
pyobjc-framework-AutomaticAssessmentConfigurationProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-NaturalLanguageProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-MLComputeProvides Python bindings to Apple's MLCompute…
permissive · top 15,000 on PyPI
pyobjc-framework-SafariServicesProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI