It generates a random playlist with the musics you have saved in your library.
$ SPOTIPY_CLIENT_ID='YOUR_CLIENT_ID' SPOTIPY_CLIENT_SECRET='YOUR_CLIENT_SECRET' SPOTIPY_REDIRECT_URI='YOUR_REDIRECT_URI' python spg.py username [playlistName] [tracksCount]
See License file