38 lines
719 B
Plaintext
38 lines
719 B
Plaintext
|
|
# FastAPI
|
||
|
|
fastapi>=0.115.0
|
||
|
|
uvicorn[standard]>=0.30.0
|
||
|
|
python-multipart>=0.0.9
|
||
|
|
|
||
|
|
# Database - SQLite (默认), PostgreSQL 可选
|
||
|
|
sqlalchemy>=2.0.0
|
||
|
|
alembic>=1.13.0
|
||
|
|
# asyncpg>=0.29.0 # PostgreSQL 异步驱动(生产环境使用)
|
||
|
|
# psycopg2-binary>=2.9.9 # PostgreSQL 同步驱动
|
||
|
|
|
||
|
|
# Pydantic
|
||
|
|
pydantic>=2.0.0
|
||
|
|
pydantic-settings>=2.0.0
|
||
|
|
|
||
|
|
# Redis - 可选,用于缓存/队列(开发环境可省略)
|
||
|
|
# redis>=5.0.0
|
||
|
|
|
||
|
|
# File Processing
|
||
|
|
pdfplumber>=0.10.4
|
||
|
|
python-docx>=1.1.0
|
||
|
|
openpyxl>=3.1.2
|
||
|
|
pandas>=2.2.0
|
||
|
|
ebooklib>=0.5
|
||
|
|
PyMuPDF>=1.24.0
|
||
|
|
|
||
|
|
# LLM & Text
|
||
|
|
langchain>=0.3.0
|
||
|
|
langchain-community>=0.2.0
|
||
|
|
langchain-openai>=0.1.0
|
||
|
|
tiktoken>=0.7.0
|
||
|
|
python-dotenv>=1.0.0
|
||
|
|
|
||
|
|
# Utils
|
||
|
|
python-dateutil>=2.8.2
|
||
|
|
httpx>=0.27.0
|
||
|
|
aiofiles>=23.2.1
|