Checks a playlist's tracks for their BPM (beats per minute).
- Clone the repository, and go to the root directory of the project.
- Create a virtual environment:
python -m venv .venv # or use specific version of python, e.g. python3.12- Activate the virtual environment:
source .venv/bin/activate # or .venv/Scripts/activate on Windows- Install
poetrywith pip:
pip install poetry- Go to the
appdirectory and install dependencies with poetry:
cd app
poetry install- Create a .env file in the root directory and add the following:
CLIENT_ID=<ask Marcus>
CLIENT_SECRET=<ask Marcus>cd app # If not already in the app directory
export PYTHONPATH=.
python <python_file_to_run>
# e.g.
python src/bpm_feature.py