-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrequirements.txt
More file actions
96 lines (84 loc) · 5.25 KB
/
requirements.txt
File metadata and controls
96 lines (84 loc) · 5.25 KB
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
# =============================================================================
# Air Quality Agent - Production Requirements
# Python 3.10+ compatible
# Last updated: December 31, 2025
# =============================================================================
# -----------------------------------------------------------------------------
# Core Web Framework
# -----------------------------------------------------------------------------
fastapi==0.115.6 # Modern async web framework
uvicorn[standard]==0.32.1 # ASGI server with WebSocket support
starlette==0.40.0 # FastAPI dependency
pydantic==2.10.3 # Data validation (includes pydantic-core)
annotated-types==0.7.0 # Type annotations support
# -----------------------------------------------------------------------------
# AI & LLM Providers
# -----------------------------------------------------------------------------
openai==2.14.0 # OpenAI GPT models (latest as of Dec 2024)
anthropic==0.39.0 # Claude models
google-genai==1.57.0 # Gemini models (new Google AI SDK)
google-auth==2.47.0 # Explicit pin to keep google-genai auth deps stable
ollama==0.6.1 # Local LLM support (updated for httpx 0.28+)
dashscope==1.25.7 # Alibaba Cloud DashScope/Qwen models with web search
# LangChain Framework - Memory & RAG (Python 3.13 compatible)
langchain>=1.2.0 # LangChain core framework
langchain-openai>=1.1.0 # OpenAI integration for LangChain
langchain-community>=0.4.0 # Community integrations
langsmith>=0.6.0 # LangSmith tracing and monitoring
faiss-cpu>=1.13.0 # Vector search for RAG (CPU version)
# -----------------------------------------------------------------------------
# Model Context Protocol (MCP)
# -----------------------------------------------------------------------------
mcp==1.2.0 # MCP server/client implementation
httpx==0.28.1 # Async HTTP client
httpx-sse==0.4.0 # Server-sent events support
tenacity==9.0.0 # Retry logic for resilient operations
# -----------------------------------------------------------------------------
# Database & Caching
# -----------------------------------------------------------------------------
sqlalchemy==2.0.36 # SQL toolkit and ORM
psycopg2-binary==2.9.10 # PostgreSQL adapter
redis==7.1.0 # Redis client for caching (supports Redis 7.x-8.x)
aiofiles==24.1.0 # Async file operations
# -----------------------------------------------------------------------------
# Configuration & Environment
# -----------------------------------------------------------------------------
python-dotenv==1.0.1 # Load environment variables
pydantic-settings==2.10.1 # Settings management
# -----------------------------------------------------------------------------
# Token Counting & Cost Management
# -----------------------------------------------------------------------------
tiktoken==0.8.0 # Accurate token counting for LLMs
# -----------------------------------------------------------------------------
# Web Scraping & Data Extraction
# -----------------------------------------------------------------------------
requests==2.32.5 # HTTP library
beautifulsoup4==4.12.3 # HTML/XML parsing
lxml>=6.0.0 # XML/HTML parser (updated for ddgs compatibility)
trafilatura==2.0.0 # Web content extraction
duckduckgo-search==7.1.0 # DuckDuckGo search API
# -----------------------------------------------------------------------------
# Document Processing
# -----------------------------------------------------------------------------
PyPDF2==3.0.1 # PDF reading and manipulation
python-multipart==0.0.20 # Form data parsing
pandas==2.2.3 # Data analysis (CSV/Excel support)
openpyxl==3.1.5 # Excel file support (.xlsx)
xlrd==2.0.1 # Excel file support (.xls)
tabula-py==2.9.3 # PDF table extraction (requires Java)
# -----------------------------------------------------------------------------
# Data Visualization
# -----------------------------------------------------------------------------
matplotlib==3.8.2 # Static plotting library
seaborn==0.13.0 # Statistical data visualization
plotly==5.18.0 # Interactive charts and graphs
kaleido==0.2.1 # Static image export from Plotly
# -----------------------------------------------------------------------------
# Security & Rate Limiting
# -----------------------------------------------------------------------------
slowapi==0.1.9 # Rate limiting for FastAPI
psutil==7.0.0 # System and process monitoring
# -----------------------------------------------------------------------------
black==25.12.0 # Code formatter
ruff==0.9.0 # Fast Python linter
isort==5.13.2 # Import sorting