pyobjc-framework-CoreHaptics
Wrappers for the framework CoreHaptics on macOS
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 on this page — 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
pyobjc-framework-corehaptics on PyPI
pip
pip install pyobjc-framework-corehapticsuv
uv add pyobjc-framework-corehapticspoetry
poetry add pyobjc-framework-corehapticsInstalling 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 the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — pyobjc-core, pyobjc-framework-Cocoa |
| Maintenance | actively maintained — 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 650,045/month — #5,569 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyobjc_framework_corehaptics-12.2.2-py2.py3-none-any.whl
Keywords: PyObjC, CoreHaptics
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-CoreAudioProvides Python bindings to macOS's CoreAudio…
permissive · top 15,000 on PyPI
pyobjc-framework-CoreMIDIProvides Python bindings to macOS's CoreMIDI…
permissive · top 15,000 on PyPI
pyobjc-framework-SharedWithYouCoreProvides Python bindings for Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-PHASEProvides Python bindings to Apple's PHASE…
permissive · top 15,000 on PyPI
pyobjc-framework-PhotosUIProvides Python bindings to macOS's PhotosUI…
permissive · top 15,000 on PyPI
pyobjc-framework-BrowserEngineKitProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-NetworkProvides Python bindings to Apple's Network…
permissive · top 15,000 on PyPI
pyobjc-framework-NotificationCenterProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-MapKitProvides Python bindings to Apple's MapKit…
permissive · top 15,000 on PyPI
pyobjc-framework-CoreMotionProvides Python bindings to macOS's CoreMotion…
permissive · top 15,000 on PyPI