SpotifyStats is an application designed to analyze your Spotify listening habits and generate insightful reports. Discover what is the song you hate the most, how much time you spend listening to each artist, and explore other cool features. In the output/ directory you can find an example report !
- Total Listening Time: Get the total duration of your listening activity.
- Top Songs: Identify your most played songs.
- Top Artists: Discover your favorite artists.
- Top Albums: See which albums you listen to the most.
- Listening Time of Day: Analyze what time of day you listen to music the most.
- Most Skipped Songs: Find out which songs you skip the most.
- PDF Report: Generate a detailed PDF report of your listening habits.
- More to Come: Stay tuned for additional features and insights.
- src/: Contains all the code necessary for the application to run.
- output/: Contains all the data analysis generated by the application, presented in a PDF report.
- data/: Contains data to run the analysis.
-
Clone the repository:
git clone https://github.com/yourusername/SpotifyStats.git cd SpotifyStats
-
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required dependencies:
pip install -r requirements.txt
-
Place your Spotify data files in the
data/
directory, the data should be .json files from the spotify extended streaming history. -
Run the main routine to generate the analysis and report:
python src/main.py
-
The generated PDF report will be available in the
output/
directory.
Here are some examples of the data and insights you can get from SpotifyStats:
- Total Listening Time: See how much time you spend listening to music.
- Top Songs: Identify your most played songs.
- Top Artists: Discover your favorite artists.
- Top Albums: See which albums you listen to the most.
- Listening Time of Day: Analyze what time of day you listen to music the most.
- Most Skipped Songs: Find out which songs you skip the most.
And much more to come ! Don't hesitate to tell me your best data ideas !
This project is licensed under the GLP V3.0 License - see the LICENSE file for details.
Enjoy analyzing your Spotify data with SpotifyStats!