requirements.txt 748 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # FastAPI核心
  2. fastapi==0.104.1
  3. uvicorn[standard]==0.24.0
  4. gunicorn==21.2.0
  5. python-multipart==0.0.6
  6. pydantic==2.5.0
  7. pydantic-settings==2.1.0
  8. # 数据库
  9. sqlalchemy==2.0.23
  10. alembic==1.13.0
  11. asyncpg==0.29.0
  12. psycopg2-binary==2.9.9
  13. # Redis
  14. redis==5.0.1
  15. hiredis==2.2.3
  16. # Celery任务队列
  17. celery==5.3.4
  18. # 认证与安全
  19. python-jose[cryptography]==3.3.0
  20. passlib[bcrypt]==1.7.4
  21. python-dotenv==1.0.0
  22. cryptography==41.0.7
  23. # AI平台SDK
  24. openai==1.3.7
  25. anthropic==0.7.7
  26. dashscope==1.14.1 # 阿里通义千问
  27. erniebot==0.2.1 # 百度文心一言
  28. # 工具库
  29. httpx==0.25.2
  30. python-dateutil==2.8.2
  31. pytz==2023.3
  32. # 推送服务
  33. firebase-admin==6.3.0
  34. # 监控日志
  35. loguru==0.7.2
  36. prometheus-client==0.19.0
  37. # 测试
  38. pytest==7.4.3
  39. pytest-asyncio==0.21.1