pyobjc-framework-iTunesLibrary
Wrappers for the framework iTunesLibrary on macOS
What it is and what it does
This package wraps Apple's iTunesLibrary framework for use from Python, allowing macOS developers to interact with iTunes library data programmatically. It is part of the PyObjC project and provides direct access to Objective-C framework classes and methods translated into Python.
The package requires a signed application bundle to function and does not include its own documentation—users must consult Apple's framework documentation and PyObjC's general translation guides. It supports Python 3.10 through 3.15 and is actively maintained, with recent releases and ongoing development.
Use it for:
- Build macOS applications that read or query iTunes library metadata and playlists
- Automate iTunes library operations from Python scripts on macOS systems
- Integrate iTunes library access into larger macOS desktop applications using PyObjC
- Access music library information programmatically without relying on iTunes UI automation
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to macOS's iTunesLibrary framework, enabling programmatic access to iTunes library data from Python code running on macOS.
Yes, if you are developing on macOS and need programmatic access to the iTunesLibrary framework. The package is actively maintained, has no known vulnerabilities, and carries a permissive license. Install friction is low. However, you must be prepared to consult Apple's framework documentation and understand PyObjC's Python-to-Objective-C translation model, and your application must be signed.
Install
pyobjc-framework-ituneslibrary on PyPI
pip
pip install pyobjc-framework-ituneslibraryuv
uv add pyobjc-framework-ituneslibrarypoetry
poetry add pyobjc-framework-ituneslibraryInstalling pyobjc-framework-iTunesLibrary
Before you install
Low install friction; depends on pyobjc-core and pyobjc-framework-Cocoa. Actively maintained with a release 3 days ago and recent commits.
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install pyobjc-framework-ituneslibrary
from iTunesLibrary import ITLibrary
# Access the iTunes library
library = ITLibrary.libraryWithITunesMediaFolder_(None)
Requires macOS; application must be signed; requires Python 3.10 or later
Verify before relying
- Whether the iTunesLibrary framework is available on all supported macOS versions or only recent ones
- Whether the signed application bundle requirement applies to all use cases or only certain operations
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-Cocoa |
| Maintenance | actively maintained — 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 649,597/month — #5,573 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyobjc_framework_ituneslibrary-12.2.2-py2.py3-none-any.whl
Keywords: PyObjC, iTunesLibrary
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-CoreMIDIProvides Python bindings to macOS's CoreMIDI…
permissive · top 15,000 on PyPI
pyobjc-framework-NetworkProvides Python bindings to Apple's Network…
permissive · top 15,000 on PyPI
pyobjc-framework-ShazamKitProvides Python bindings to macOS's ShazamKit…
permissive · top 15,000 on PyPI
pyobjc-framework-FileProviderProvides 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-SafariServicesProvides Python bindings to macOS's…
permissive · top 15,000 on PyPI
pyobjc-framework-PhotosProvides Python bindings to macOS's Photos…
permissive · top 15,000 on PyPI
pyobjc-framework-SharedWithYouCoreProvides Python bindings for Apple's…
permissive · top 15,000 on PyPI
pyobjc-framework-ClassKitProvides Python bindings to Apple's ClassKit…
permissive · top 15,000 on PyPI
pyobjc-framework-CoreAudioProvides Python bindings to macOS's CoreAudio…
permissive · top 15,000 on PyPI