Refactor requirements.txt to update and organize dependencies

This commit is contained in:
warrenchen 2026-01-28 06:17:12 +00:00
parent 31f61b5122
commit 0000f19d5e

View File

@ -1,50 +1,41 @@
# Root requirements.txt for development environment # Root requirements.txt for development environment
# Core FastAPI dependencies (fixed versions for compatibility) # Core FastAPI dependencies (fixed versions for compatibility)
fastapi==0.104.1 fastapi==0.104.1
uvicorn[standard]==0.24.0 uvicorn[standard]==0.24.0
pydantic==2.12.3 pydantic==2.12.3
# HTTP client for API calls # HTTP client for API calls
httpx httpx
# File handling # File handling
python-multipart python-multipart
pyzipper
# Model processing dependencies
onnx # Model processing dependencies
onnxruntime onnx
onnxoptimizer onnxruntime
tf2onnx onnxoptimizer
tflite2onnx tf2onnx
keras2onnx tflite2onnx
onnxsim; python_version < "3.12" keras2onnx
onnx-tf onnxsim; python_version < "3.12"
onnx2torch onnx-tf
onnx2torch
# Image processing
Pillow # Image processing
opencv-python Pillow
opencv-python
# Data analysis (for BIE service)
numpy<2 # Data analysis (for BIE service)
scipy numpy
matplotlib scipy
seaborn matplotlib
seaborn
# Utilities
onnx-tool # Utilities
adjustText python-dotenv
IPython
tabulate # Development dependencies
beautifulsoup4 pytest
commentjson pytest-asyncio
dict_recursive_update
snoop
docopt
blinker
python-dotenv
# Development dependencies
pytest
pytest-asyncio