pyobjc-framework-MetalPerformanceShaders
Wrappers for the framework MetalPerformanceShaders on macOS
What it is and what it does
This package wraps Apple's MetalPerformanceShaders framework, making GPU-accelerated compute and graphics operations available to Python developers on macOS. It sits on top of pyobjc-core and pyobjc-framework-Metal, translating Objective-C APIs into Python bindings so you can call MPS functions directly from your code.
The package does not include its own documentation; instead, it relies on Apple's official MetalPerformanceShaders documentation and PyObjC's general translation guidelines. It's intended for developers who need low-level GPU acceleration on macOS and are comfortable consulting external framework documentation. Installation is restricted to macOS with Python 3.10 or later, and wheels are provided for multiple Python versions and architectures (Intel and Apple Silicon).
Use it for:
- Accelerate numerical computations (matrix operations, convolutions) on macOS GPU hardware.
- Build machine learning inference pipelines that leverage Metal performance shaders.
- Optimize image and signal processing tasks by offloading compute to the GPU.
- Integrate GPU-accelerated operations into existing Python applications on macOS.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to Apple's MetalPerformanceShaders framework on macOS, enabling GPU-accelerated compute and graphics operations from Python code.
Yes, if you are developing on macOS and need GPU-accelerated compute from Python. The package is actively maintained, has no known vulnerabilities, and provides direct access to Apple's high-performance GPU framework. Install only if you are on macOS with Python 3.10+; it is not portable to other platforms.
Install
pyobjc-framework-metalperformanceshaders on PyPI
pip
pip install pyobjc-framework-metalperformanceshadersuv
uv add pyobjc-framework-metalperformanceshaderspoetry
poetry add pyobjc-framework-metalperformanceshadersInstalling pyobjc-framework-MetalPerformanceShaders
Before you install
Medium install friction due to platform and architecture constraints—wheels are macOS-only (universal2 binaries for Intel and Apple Silicon) and require specific Python versions (3.10–3.15). Active maintenance with a recent release (3 days old) and steady repository activity.
License in practice
MIT license is permissive; you can use, modify, and distribute this package with minimal legal restrictions.
Quickstart
pip install pyobjc-framework-metalperformanceshaders
import MetalPerformanceShaders
# Access MPS classes via the framework binding
macOS only; requires Python 3.10 or later; depends on pyobjc-core and pyobjc-framework-Metal runtime dependencies.
Verify before relying
- Whether the package includes type hints or stubs for IDE support.
- Performance characteristics compared to direct Metal or NumPy for common compute tasks.
- Availability of examples or tutorials beyond Apple's official MPS documentation.
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-Metal |
| Maintenance | actively maintained — 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 656,881/month — #5,484 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyobjc_framework_metalperformanceshaders-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_metalperformanceshaders-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_metalperformanceshaders-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_metalperformanceshaders-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_metalperformanceshaders-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_metalperformanceshaders-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_metalperformanceshaders-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_metalperformanceshaders-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_metalperformanceshaders-12.2.2-cp315-cp315t-macosx_10_15_universal2.whl
Keywords: PyObjC, MetalPerformanceShaders
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
pyobjc-framework-MetalProvides Python bindings to Apple's Metal…
permissive · top 15,000 on PyPI
pyobjc-framework-MetalPerformanceShadersGraphProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-MetalKitProvides Python bindings for Apple's MetalKit…
permissive · top 15,000 on PyPI
pyobjc-framework-MetalFXProvides Python bindings to Apple's MetalFX…
permissive · top 15,000 on PyPI
pyobjc-framework-MLComputeProvides Python bindings to Apple's MLCompute…
permissive · top 15,000 on PyPI
pyobjc-framework-IOSurfaceProvides Python bindings to macOS's IOSurface…
permissive · top 15,000 on PyPI
pyobjc-framework-ModelIOProvides Python bindings to Apple's ModelIO…
permissive · top 15,000 on PyPI
pyobjc-framework-BrowserEngineKitProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
wgpuwgpu-py provides a Python binding to WebGPU, a…
permissive · top 15,000 on PyPI
pyobjc-framework-NetworkProvides Python bindings to Apple's Network…
permissive · top 15,000 on PyPI