Spaces:
No application file
No application file
File size: 2,362 Bytes
c2b0011 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | # ============================================ # 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 |