Fix API compatibility and add user/role/permission and asset import/export
This commit is contained in:
49
backend/requirements.txt
Normal file
49
backend/requirements.txt
Normal file
@@ -0,0 +1,49 @@
|
||||
# FastAPI核心
|
||||
fastapi==0.104.1
|
||||
uvicorn[standard]==0.24.0
|
||||
python-multipart==0.0.6
|
||||
|
||||
# 数据库
|
||||
sqlalchemy==2.0.23
|
||||
asyncpg==0.29.0
|
||||
alembic==1.12.1
|
||||
psycopg2-binary==2.9.9
|
||||
|
||||
# Redis
|
||||
redis==5.0.1
|
||||
hiredis==2.2.3
|
||||
|
||||
# 认证和安全
|
||||
python-jose[cryptography]==3.3.0
|
||||
passlib[bcrypt]==1.7.4
|
||||
bcrypt==4.1.1
|
||||
pydantic[email]==2.5.0
|
||||
python-dotenv==1.0.0
|
||||
|
||||
# 工具库
|
||||
pydantic==2.5.0
|
||||
pydantic-settings==2.1.0
|
||||
qrcode==7.4.2
|
||||
pillow==10.1.0
|
||||
openpyxl==3.1.2
|
||||
pandas==2.1.3
|
||||
openpyxl==3.1.2
|
||||
|
||||
# HTTP客户端
|
||||
httpx==0.25.2
|
||||
aiofiles==23.2.1
|
||||
|
||||
# 日志
|
||||
loguru==0.7.2
|
||||
|
||||
# 测试
|
||||
pytest==7.4.3
|
||||
pytest-asyncio==0.21.1
|
||||
pytest-cov==4.1.0
|
||||
httpx==0.25.2
|
||||
|
||||
# 开发工具
|
||||
black==23.12.0
|
||||
flake8==6.1.0
|
||||
mypy==1.7.1
|
||||
isort==5.12.0
|
||||
Reference in New Issue
Block a user