skillfed

pyobjc-framework-CoreMotion

Wrappers for the framework CoreMotion on macOS

pyobjc-framework-coremotion v12.2.2 655.7K downloads/30d#5,509 on PyPI803
Permissive license MIT Active released

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

uv

uv add pyobjc-framework-coremotion

poetry

poetry add pyobjc-framework-coremotion

Installing 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

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

macos motion sensor accessaccelerometer gyroscope pythoncoremotion framework bindingsdevice motion data pythonpyobjc coremotion wrapper
macos-onlysensor-datapyobjc-framework

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

Provides Python bindings for Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-MapKit

Provides Python bindings to Apple's MapKit…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreHaptics

Provides Python bindings to Apple's CoreHaptics…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreMIDI

Provides Python bindings to macOS's CoreMIDI…

permissive · top 15,000 on PyPI

pyobjc-framework-FSKit

Provides Python bindings to macOS's FSKit…

permissive · top 15,000 on PyPI

pyobjc-framework-Network

Provides Python bindings to Apple's Network…

permissive · top 15,000 on PyPI

pyobjc-framework-NotificationCenter

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreMedia

Provides Python bindings to macOS's CoreMedia…

permissive · top 15,000 on PyPI

pyobjc-framework-SharedWithYouCore

Provides Python bindings for Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-ImageCaptureCore

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI