pyobjc-framework-MediaPlayer
Wrappers for the framework MediaPlayer on macOS
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-mediaplayeruv
uv add pyobjc-framework-mediaplayerpoetry
poetry add pyobjc-framework-mediaplayerInstalling 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
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-AVKitProvides Python bindings to macOS's AVKit…
permissive · top 15,000 on PyPI
pyobjc-framework-DVDPlaybackProvides Python bindings to macOS's DVDPlayback…
permissive · top 15,000 on PyPI
pyobjc-framework-CoreMediaProvides Python bindings to macOS's CoreMedia…
permissive · top 15,000 on PyPI
pyobjc-framework-CoreMediaIOProvides Python bindings to Apple's CoreMediaIO…
permissive · top 15,000 on PyPI
pyobjc-framework-MediaExtensionProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-MediaLibraryProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
python-vlcPython ctypes-based bindings to libvlc that let…
copyleft · top 15,000 on PyPI
pyobjc-framework-AVFoundationProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-MediaToolboxProvides Python bindings to Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-AVRoutingProvides Python bindings to Apple's AVRouting…
permissive · top 15,000 on PyPI