File size: 2,809 Bytes
9f1f75f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# ============================================
# PENNY Project - Azure ML 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

# ============================================
# Gradio UI Framework (Hugging Face Spaces)
# ============================================
gradio==4.44.0

# ============================================
# Configuration & Environment
# ============================================
python-dotenv==1.0.1

# ============================================
# Azure SDK & Cloud Integration
# ============================================
azure-identity==1.15.0
azure-keyvault-secrets==4.7.0
azure-storage-blob==12.19.0
azure-ai-ml==1.14.0

# ============================================
# HTTP & API Clients
# ============================================
requests==2.31.0
aiohttp==3.9.3

# ============================================
# Machine Learning & NLP (ZeroGPU Compatible)
# ============================================
# Core ML framework (ZeroGPU compatible - flexible versioning)
torch>=2.0.0,<2.4.0
transformers==4.38.2
sentencepiece==0.2.0
tokenizers==0.15.2

# Model acceleration for ZeroGPU
accelerate==0.27.2
spaces

# 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

# Azure Application Insights integration
opencensus-ext-azure==1.1.13
opencensus-ext-logging==0.1.1

# ============================================
# 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

# ============================================
# Production Server Optimization
# ============================================
gunicorn==21.2.0  # Alternative to uvicorn for production