The Data Package is obtained by requesting it from the bottom of your Spotify Account Privacy page.
You will receive a zip by email.
Place the zip in the same directory as main.py for it to be read from.
There seems to exist many similar tools tho... so why?
Most of these tools are online with feature restrictions;
you cannot see certain statistics unless you pay.
That's lame, and you could be skeptical about what they do with your data.
Offline analysis with open source programs like this provides the maximum privacy :)
Ok, but i think there are other projects with the exact same purpose...
yeah well ok allow it, im just bored
go use theirs its prolly better
name is a mashup of "Statistics for Spotify in Python"
I will gradually add features... whenever I feel like it... could take years... or centuries...
for now, run main.py to well... run it!
WSL ist dafür nicht nötig. Der einfachste Weg ist direkt unter Windows:
-
Python installieren
Lade Python von python.org herunter und installiere es.
Wichtig: Beim Installer "Add python.exe to PATH" anhaken. -
Projektordner in der Konsole öffnen
Öffne PowerShell oder CMD und wechsle in den Ordner mit diesem Repo:cd C:\Pfad\zu\statipy
-
Virtuelle Python-Umgebung anlegen (empfohlen)
python -m venv .venv .\.venv\Scripts\activate -
Benötigte Bibliothek installieren
pip install matplotlib
-
Spotify Data Package ZIP in den Projektordner legen
Die ZIP-Datei muss im selben Ordner liegen wiemain.py. -
Programm starten
python main.py
Wenn python nicht gefunden wird, prüfe mit python --version, ob die Installation geklappt hat.
-
Python installieren (falls nötig)
Prüfe zuerst:python3 --version
Falls nicht vorhanden, installiere Python z. B. über python.org.
-
Projektordner im Terminal öffnen
cd /Pfad/zu/statipy -
Virtuelle Python-Umgebung anlegen (empfohlen)
python3 -m venv .venv source .venv/bin/activate -
Benötigte Bibliothek installieren
pip install matplotlib
-
Spotify Data Package ZIP in den Projektordner legen
Die ZIP-Datei muss im selben Ordner liegen wiemain.py. -
Programm starten
python3 main.py
Wenn du lieber in Linux arbeitest, kannst du alternativ WSL verwenden.
Dafür gilt dann dieselbe Reihenfolge mit python3, z. B.:
python3 -m venv .venv, pip install matplotlib, python3 main.py.