--- id: pyobjc-framework-metal version: "12.2.2" license: MIT license_treatment: permissive maintenance: active --- # pyobjc-framework-Metal — Wrappers for the framework Metal on macOS License: permissive · Maintenance: active · Downloads: 693.6K/mo ## What it is and what it does pyobjc-framework-metal is a Python wrapper around Apple's Metal graphics and compute framework, part of the larger PyObjC project that bridges Python and Objective-C. It allows Python developers on macOS to access Metal's low-level GPU APIs for graphics rendering, compute shaders, and hardware acceleration without dropping to C or Objective-C. The package is a thin binding layer—it does not provide high-level abstractions or documentation of its own, instead exposing Metal's native API surface directly. Users must consult Apple's Metal documentation to understand the framework's capabilities and PyObjC's documentation for Python-to-Objective-C translation patterns. It depends on pyobjc-core and pyobjc-framework-Cocoa, and runs only on macOS with Python 3.10 or later. Use it for: - Build GPU-accelerated graphics applications on macOS using Metal's native rendering pipeline from Python. - Implement compute shaders and parallel algorithms that run on the GPU via Metal's compute API. - Prototype or integrate Metal-based graphics features into existing Python applications on macOS. - Access hardware-specific GPU capabilities and performance optimizations available only through Metal. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides Python bindings to Apple's Metal graphics framework on macOS, enabling low-level GPU programming and graphics acceleration from Python. Yes, if you are developing on macOS and need direct access to Metal's GPU capabilities from Python. The package is actively maintained, has no known vulnerabilities, and carries a permissive license. Install friction is moderate due to platform specificity and dependency chain, but wheels are available for current Python versions. Not applicable on Windows or Linux. ## Install pip install pyobjc-framework-metal uv add pyobjc-framework-metal poetry add pyobjc-framework-metal ## Installing pyobjc-framework-Metal Before you install: Medium install friction: platform-specific wheels for macOS only (universal2 binaries across Python 3.10–3.15), requires pyobjc-core and pyobjc-framework-Cocoa as runtime dependencies. Active maintenance with recent releases (3 days old as of fact sheet date). License in practice: MIT license (permissive): you may use, modify, and distribute this package freely in commercial and private projects, with minimal restrictions. Quickstart: pip install pyobjc-framework-metal import Metal device = Metal.MTLCreateSystemDefaultDevice() command_queue = device.newCommandQueue() macOS only; requires Python 3.10 or later; Metal framework is a native macOS feature with no Windows or Linux equivalent. Verify before relying: - Whether pre-built wheels cover all intended macOS versions and architectures beyond those listed in the fact sheet. - Performance characteristics and typical use patterns for GPU workloads via this binding layer. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 693.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags metal framework python bindings, gpu programming macos python, metal graphics acceleration, pyobjc metal wrapper, macos gpu compute python, metal api python bindings, low-level graphics macos, gpu-graphics, macos-native, pyobjc [View on SkillFed](https://skillfed.io/packages/pyobjc-framework-metal) · [View on PyPI](https://pypi.org/project/pyobjc-framework-metal/)