Lightweight utilities for ingesting Last.fm-style scrobble CSVs and producing simple music recommendations.
- Ensure
scrobbles_2022.csvandloved_Bobcat4242_2022.csvlive in the repository root (or update paths). - Run the demo:
python dataLoad.pydataLoad.py: CSV ingestion, simple recommender, and an "abandoned songs" detector.scrobbles_2022.csv,loved_Bobcat4242_2022.csv: example input files (user export).Sandbox.py: scratchpad for experiments.
- Python 3.8+
- pandas
Install dependencies:
pip install pandas- Tweak thresholds in
find_abandoned_songs()or add CLI flags. - Replace popularity baseline with collaborative filtering or embeddings for better personalization.
Start a lightweight web UI (Flask) to browse recommendations:
pip install -r requirements.txt
python webapp.py
# then open http://127.0.0.1:5000Or run the Streamlit app (recommended for quick interactive data exploration):
pip install -r requirements.txt
streamlit run streamlit_app.py
# then open http://localhost:8501Personal project.