Introduction
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
Metadata
Release files for pietunes 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pietunes-0.0.5.tar.gz | 17.5 kB | Without provenance | Details for pietunes-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pietunes-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for pietunes-0.0.5-py3-none-any.whl |
Total release size: 38.3 kB
Release files / pietunes-0.0.5.tar.gz
| Download URL | pietunes-0.0.5.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6090656e4530b22cfb04e7bc48264a373a8278a65f557b7cf06fa56e25ec5a69
|
|
BLAKE2b-256 checksum How to use checksums |
f8885471b2a85350cf12168fd4bf0fe305ee207cd2c958895a4f5c5fc442e766
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pietunes-0.0.5-py3-none-any.whl
| Download URL | pietunes-0.0.5-py3-none-any.whl |
|---|---|
| Size | 20.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3464a3af6aa9f315b3028199a0b9720ca491a0568f7c818d51c2c29ca6131e50
|
|
BLAKE2b-256 checksum How to use checksums |
779d2f4de39a8c9e2e34cebe10e5d2750739b231e9a670f14ae87ee4562b2a63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for pietunes 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.