skillfed

pyobjc-framework-MediaPlayer

Wrappers for the framework MediaPlayer on macOS

pyobjc-framework-mediaplayer v12.2.2 661.6K downloads/30d#5,446 on PyPI803
Permissive license MIT Active released

What it is and what it does

This package is a PyObjC wrapper that exposes Apple's MediaPlayer framework to Python developers on macOS. It allows you to interact with media player controls, media item selection, and playback interfaces from Python code by bridging to the underlying Objective-C framework.

The wrapper itself contains no documentation—you rely on Apple's official MediaPlayer framework documentation combined with PyObjC's general translation guides to understand how to use each class and method. It's part of the larger PyObjC project and requires pyobjc-core and pyobjc-framework-AVFoundation as runtime dependencies. The package is actively maintained, supports Python 3.10 through 3.15, and carries no known security vulnerabilities.

Use it for:

  • Build native macOS applications that need to control media playback or present media selection interfaces
  • Integrate media player functionality into Python-based macOS desktop tools or automation scripts
  • Create custom media player UIs on macOS by wrapping MediaPlayer framework components
  • Develop macOS audio or video management utilities that interact with system media controls

Worth the install?

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

Provides Python bindings to macOS's MediaPlayer framework, enabling programmatic control of media playback and player interface elements on macOS.

Yes, if you are developing on macOS and need to control media playback or media selection from Python. The package is actively maintained, has no security issues, and uses a permissive license. The main constraint is platform specificity—it only works on macOS—and you will need to cross-reference Apple's framework documentation to use it effectively.

Install

pyobjc-framework-mediaplayer on PyPI

pip

pip install pyobjc-framework-mediaplayer

uv

uv add pyobjc-framework-mediaplayer

poetry

poetry add pyobjc-framework-mediaplayer

Installing pyobjc-framework-MediaPlayer

Before you install

Low install friction with a pure-wheel distribution. Actively maintained with a release 3 days ago and recent repository activity. Depends on pyobjc-core and pyobjc-framework-AVFoundation, both part of the same PyObjC ecosystem.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it suitable for most projects.

Quickstart

pip install pyobjc-framework-mediaplayer

from MediaPlayer import MPMediaPickerController
# Use MediaPlayer framework classes via PyObjC bindings

Requires macOS; only works on Apple platforms. Requires Python 3.10 or later.

Verify before relying

  • Specific MediaPlayer framework capabilities exposed by this wrapper version
  • Whether free-threading support (indicated in classifiers) is fully functional

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 2 — pyobjc-core, pyobjc-framework-AVFoundation
Maintenance actively maintained — 3 days since the last release
Last repo commit
First released
Downloads 661,644/month — #5,446 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyobjc_framework_mediaplayer-12.2.2-py2.py3-none-any.whl

Keywords: PyObjC, MediaPlayer

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 player controlpython mediaplayer frameworkpyobjc media playbackmacos audio video controlobjective-c media bindingsmacos cocoa media playerpython mediaplayer wrapper
macos-onlyobjective-c-bridgemedia-control

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

Provides Python bindings to macOS's AVKit…

permissive · top 15,000 on PyPI

pyobjc-framework-DVDPlayback

Provides Python bindings to macOS's DVDPlayback…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreMedia

Provides Python bindings to macOS's CoreMedia…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreMediaIO

Provides Python bindings to Apple's CoreMediaIO…

permissive · top 15,000 on PyPI

pyobjc-framework-MediaExtension

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-MediaLibrary

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

python-vlc

Python ctypes-based bindings to libvlc that let…

copyleft · top 15,000 on PyPI

pyobjc-framework-AVFoundation

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-MediaToolbox

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-AVRouting

Provides Python bindings to Apple's AVRouting…

permissive · top 15,000 on PyPI