skillfed

pyobjc-framework-CoreML

Wrappers for the framework CoreML on macOS

pyobjc-framework-coreml v12.2.2 854.7K downloads/30d#4,893 on PyPI803
Permissive license MIT Active released

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-coreml

uv

uv add pyobjc-framework-coreml

poetry

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 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

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

Tags

coreml python bindingsmacos machine learning frameworkobjective-c python wrapperapple coreml integrationnative ml inference macos
macos-onlyobjective-c-bindingsml-inference

More Python Modules packages

idna

Converts domain names between Unicode and…

permissive · top 100 on PyPI

setuptools

Setuptools is a Python build backend and…

permissive · top 100 on PyPI

PyYAML

PyYAML parses and emits YAML 1.1 data format,…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

annotated-types

Provides reusable metadata objects for use with…

permissive · top 100 on PyPI

typing-inspection

Provides runtime tools to inspect and…

permissive · top 100 on PyPI

coremltools

Converts trained machine learning models from…

permissive · top 5,000 on PyPI

pyobjc-framework-Cocoa

Provides Python bindings to macOS Cocoa…

permissive · top 5,000 on PyPI

pyobjc-framework-Network

Provides Python bindings to Apple's Network…

permissive · top 15,000 on PyPI

pyobjc-framework-SharedWithYouCore

Provides Python bindings for Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-LatentSemanticMapping

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-ClassKit

Provides Python bindings to Apple's ClassKit…

permissive · top 15,000 on PyPI

pyobjc-framework-AutomaticAssessmentConfiguration

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-NaturalLanguage

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-MLCompute

Provides Python bindings to Apple's MLCompute…

permissive · top 15,000 on PyPI

pyobjc-framework-SafariServices

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI