Penny_V2.2 / requirements.txt
pythonprincess's picture
Upload requirements.txt
9f1f75f verified
# ============================================
# 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