A library to aid in automating iTunes via ScriptingBridge.
Project description
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:
Objectives
Create a modern, stable Python library with a clearly-defined API
Provide as close to 100% Test Coverage as possible [2]
Provide clear documentation with full coverage of the API and example code.
Installing
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())
Links
Website: https://pypi.org/project/pietunes/
Documentation: https://brianfarrell.gitlab.io/pietunes/
Releases: https://pypi.org/project/pietunes/
Issue tracker:
Test status:
Test coverage:
Footnotes
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pietunes-0.0.5.tar.gz
.
File metadata
- Download URL: pietunes-0.0.5.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6090656e4530b22cfb04e7bc48264a373a8278a65f557b7cf06fa56e25ec5a69 |
|
MD5 | 1c06a1ee1e7869658a9df1d1ccbd54ac |
|
BLAKE2b-256 | f8885471b2a85350cf12168fd4bf0fe305ee207cd2c958895a4f5c5fc442e766 |
File details
Details for the file pietunes-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: pietunes-0.0.5-py3-none-any.whl
- Upload date:
- Size: 20.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3464a3af6aa9f315b3028199a0b9720ca491a0568f7c818d51c2c29ca6131e50 |
|
MD5 | fbc7165bc734720882a565c453bab186 |
|
BLAKE2b-256 | 779d2f4de39a8c9e2e34cebe10e5d2750739b231e9a670f14ae87ee4562b2a63 |