Skip to content

GustavoHSD/spotify-cli-dashboard

Repository files navigation

Spotify CLI Dashboard

Dashboard Image

Overview

This project features a command-line interface (CLI) dashboard designed to display some insights extracted from a Spotify dataframe. The process involves cleaning the dataframe using PySpark, as demonstrated in the Jupyter notebook. The filtered dataframe is then utilized to visualize compelling information through the dashboard.

The dashboard is implemented in Python and leverages the "rich" library, enabling the creation and styling of layouts and texts within the terminal. Additionally, graph plotting libraries are employed to enhance the visualization of data.

Process

  1. Data Cleaning: The initial step involves cleaning the Spotify dataframe using PySpark. Refer to the accompanying Jupyter notebook for a detailed walkthrough of the cleaning process.

  2. Dashboard Creation: The core of the project is a CLI dashboard designed in Python. The "rich" library is utilized to craft visually appealing layouts and texts within the terminal. This includes the incorporation of graph plotting libraries to present insightful visualizations.

How to Run

To execute the project, follow these steps:

  1. Install Dependencies: Make sure to install the required dependencies by running:

    pip install -r requirements.txt
    
  2. Run the Jupyter Notebook: Execute the Jupyter notebook to perform data cleaning on the Spotify dataframe.

  3. Run the CLI Dashboard: Run the Python script responsible for generating the CLI dashboard. Ensure that the necessary libraries and dependencies are installed.

    python cli-dashboard/app.py
    

Notes

  1. I recommend creating python virtual environment to run the script.
  2. Works best with green on black terminal theme.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published