pyobjc-framework-MetalKit
Wrappers for the framework MetalKit on macOS
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-metalkituv
uv add pyobjc-framework-metalkitpoetry
poetry add pyobjc-framework-metalkitInstalling 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
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-MLComputeProvides Python bindings to Apple's MLCompute…
permissive · top 15,000 on PyPI
pyobjc-framework-MetalPerformanceShadersProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-MetalPerformanceShadersGraphProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-MetalFXProvides Python bindings to Apple's MetalFX…
permissive · top 15,000 on PyPI
pyobjc-framework-ClassKitProvides Python bindings to Apple's ClassKit…
permissive · top 15,000 on PyPI
wgpuwgpu-py provides a Python binding to WebGPU, a…
permissive · top 15,000 on PyPI
metal-sdkPython client library for indexing and querying…
permissive · top 15,000 on PyPI
pyobjc-framework-VisionProvides Python bindings to macOS's Vision…
permissive · top 5,000 on PyPI
pyobjc-framework-ARKitProvides Python bindings for Apple's ARKit…
permissive · top 15,000 on PyPI