A library to aid in automating iTunes via ScriptingBridge.
PieTunes is a Python library that creates an abstraction of Apple’s Scripting Bridge API for iTunes. This makes it much easier to write Python scripts (or full python applications) that interact with iTunes and the iTunes Store.
- There are some caveats:
- Create a modern, stable Python library with a clearly-defined API
- Provide as close to 100% Test Coverage as possible 
- Provide clear documentation with full coverage of the API and example code.
Install and update using pip:
pip install -U pietunes
A Simple Example
from pietunes import App app = App() movie_playlist = app.get_playlist("Movies") movies = list(app.get_tracks(movie_playlist)) for movie in movies: print(movie.name())
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size pietunes-0.0.5-py3-none-any.whl (20.9 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size pietunes-0.0.5.tar.gz (17.5 kB)||File type Source||Python version None||Upload date||Hashes View|