--- id: pyobjc-framework-metalperformanceshaders version: "12.2.2" license: MIT license_treatment: permissive maintenance: active --- # pyobjc-framework-MetalPerformanceShaders — Wrappers for the framework MetalPerformanceShaders on macOS License: permissive · Maintenance: active · Downloads: 656.9K/mo ## 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 above — 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 pip install pyobjc-framework-metalperformanceshaders uv add pyobjc-framework-metalperformanceshaders poetry add pyobjc-framework-metalperformanceshaders ## Installing 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_current - Install friction: medium - Maintenance: active - Downloads: 656.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags metal performance shaders python, gpu acceleration macos, apple metal framework bindings, metalperformanceshaders wrapper, macos gpu compute python, gpu-acceleration, macos-only, metal-framework [View on SkillFed](https://skillfed.io/packages/pyobjc-framework-metalperformanceshaders) · [View on PyPI](https://pypi.org/project/pyobjc-framework-metalperformanceshaders/)