Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.71 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.71 KB

Spotify recommendation project

Just a simple machine learning project to create a new playlist on Spotify according to similarity to favorite songs

Remember to create .env at the root of the project which contains:

SPOTIPY_CLIENT_ID=<CLIENT_ID>
SPOTIPY_CLIENT_SECRET=<CLIENT_SECRET>

Using

Based on

(Future) usage

# log in using environment variables / browser?
sr login

# analyse a playlist, show plots, numbers, fancy stuff
sr analyse <source-playlist>

# generate a new playlist with recommendations based on a source playlist
# Analyses the playlist if it hasn't been done
# `--visualize` shows the figures and analytics from `sr analyse`
sr generate <source-playlist> <new-playlist>

# improves a playlist with tracks from `sr generate`
# `--force` bypasses the confirmation 
# `--backup=true` creates a backup of the source playlist
sr improve <source-playlist>