skillfed

pyobjc-framework-iTunesLibrary

Wrappers for the framework iTunesLibrary on macOS

pyobjc-framework-ituneslibrary v12.2.2 649.6K downloads/30d#5,573 on PyPI803
Permissive license MIT Active released

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

uv

uv add pyobjc-framework-ituneslibrary

poetry

poetry add pyobjc-framework-ituneslibrary

Installing 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

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

itunes library python macospyobjc itunes bindingsmacos music library accessobjective-c itunes wrapperpython itunes frameworkmacos cocoa itunes
macos-nativeobjective-c-binding

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

Provides Python bindings to macOS's CoreMIDI…

permissive · top 15,000 on PyPI

pyobjc-framework-Network

Provides Python bindings to Apple's Network…

permissive · top 15,000 on PyPI

pyobjc-framework-ShazamKit

Provides Python bindings to macOS's ShazamKit…

permissive · top 15,000 on PyPI

pyobjc-framework-FileProvider

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-MediaExtension

Provides Python bindings to Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-SafariServices

Provides Python bindings to macOS's…

permissive · top 15,000 on PyPI

pyobjc-framework-Photos

Provides Python bindings to macOS's Photos…

permissive · top 15,000 on PyPI

pyobjc-framework-SharedWithYouCore

Provides Python bindings for Apple's…

permissive · top 15,000 on PyPI

pyobjc-framework-ClassKit

Provides Python bindings to Apple's ClassKit…

permissive · top 15,000 on PyPI

pyobjc-framework-CoreAudio

Provides Python bindings to macOS's CoreAudio…

permissive · top 15,000 on PyPI