19 lines
470 B
Plaintext
Executable File
19 lines
470 B
Plaintext
Executable File
# requirements.txt
|
||
|
||
# pip install -r requirements.txt
|
||
|
||
fastapi # 检查最新版本以使用最新的功能和修复
|
||
pydantic # 数据验证和设置管理
|
||
asyncpg # 一个快速、纯Python编写的异步PostgreSQL数据库客户端
|
||
sqlalchemy # SQLAlchemy支持ORM(可选,如果需要使用ORM)
|
||
python-multipart
|
||
uvicorn[standard]
|
||
psycopg2-binary
|
||
passlib
|
||
pyJWT
|
||
alembic#数据库迁移
|
||
#fastapi-utils==0.7.1
|
||
# 用于测试
|
||
#pytest==7.1.1
|
||
#pytest-asyncio==0.18.1
|