# Gratitude Loom — Python dependencies
# Install with:  pip install -r requirements.txt
#
# (On a Raspberry Pi, install these inside a virtual environment.)

Flask==3.0.*              # serves the live web dashboard
requests==2.31.*          # talks to the Groq API (language model + speech)
pygame==2.5.*             # draws the on-device touchscreen UI
gpiozero==2.0.*           # reads the loom's Hall-effect sensors via the Pi's GPIO pins
SpeechRecognition==3.10.* # microphone -> text during the ritual

# ── System programs (NOT pip packages — install with apt) ──
# These are called via the command line by the loom:
#   sudo apt install ffmpeg mpg123 espeak
#     ffmpeg  — converts the TTS audio before playback
#     mpg123  — plays the spoken audio + the singing-bowl chime
#     espeak  — offline fallback voice when the API/network is unavailable
#
# The microphone (SpeechRecognition) also needs PortAudio:
#   sudo apt install python3-pyaudio portaudio19-dev
