pyobjc-framework-PhotosUI
Wrappers for the framework PhotosUI on macOS
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-photosuiuv
uv add pyobjc-framework-photosuipoetry
poetry add pyobjc-framework-photosuiInstalling 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
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-IOBluetoothUIProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-IOSurfaceProvides Python bindings to macOS's IOSurface…
permissive · top 15,000 on PyPI
pyobjc-framework-PhotosProvides Python bindings to macOS's Photos…
permissive · top 15,000 on PyPI
pyobjc-framework-ContactsUIProvides Python bindings to macOS's ContactsUI…
permissive · top 15,000 on PyPI
pyobjc-framework-QuickLookThumbnailingProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-CoreHapticsProvides Python bindings to Apple's CoreHaptics…
permissive · top 15,000 on PyPI
pyobjc-framework-MediaToolboxProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-DiscRecordingUIProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-MediaExtensionProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-SocialProvides Python bindings to macOS's Social…
permissive · top 15,000 on PyPI