Converts a Spotify export ZIP file into a SQLite database. Current version 0.2.1, released Jun 2023. Low activity, maintained as needed.
pip install spotify-to-sqliteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage via subprocess; CLI converts export to database.
Use the `convert` subcommand: `spotify-to-sqlite convert <input> <output>`
To overwrite an existing database, use `--recreate`.
Set environment variables SPOTIPY_CLIENT_ID and SPOTIPY_CLIENT_SECRET before running with `--audio-features`.
Upgrade to spotify-to-sqlite>=0.2 with `pip install --upgrade spotify-to-sqlite`.
Verify the ZIP file path and ensure it's a valid Spotify data export.
Set environment variables: SPOTIPY_CLIENT_ID='your_id' SPOTIPY_CLIENT_SECRET='your_secret'.