skillfed

pyobjc-framework-PhotosUI

Wrappers for the framework PhotosUI on macOS

pyobjc-framework-photosui v12.2.2 656.5K downloads/30d#5,491 on PyPI803
Permissive license MIT Active released

What it is and what it does

pyobjc-framework-photosui is a thin wrapper layer that exposes Apple's PhotosUI framework to Python developers. It sits atop pyobjc-core and pyobjc-framework-Cocoa, translating Objective-C interfaces into Python-callable objects so you can integrate native macOS photo and media picker dialogs into Python applications.

The package provides direct access to PhotosUI classes and methods but does not include its own documentation—you rely on Apple's official PhotosUI docs and PyObjC's general translation guides. It's maintained actively and supports Python 3.10, 3.11, 3.12, 3.13, 3.14, and 3.15, with wheels built for both Intel and ARM macOS architectures.

Use it for:

  • Build a macOS desktop app that lets users pick photos from their library using the native system picker
  • Integrate photo selection into a Python automation script that needs to work with user-selected images
  • Create a tool that accesses PhotosUI features for batch photo operations on macOS
  • Develop a Cocoa-based GUI application in Python that requires native photo picker dialogs

Worth the install?

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

Provides Python bindings to macOS's PhotosUI framework, enabling access to Apple's photo and media picker interfaces from Python code.

Yes, if you are building a macOS application in Python and need native photo picker or media selection UI. Install friction is moderate (macOS-only, requires specific Python versions and compiled dependencies), but maintenance is active and the license is permissive. Not applicable on Windows or Linux.

Install

pyobjc-framework-photosui on PyPI

pip

pip install pyobjc-framework-photosui

uv

uv add pyobjc-framework-photosui

poetry

poetry add pyobjc-framework-photosui

Installing pyobjc-framework-PhotosUI

Before you install

Medium install friction due to platform-specific wheels (macOS only, requires Python 3.10 or later) and compiled dependencies on pyobjc-core and pyobjc-framework-Cocoa. Active maintenance with recent releases.

License in practice

MIT license permits commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install pyobjc-framework-photosui

from PhotosUI import PHPickerViewController
# Use PhotosUI classes via pyobjc-framework-Cocoa integration

Requires macOS 10.9 or later (10.13 for Python 3.12, 10.15 for Python 3.14); Windows and Linux not supported.

Verify before relying

  • Whether PhotosUI bindings cover the full current PhotosUI API surface or a subset
  • Performance characteristics when handling large photo libraries or batch operations
  • Compatibility with non-Intel macOS architectures beyond the universal2 wheels provided

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

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

Keywords: PyObjC, PhotosUI

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 photo pickerphotosui framework pythonpyobjc photosuimacos image selectioncocoa photo ui bindings
macos-nativeobjective-c-bindingsgui-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-IOBluetoothUI

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-IOSurface

Provides Python bindings to macOS's IOSurface…

permissive · top 15,000 on PyPI

pyobjc-framework-Photos

Provides Python bindings to macOS's Photos…

permissive · top 15,000 on PyPI

pyobjc-framework-ContactsUI

Provides Python bindings to macOS's ContactsUI…

permissive · top 15,000 on PyPI

pyobjc-framework-QuickLookThumbnailing

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreHaptics

Provides Python bindings to Apple's CoreHaptics…

permissive · top 15,000 on PyPI

pyobjc-framework-MediaToolbox

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-DiscRecordingUI

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-MediaExtension

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-Social

Provides Python bindings to macOS's Social…

permissive · top 15,000 on PyPI