# ============================================ # PENNY Project - Production Dependencies # Civic Engagement AI - Python 3.10+ # ============================================ # ============================================ # FastAPI Core & Web Framework # ============================================ fastapi==0.111.0 uvicorn[standard]==0.29.0 httpx==0.27.0 python-multipart==0.0.9 pydantic==2.6.4 pydantic-settings==2.2.1 # ============================================ # Configuration & Environment # ============================================ python-dotenv==1.0.1 # ============================================ # HTTP & API Clients # ============================================ requests==2.31.0 aiohttp==3.9.3 # ============================================ # Machine Learning & NLP (Optimized for Production) # ============================================ # Core ML framework torch==2.2.1 transformers==4.38.2 sentencepiece==0.2.0 tokenizers==0.15.2 # Model acceleration (only if GPU available) accelerate==0.27.2 # Scientific computing numpy==1.26.4 scipy==1.12.0 # ============================================ # Data Processing & Validation # ============================================ pandas==2.2.1 jsonschema==4.21.1 # ============================================ # Logging & Monitoring # ============================================ python-json-logger==2.0.7 structlog==24.1.0 # ============================================ # Date/Time Handling # ============================================ python-dateutil==2.9.0 pytz==2024.1 # ============================================ # Security & Cryptography # ============================================ cryptography==42.0.5 # ============================================ # Testing & Development (optional - install separately for dev) # ============================================ # pytest==8.1.1 # pytest-asyncio==0.23.5 # pytest-cov==4.1.0 # httpx==0.27.0 # Already included above # black==24.3.0 # flake8==7.0.0 # mypy==1.9.0 # ============================================ # Gradio UI Framework (Hugging Face Spaces) # ============================================ # Updated to latest 4.x version for compatibility and new features # Minimum version 4.44.0 for current code compatibility gradio>=4.44.0,<5.0.0