Skip to content

A project working with the Python Spotipy API to manipulate Spotify data and generate playlists based on user preference.

Notifications You must be signed in to change notification settings

cis3296f22/Spotify-Genres-in-Python

Repository files navigation

Spotify Genre Visualization and Playlist Filtering with Python

This is a program that utilizes the Spotify API to allow a user to enhance their Spotify experience with a focus on genres. The program has two main features. First, a visual representation of the user’s top genres can be created. This visualization will also show a sample of the top songs that belong to each genre. Second, the user can filter a playlist by a specific genre, and then create a new playlist that only features songs of that genre. This means that rock and roll playlists, for instance, can easily be created using existing playlists and/or liked songs by a user. Users will also be able to remove genres from their top if they do not feel that genre fits them.

How to run this program on localhost

  • Click on the latest release Localhost Webapp 1.1
  • Download the source code
  • Open the source code
  • In the terminal, make sure python 3.10 is installed
  • Using the python package manager pip, installed Django and Spotipy using a variation of these commands:
    • py -m pip install spotipy
    • py -m pip install django
  • In the terminal, if you are in the project directory, type py manage.py runserver
  • A browser window will open. Click log in
  • Another tab will open. Copy the url and paste it into the terminal where prompted. Press enter
  • Go back to the browser tab where you clicked log in.

How to build

  • Install Python 3.10
  • Install pip package manager
  • Through pip, install spotipy package and pyinstaller package

About

A project working with the Python Spotipy API to manipulate Spotify data and generate playlists based on user preference.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 5