I was inspired to make this program after my friend wanted to separate their liked songs into different vibes so they could shuffle play.
I used the Spotify API to access a users account. To authenticate the account, a browser tab is opened with a sign in page. You can then choose a variable such as energy level or genre, to be created. The source for the songs is then specified, with the program printing out a list of your public playlists. Type the name of a playlist to create the new playlist.
Additionally the “stats” feature takes your saved tracks and gives you information about them. For example, it gives you the average tempo of your songs, and the highest and lowest of Spotify-generated variables which describe the song’s danceability, energy level, loudness, “speehiness” and “liveness”.