skillfed

pyobjc-framework-MetalKit

Wrappers for the framework MetalKit on macOS

pyobjc-framework-metalkit v12.2.2 654.8K downloads/30d#5,519 on PyPI803
Permissive license MIT Active released

What it is and what it does

pyobjc-framework-metalkit is a set of Python bindings that wrap Apple's MetalKit framework, allowing macOS developers to access GPU-accelerated graphics and compute capabilities from Python code. It bridges the gap between Python and Objective-C by exposing MetalKit classes and methods through PyObjC's translation layer. The package depends on pyobjc-core, pyobjc-framework-Cocoa, and pyobjc-framework-Metal to function.

The bindings are thin wrappers without bundled documentation—you rely on Apple's official MetalKit documentation and PyObjC's general translation guides to understand how to use the framework. It's actively maintained, supports Python 3.10 through 3.15, and carries no known security vulnerabilities. Installation is limited to macOS platforms with prebuilt wheels for multiple Python versions.

Use it for:

  • Build GPU-accelerated graphics applications on macOS using Python instead of Swift or Objective-C.
  • Prototype Metal compute shaders and GPU algorithms in Python for rapid iteration.
  • Integrate MetalKit rendering into existing PyObjC-based macOS desktop applications.
  • Develop real-time visualization or game-like applications leveraging Metal's performance on Apple hardware.

Worth the install?

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

Provides Python bindings for Apple's MetalKit framework on macOS, enabling GPU-accelerated graphics and compute programming through Objective-C bridge wrappers.

Yes, if you are developing on macOS and need GPU-accelerated graphics or compute from Python. The package is actively maintained, permissively licensed, has no known vulnerabilities, and supports current Python versions. Install only if you are on macOS 10.9 or later; it is not usable on other platforms. Expect to rely heavily on Apple's documentation and PyObjC guides rather than dedicated tutorials.

Install

pyobjc-framework-metalkit on PyPI

pip

pip install pyobjc-framework-metalkit

uv

uv add pyobjc-framework-metalkit

poetry

poetry add pyobjc-framework-metalkit

Installing pyobjc-framework-MetalKit

Before you install

Medium install friction: platform-specific wheels for macOS only (10.9 and later), requires three PyObjC framework dependencies. Actively maintained with recent releases and no known vulnerabilities.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install pyobjc-framework-metalkit

import MetalKit
# Access MetalKit classes through the wrapper
view = MetalKit.MTKView()

macOS only; requires Python 3.10 or later and a Mac with Metal-capable GPU support.

Verify before relying

  • Whether the wrapper covers the full MetalKit API surface or a subset of the framework.
  • Performance overhead of the Python-to-Objective-C bridge for real-time graphics workloads.
  • Availability of example code or tutorials beyond Apple's native documentation.

Package facts

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

Evidence: pyobjc_framework_metalkit-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_metalkit-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_metalkit-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_metalkit-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_metalkit-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_metalkit-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_metalkit-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_metalkit-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_metalkit-12.2.2-cp315-cp315t-macosx_10_15_universal2.whl

Keywords: PyObjC, MetalKit

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

metal graphics python macosgpu programming python applemetalkit python bindingspyobjc metal frameworkmacos gpu compute python
gpu-graphicsmacos-onlyobjective-c-bridge

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

Provides Python bindings to Apple's Metal…

permissive · top 15,000 on PyPI

pyobjc-framework-MLCompute

Provides Python bindings to Apple's MLCompute…

permissive · top 15,000 on PyPI

pyobjc-framework-MetalPerformanceShaders

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-MetalPerformanceShadersGraph

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-MetalFX

Provides Python bindings to Apple's MetalFX…

permissive · top 15,000 on PyPI

pyobjc-framework-ClassKit

Provides Python bindings to Apple's ClassKit…

permissive · top 15,000 on PyPI

wgpu

wgpu-py provides a Python binding to WebGPU, a…

permissive · top 15,000 on PyPI

metal-sdk

Python client library for indexing and querying…

permissive · top 15,000 on PyPI

pyobjc-framework-Vision

Provides Python bindings to macOS's Vision…

permissive · top 5,000 on PyPI

pyobjc-framework-ARKit

Provides Python bindings for Apple's ARKit…

permissive · top 15,000 on PyPI