File size: 1,298 Bytes
4343907
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# SAAP Backend Requirements
# Python 3.10+

# FastAPI Framework
fastapi==0.109.0
uvicorn[standard]==0.27.0
python-multipart==0.0.6

# Pydantic for data validation (Python 3.13 compatible)
pydantic==2.10.3  # Updated for Python 3.13 compatibility
pydantic-settings==2.6.1  # Updated to match pydantic version

# Database (Python 3.13 compatible)
sqlalchemy==2.0.36  # Updated for Python 3.13 compatibility
alembic==1.14.0  # Updated to match SQLAlchemy version
aiosqlite==0.20.0  # Async SQLite driver (REQUIRED for async database operations)
greenlet>=3.0.0  # Required for SQLAlchemy async operations
psycopg2-binary==2.9.9  # PostgreSQL driver (works in Docker with Debian base)
asyncpg==0.30.0  # Async PostgreSQL driver (Python 3.13 compatible)
# Note: Using both psycopg2 (sync) and asyncpg (async) for PostgreSQL compatibility

# HTTP Clients
httpx==0.26.0
aiohttp==3.9.1
requests==2.31.0

# WebSocket
websockets==12.0
python-socketio==5.11.0

# Redis (required for agent coordination)
redis==5.0.1

# Environment Variables
python-dotenv==1.0.0

# Async Support
asyncio==3.4.3

# Logging
colorlog==6.8.2

# Date/Time
python-dateutil==2.8.2

# JSON
orjson==3.9.12

# CORS (handled by FastAPI's built-in CORSMiddleware)
# No separate package needed - use fastapi.middleware.cors.CORSMiddleware