pyobjc-framework-MediaLibrary
Wrappers for the framework MediaLibrary on macOS
What it is and what it does
This package wraps Apple's MediaLibrary framework for use in Python on macOS. It is part of the larger PyObjC project, which bridges Objective-C and Python, allowing developers to call native macOS frameworks directly from Python code. The MediaLibrary framework provides access to media library functionality on macOS systems running 10.9 or later.
To use this package, you import the framework bindings and call the underlying Objective-C methods through Python. The package itself does not include documentation; instead, you reference Apple's official MediaLibrary documentation alongside PyObjC's general translation guidelines. It requires pyobjc-core and two other PyObjC framework packages (Cocoa and Quartz) as runtime dependencies, and it supports Python 3.10 through 3.15.
Use it for:
- Access media library metadata and content from a Python application running on macOS.
- Build macOS desktop tools that need to query or interact with the system's media library.
- Integrate media library functionality into cross-framework PyObjC applications.
- Automate media-related tasks on macOS by calling native framework methods from Python.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to macOS's MediaLibrary framework, enabling programmatic access to media library functionality on macOS 10.9 and later.
Yes, if you are developing on macOS and need programmatic access to the MediaLibrary framework. The package is actively maintained, has no known vulnerabilities, and carries a permissive MIT license. Install friction is low. The main constraint is that it only works on macOS and requires Python 3.10 or later; you will also need to consult Apple's documentation to understand the underlying framework APIs.
Install
pyobjc-framework-medialibrary on PyPI
pip
pip install pyobjc-framework-medialibraryuv
uv add pyobjc-framework-medialibrarypoetry
poetry add pyobjc-framework-medialibraryInstalling pyobjc-framework-MediaLibrary
Before you install
Low install friction with a pure-wheel distribution. Actively maintained as part of the PyObjC project, with a recent release and ongoing repository activity.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install pyobjc-framework-medialibrary
from MediaLibrary import MLMediaLibrary
# Call MediaLibrary framework methods via the Python binding
Requires macOS 10.9 or later and Python 3.10+; only runs on macOS.
Verify before relying
- Whether the MediaLibrary framework APIs are stable across all supported macOS versions and Python 3.10–3.15.
- Whether free-threading mode (Python 3.13+) is fully tested with this framework wrapper.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — pyobjc-core, pyobjc-framework-Cocoa, pyobjc-framework-Quartz |
| Maintenance | actively maintained — 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 650,215/month — #5,567 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyobjc_framework_medialibrary-12.2.2-py2.py3-none-any.whl
Keywords: PyObjC, MediaLibrary
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-MediaAccessibilityProvides Python bindings for the macOS…
permissive · top 15,000 on PyPI
pyobjc-framework-AVKitProvides Python bindings to macOS's AVKit…
permissive · top 15,000 on PyPI
appnopeDisables App Nap on macOS >= 10.9 to prevent…
permissive · top 5,000 on PyPI
pyobjc-framework-MediaPlayerProvides Python bindings to macOS's MediaPlayer…
permissive · top 15,000 on PyPI
pyobjc-framework-CoreMediaProvides Python bindings to macOS's CoreMedia…
permissive · top 15,000 on PyPI
pyobjc-framework-SocialProvides Python bindings to macOS's Social…
permissive · top 15,000 on PyPI
pyobjc-framework-PhotosProvides Python bindings to macOS's Photos…
permissive · top 15,000 on PyPI
pyobjc-framework-MediaExtensionProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-GameControllerProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-ColorSyncProvides Python bindings to macOS's ColorSync…
permissive · top 15,000 on PyPI