Spaces:
Paused
Paused
Upload requirements.txt
Browse files- requirements.txt +98 -0
requirements.txt
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ============================================
|
| 2 |
+
# PENNY Project - Azure ML Production Dependencies
|
| 3 |
+
# Civic Engagement AI - Python 3.10+
|
| 4 |
+
# ============================================
|
| 5 |
+
|
| 6 |
+
# ============================================
|
| 7 |
+
# FastAPI Core & Web Framework
|
| 8 |
+
# ============================================
|
| 9 |
+
fastapi==0.111.0
|
| 10 |
+
uvicorn[standard]==0.29.0
|
| 11 |
+
httpx==0.27.0
|
| 12 |
+
python-multipart==0.0.9
|
| 13 |
+
pydantic==2.6.4
|
| 14 |
+
pydantic-settings==2.2.1
|
| 15 |
+
|
| 16 |
+
# ============================================
|
| 17 |
+
# Gradio UI Framework (Hugging Face Spaces)
|
| 18 |
+
# ============================================
|
| 19 |
+
gradio==4.44.0
|
| 20 |
+
|
| 21 |
+
# ============================================
|
| 22 |
+
# Configuration & Environment
|
| 23 |
+
# ============================================
|
| 24 |
+
python-dotenv==1.0.1
|
| 25 |
+
|
| 26 |
+
# ============================================
|
| 27 |
+
# Azure SDK & Cloud Integration
|
| 28 |
+
# ============================================
|
| 29 |
+
azure-identity==1.15.0
|
| 30 |
+
azure-keyvault-secrets==4.7.0
|
| 31 |
+
azure-storage-blob==12.19.0
|
| 32 |
+
azure-ai-ml==1.14.0
|
| 33 |
+
|
| 34 |
+
# ============================================
|
| 35 |
+
# HTTP & API Clients
|
| 36 |
+
# ============================================
|
| 37 |
+
requests==2.31.0
|
| 38 |
+
aiohttp==3.9.3
|
| 39 |
+
|
| 40 |
+
# ============================================
|
| 41 |
+
# Machine Learning & NLP (ZeroGPU Compatible)
|
| 42 |
+
# ============================================
|
| 43 |
+
# Core ML framework (ZeroGPU compatible - flexible versioning)
|
| 44 |
+
torch>=2.0.0,<2.4.0
|
| 45 |
+
transformers==4.38.2
|
| 46 |
+
sentencepiece==0.2.0
|
| 47 |
+
tokenizers==0.15.2
|
| 48 |
+
|
| 49 |
+
# Model acceleration for ZeroGPU
|
| 50 |
+
accelerate==0.27.2
|
| 51 |
+
spaces
|
| 52 |
+
|
| 53 |
+
# Scientific computing
|
| 54 |
+
numpy==1.26.4
|
| 55 |
+
scipy==1.12.0
|
| 56 |
+
|
| 57 |
+
# ============================================
|
| 58 |
+
# Data Processing & Validation
|
| 59 |
+
# ============================================
|
| 60 |
+
pandas==2.2.1
|
| 61 |
+
jsonschema==4.21.1
|
| 62 |
+
|
| 63 |
+
# ============================================
|
| 64 |
+
# Logging & Monitoring
|
| 65 |
+
# ============================================
|
| 66 |
+
python-json-logger==2.0.7
|
| 67 |
+
structlog==24.1.0
|
| 68 |
+
|
| 69 |
+
# Azure Application Insights integration
|
| 70 |
+
opencensus-ext-azure==1.1.13
|
| 71 |
+
opencensus-ext-logging==0.1.1
|
| 72 |
+
|
| 73 |
+
# ============================================
|
| 74 |
+
# Date/Time Handling
|
| 75 |
+
# ============================================
|
| 76 |
+
python-dateutil==2.9.0
|
| 77 |
+
pytz==2024.1
|
| 78 |
+
|
| 79 |
+
# ============================================
|
| 80 |
+
# Security & Cryptography
|
| 81 |
+
# ============================================
|
| 82 |
+
cryptography==42.0.5
|
| 83 |
+
|
| 84 |
+
# ============================================
|
| 85 |
+
# Testing & Development (optional - install separately for dev)
|
| 86 |
+
# ============================================
|
| 87 |
+
# pytest==8.1.1
|
| 88 |
+
# pytest-asyncio==0.23.5
|
| 89 |
+
# pytest-cov==4.1.0
|
| 90 |
+
# httpx==0.27.0 # Already included above
|
| 91 |
+
# black==24.3.0
|
| 92 |
+
# flake8==7.0.0
|
| 93 |
+
# mypy==1.9.0
|
| 94 |
+
|
| 95 |
+
# ============================================
|
| 96 |
+
# Production Server Optimization
|
| 97 |
+
# ============================================
|
| 98 |
+
gunicorn==21.2.0 # Alternative to uvicorn for production
|