# CropPilot Backend — install: pip install -r requirements.txt # From the backend/ directory (so `app.main:app` resolves). # --- Core Web Framework --- fastapi>=0.110.0,<0.112.0 uvicorn[standard]>=0.29.0,<0.31.0 # --- Environment & Config --- python-dotenv>=1.0.0,<2.0.0 # --- AI & ML --- google-generativeai>=0.5.0,<0.7.0 # --- Data & Image Processing --- Pillow>=10.0.0,<11.0.0 python-multipart>=0.0.9 numpy>=1.24.0,<2.0.0 pandas>=2.0.0,<3.0.0 xgboost>=2.0.0,<4.0.0 # --- HTTP & Scraping --- httpx>=0.27.0,<0.28.0 beautifulsoup4>=4.12.0,<5.0.0 requests>=2.31.0,<3.0.0 # --- Data Validation --- pydantic>=2.0.0,<3.0.0 # --- Utilities --- python-dateutil>=2.8.0,<3.0.0 # --- Testing --- pytest>=7.0.0,<8.0.0 # --- Google Cloud (STT/TTS API clients; set GOOGLE_APPLICATION_CREDENTIALS to use) --- google-cloud-texttospeech>=2.16.0,<3.0.0 google-cloud-speech>=2.26.0,<3.0.0 # --- Lightweight speech helpers (no GCP credentials required) --- gTTS>=2.5.1,<3.0.0 SpeechRecognition>=3.10.0,<4.0.0 # PyAudio is optional (microphone input). It needs PortAudio headers on Linux. # Install with: pip install -r requirements-audio.txt # (after: sudo apt-get install -y portaudio19-dev build-essential on Debian/Ubuntu)