skillfed

pyobjc-framework-CoreLocation

Wrappers for the framework CoreLocation on macOS

pyobjc-framework-corelocation v12.2.2 703.1K downloads/30d#5,282 on PyPI803
Permissive license MIT Active released

What it is and what it does

This package wraps Apple's CoreLocation framework for Python, allowing macOS applications to query device location, heading, and related geolocation data. It is part of the PyObjC project and provides direct access to Objective-C APIs through Python, enabling developers to build location-aware features on macOS without writing Objective-C directly.

The package depends on pyobjc-core and pyobjc-framework-Cocoa, which handle the Python-to-Objective-C translation layer. It is macOS-only and requires Python 3.10 or later. The project is actively maintained and supports current Python versions through 3.15, including free-threading variants.

Use it for:

  • Build macOS desktop applications that respond to the user's physical location or movement.
  • Integrate geofencing or location-based notifications into native macOS apps.
  • Query device heading and compass data for navigation or orientation-aware features.
  • Develop location-triggered automation or context-aware workflows on macOS.
  • Access raw GPS/location data for scientific or mapping applications on macOS.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Python bindings to macOS's CoreLocation framework, enabling geolocation queries and location-aware application features on macOS.

Yes, if you are building a macOS application that needs geolocation features. The package is actively maintained, has no known vulnerabilities, and offers a clean Python interface to a native macOS capability. Install friction is moderate due to platform specificity and compiled dependencies, but this is unavoidable for macOS framework bindings. Not applicable for non-macOS development.

Install

pyobjc-framework-corelocation on PyPI

pip

pip install pyobjc-framework-corelocation

uv

uv add pyobjc-framework-corelocation

poetry

poetry add pyobjc-framework-corelocation

Installing pyobjc-framework-CoreLocation

Before you install

Medium install friction due to platform-specific wheels (macOS only) and compiled dependencies on pyobjc-core and pyobjc-framework-Cocoa. Active maintenance with a recent release (3 days old) and steady repository activity.

License in practice

MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.

Quickstart

pip install pyobjc-framework-corelocation

from CoreLocation import CLLocationManager

manager = CLLocationManager()

Requires macOS 10.6 or later; wheels are only available for macOS (universal2 architecture). Requires Python 3.10 or later.

Verify before relying

  • Specific CoreLocation APIs exposed and their completeness compared to Apple's framework
  • Whether location permissions handling is documented or requires manual Objective-C knowledge
  • Real-world usage patterns and community adoption beyond download statistics

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 703,115/month — #5,282 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyobjc_framework_corelocation-12.2.2-cp310-cp310-macosx_10_9_universal2.whl; pyobjc_framework_corelocation-12.2.2-cp311-cp311-macosx_10_9_universal2.whl; pyobjc_framework_corelocation-12.2.2-cp312-cp312-macosx_10_13_universal2.whl; pyobjc_framework_corelocation-12.2.2-cp313-cp313-macosx_10_13_universal2.whl; pyobjc_framework_corelocation-12.2.2-cp313-cp313t-macosx_10_13_universal2.whl; pyobjc_framework_corelocation-12.2.2-cp314-cp314-macosx_10_15_universal2.whl; pyobjc_framework_corelocation-12.2.2-cp314-cp314t-macosx_10_15_universal2.whl; pyobjc_framework_corelocation-12.2.2-cp315-cp315-macosx_10_15_universal2.whl; pyobjc_framework_corelocation-12.2.2-cp315-cp315t-macosx_10_15_universal2.whl

Keywords: PyObjC, CoreLocation

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 geolocation pythoncorelocation bindingspython location services macpyobjc corelocationmacos location frameworkgeo-aware applications macospython macos gps location
macos-nativegeolocationpyobjc

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

Provides Python bindings to Apple's MapKit…

permissive · top 15,000 on PyPI

pyobjc-framework-NotificationCenter

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-Network

Provides Python bindings to Apple's Network…

permissive · top 15,000 on PyPI

pyobjc-framework-DeviceDiscoveryExtension

Provides Python bindings for Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-FileProvider

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreSpotlight

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-SafariServices

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-SharedWithYouCore

Provides Python bindings for Apple's…

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