Puts a Spotify playlist in DJ-set order. The set starts easy and gets more danceable as it goes. On top of that rise there is a wave: a few easier tracks, then a few more danceable ones, and so on. Within that shape the script picks neighbours with close BPM, compatible keys and no artist twice in a row, which leaves Spotify's Mix transitions less to fix.
It needs Python 3.8 or newer and uses only the standard library, so there is nothing to install.
- Export the playlist to CSV at exportify.app. If Exportify offers Include audio features data, turn it on.
- Run: