pyobjc-framework-CoreMotion
Wrappers for the framework CoreMotion on macOS
What it is and what it does
This package wraps Apple's CoreMotion framework for use in Python, allowing developers to access motion and activity sensor data on macOS. It is part of the PyObjC project, which provides a bridge between Python and Objective-C frameworks on Apple platforms. The wrapper does not include its own documentation; users must consult Apple's CoreMotion documentation alongside PyObjC's general translation guides to understand how to use the framework from Python.
The package depends on pyobjc-core and pyobjc-framework-Cocoa and is available only as pre-built wheels for macOS. It supports Python 3.10 through 3.15, including free-threading builds for Python 3.13+. Installation is straightforward on supported platforms, and the project is actively maintained with recent releases.
Use it for:
- Build macOS applications that respond to device motion, such as gesture recognition or tilt-based controls.
- Collect accelerometer and gyroscope data from a Mac for research or fitness tracking applications.
- Detect user activity (walking, running, stationary) on macOS for context-aware application behavior.
- Develop accessibility tools that adapt to user motion or activity patterns on macOS.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to macOS's CoreMotion framework, enabling access to motion and activity data from device sensors like accelerometers and gyroscopes.
Yes, if you are developing on macOS and need native access to motion sensors. The package is actively maintained, has no known vulnerabilities, and carries a permissive license. Install friction is moderate due to platform specificity and Python version constraints, but pre-built wheels minimize setup complexity. Not applicable on non-macOS systems.
Install
pyobjc-framework-coremotion on PyPI
pip
pip install pyobjc-framework-coremotionuv
uv add pyobjc-framework-coremotionpoetry
poetry add pyobjc-framework-coremotionInstalling pyobjc-framework-CoreMotion
Before you install
Medium install friction: platform-specific wheels for macOS only (Python 3.10–3.15, including free-threading variants). Requires pyobjc-core and pyobjc-framework-Cocoa. Active maintenance with a recent release (3 days old) and steady repository activity.
License in practice
MIT license is permissive; no restrictions on commercial or proprietary use, modification, or redistribution provided the license and copyright notice are retained.
Quickstart
pip install pyobjc-framework-coremotion
from CoreMotion import CMMotionManager
manager = CMMotionManager()
macOS only; requires Python 3.10 or later and a compatible macOS version (10.9+ for most wheels, 10.13+ for Python 3.12+, 10.15+ for Python 3.14+).
Verify before relying
- Specific CoreMotion capabilities exposed (e.g., which motion sensors, data types, or APIs are wrapped).
- Whether the wrapper covers the full CoreMotion API surface or a subset.
- Real-world performance or latency characteristics for sensor data collection.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 2 — pyobjc-core, pyobjc-framework-Cocoa |
| Maintenance | actively maintained — 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 655,736/month — #5,509 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyobjc_framework_coremotion-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_coremotion-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_coremotion-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_coremotion-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_coremotion-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_coremotion-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_coremotion-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_coremotion-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_coremotion-12.2.2-cp315-cp315t-macosx_10_15_universal2.whl
Keywords: PyObjC, CoreMotion
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-DeviceDiscoveryExtensionProvides Python bindings for Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-MapKitProvides Python bindings to Apple's MapKit…
permissive · top 15,000 on PyPI
pyobjc-framework-CoreHapticsProvides Python bindings to Apple's CoreHaptics…
permissive · top 15,000 on PyPI
pyobjc-framework-CoreMIDIProvides Python bindings to macOS's CoreMIDI…
permissive · top 15,000 on PyPI
pyobjc-framework-FSKitProvides Python bindings to macOS's FSKit…
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-CoreMediaProvides Python bindings to macOS's CoreMedia…
permissive · top 15,000 on PyPI
pyobjc-framework-SharedWithYouCoreProvides Python bindings for Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-ImageCaptureCoreProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI