skillfed

pyobjc-framework-MLCompute

Wrappers for the framework MLCompute on macOS

pyobjc-framework-mlcompute v12.2.2 648.1K downloads/30d#5,587 on PyPI803
Permissive license MIT Active released

What it is and what it does

This package is a PyObjC wrapper layer that exposes Apple's MLCompute framework to Python developers on macOS. MLCompute is Apple's low-level machine learning acceleration framework that can offload compute tasks to specialized hardware. The wrappers translate between Python and Objective-C, allowing you to call MLCompute APIs from Python code, but they do not include their own documentation—you must refer to Apple's MLCompute documentation and PyObjC's general translation guides to understand how to use the framework.

The package is part of the larger PyObjC project and is actively maintained. It supports modern Python versions (3.10 through 3.15) and installs with low friction as a pure wheel. Since it is a thin binding layer rather than a high-level abstraction, it is primarily useful for developers who already understand MLCompute and need to integrate it into Python applications running on macOS.

Use it for:

  • Accelerate machine learning inference on macOS by calling MLCompute from Python code.
  • Integrate Apple's hardware-accelerated compute into Python-based ML pipelines on Mac systems.
  • Build macOS applications that leverage MLCompute for neural network or tensor operations.
  • Access low-level MLCompute APIs from Python for custom ML compute tasks on Apple hardware.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python bindings to Apple's MLCompute framework on macOS, enabling access to machine learning compute acceleration through Objective-C bridge wrappers.

Yes, if you are developing on macOS and need to access MLCompute acceleration from Python. The package is actively maintained, has no known vulnerabilities, installs easily, and carries a permissive MIT license. However, it is only useful on macOS and requires Python 3.10+; it is also a thin binding with no bundled documentation, so you must be comfortable consulting Apple's MLCompute docs and PyObjC translation guides.

Install

pyobjc-framework-mlcompute on PyPI

pip

pip install pyobjc-framework-mlcompute

uv

uv add pyobjc-framework-mlcompute

poetry

poetry add pyobjc-framework-mlcompute

Installing pyobjc-framework-MLCompute

Before you install

Low install friction with a pure-wheel distribution. Actively maintained as of 3 days ago with recent commits and stable production status across Python 3.10–3.15.

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

import MLCompute
# Access MLCompute framework classes and methods via PyObjC bindings

Requires macOS and Python 3.10 or later; MLCompute framework is macOS-only and not available on other operating systems.

Verify before relying

  • Whether the package includes type hints or stub files for IDE support.
  • Performance overhead of the PyObjC bridge compared to direct Objective-C calls.
  • Specific MLCompute features or API coverage provided by these wrappers.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 2 — pyobjc-core, pyobjc-framework-Cocoa
Maintenance actively maintained — 3 days since the last release
Last repo commit
First released
Downloads 648,118/month — #5,587 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyobjc_framework_mlcompute-12.2.2-py2.py3-none-any.whl

Keywords: PyObjC, MLCompute

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

macos machine learning accelerationpyobjc mlcompute bindingsapple mlcompute framework pythonobjective-c machine learning wrappermacos neural network compute
macos-onlyobjective-c-bindingsml-acceleration

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

pyobjc-framework-MetalKit

Provides Python bindings for Apple's MetalKit…

permissive · top 15,000 on PyPI

pyobjc-framework-ClassKit

Provides Python bindings to Apple's ClassKit…

permissive · top 15,000 on PyPI

pyobjc-framework-MetalPerformanceShaders

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

Provides Python bindings to macOS's Vision…

permissive · top 5,000 on PyPI

pyobjc-framework-Network

Provides Python bindings to Apple's Network…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreML

Provides Python bindings to Apple's CoreML…

permissive · top 5,000 on PyPI

pyobjc-framework-CoreAudio

Provides Python bindings to macOS's CoreAudio…

permissive · top 15,000 on PyPI

pyobjc-framework-Metal

Provides Python bindings to Apple's Metal…

permissive · top 15,000 on PyPI

pyobjc-framework-MetalPerformanceShadersGraph

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI