compliance/requirements_fastapi.txt
2025-08-19 14:44:57 +08:00

35 lines
622 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# FastAPI版本的额外依赖
# 在原有requirements.txt基础上添加以下依赖
# FastAPI核心
fastapi>=0.104.0
uvicorn[standard]>=0.24.0
# 数据验证和序列化
pydantic>=2.5.0
# CORS支持
python-multipart>=0.0.6
# 异步支持
aiofiles>=23.0.0
# 可选:性能优化
orjson>=3.9.0 # 更快的JSON序列化
# 可选:生产部署
gunicorn>=21.0.0 # WSGI服务器如果需要
# 原有依赖从requirements.txt复制
Flask>=2.0.0
Werkzeug>=2.0.0
requests>=2.25.0
PyYAML>=6.0
jsonschema>=4.0.0
pydantic>=1.8.0
openai>=0.27.0
Flask-Cors>=4.0.0
reportlab>=3.6.0
Pillow>=8.0.0
urllib3>=1.26.0