--- id: pyobjc-framework-corehaptics version: "12.2.2" license: MIT license_treatment: permissive maintenance: active --- # pyobjc-framework-CoreHaptics — Wrappers for the framework CoreHaptics on macOS License: permissive · Maintenance: active · Downloads: 650.0K/mo ## What it is and what it does This package wraps Apple's CoreHaptics framework, making it accessible from Python on macOS. CoreHaptics is the system framework for controlling haptic feedback on compatible Apple devices—primarily MacBook trackpads and other hardware with haptic motors. The wrapper translates between Python and Objective-C, allowing you to create and play haptic patterns programmatically. The package is part of PyObjC and does not include its own documentation; instead, you rely on Apple's CoreHaptics documentation for framework concepts and PyObjC's general documentation for Python-to-Objective-C translation patterns. It depends on pyobjc-core and pyobjc-framework-Cocoa, and requires Python 3.10 or later on macOS. Use it for: - Add haptic feedback to macOS applications when users interact with UI elements or receive notifications. - Create immersive gaming experiences on MacBook trackpads by triggering haptic patterns during gameplay. - Build accessibility features that provide tactile feedback for users who benefit from haptic cues. - Prototype or test haptic patterns for macOS applications without writing Objective-C directly. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides Python bindings to Apple's CoreHaptics framework on macOS, enabling haptic feedback control from Python code. Yes, if you are developing on macOS and need to control haptic feedback from Python. The package is actively maintained, has no known vulnerabilities, and installs with low friction. The main caveat is that you must consult Apple's CoreHaptics documentation separately, as this wrapper provides bindings only, not a high-level Python API. ## Install pip install pyobjc-framework-corehaptics uv add pyobjc-framework-corehaptics poetry add pyobjc-framework-corehaptics ## Installing pyobjc-framework-CoreHaptics Before you install: Low friction installation as a pure-Python wheel. Actively maintained with a release 3 days old and recent commits; part of the larger PyObjC ecosystem with 803 repository stars. License in practice: MIT license permits unrestricted use, modification, and distribution with minimal restrictions. Quickstart: pip install pyobjc-framework-corehaptics from CoreHaptics import CHHapticEngine # Requires macOS 10.15+ and a compatible device; consult Apple's CoreHaptics documentation for pattern creation and playback. macOS 10.15 or later required; CoreHaptics is not available on other operating systems. Requires Python 3.10 or later. Verify before relying: - Whether CoreHaptics API coverage is complete or if some framework features remain unbound. - Whether haptic pattern complexity or timing precision meets real-world application requirements. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 650.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags macos haptic feedback python, corehaptics python bindings, pyobjc haptics, macos vibration control, python haptic engine, macos-only, hardware-control [View on SkillFed](https://skillfed.io/packages/pyobjc-framework-corehaptics) · [View on PyPI](https://pypi.org/project/pyobjc-framework-corehaptics/)