skillfed

pyobjc-framework-MediaLibrary

Wrappers for the framework MediaLibrary on macOS

pyobjc-framework-medialibrary v12.2.2 650.2K downloads/30d#5,567 on PyPI803
Permissive license MIT Active released

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

uv

uv add pyobjc-framework-medialibrary

poetry

poetry add pyobjc-framework-medialibrary

Installing 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

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 media library pythonpyobjc media frameworkmacos medialibrary bindingsobjective-c media access pythonmacos cocoa media library
macos-nativeobjective-c-bindings

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

Provides Python bindings for the macOS…

permissive · top 15,000 on PyPI

pyobjc-framework-AVKit

Provides Python bindings to macOS's AVKit…

permissive · top 15,000 on PyPI

appnope

Disables App Nap on macOS >= 10.9 to prevent…

permissive · top 5,000 on PyPI

pyobjc-framework-MediaPlayer

Provides Python bindings to macOS's MediaPlayer…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreMedia

Provides Python bindings to macOS's CoreMedia…

permissive · top 15,000 on PyPI

pyobjc-framework-Social

Provides Python bindings to macOS's Social…

permissive · top 15,000 on PyPI

pyobjc-framework-Photos

Provides Python bindings to macOS's Photos…

permissive · top 15,000 on PyPI

pyobjc-framework-MediaExtension

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-GameController

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-ColorSync

Provides Python bindings to macOS's ColorSync…

permissive · top 15,000 on PyPI