21f16e6756
- Split summarizer into summary_generator and summary_persister modules - Refactor pdf_image_extractor to two-phase pipeline with PicoDet layout detection - Add layout_detector service for PicoDet-S_layout_3cls integration - Add exceptions module with ConflictError and NotFoundError - Improve admin dashboard with better statistics and task management - Add design review document with system optimization suggestions - Add new tests for crawler, pdf_downloader, pipeline, and summary_utils - Update dependencies and configuration - Clean up dead code and improve error handling
43 lines
854 B
TOML
43 lines
854 B
TOML
[project]
|
|
name = "hf-daily-papers"
|
|
version = "0.1.0"
|
|
description = "HuggingFace Daily Papers — 中文论文导览站"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"fastapi>=0.115",
|
|
"uvicorn[standard]>=0.34",
|
|
"sqlalchemy>=2.0",
|
|
"httpx[http2]>=0.28",
|
|
"jinja2>=3.1",
|
|
"python-multipart>=0.0.18",
|
|
"pydantic>=2.0",
|
|
"pydantic-settings>=2.0",
|
|
"typer>=0.15",
|
|
"python-dotenv>=1.0",
|
|
"apscheduler>=3.10",
|
|
"chromadb>=1.0",
|
|
"pymupdf>=1.25",
|
|
"itsdangerous>=2.2.0",
|
|
"bleach>=6.4.0",
|
|
"onnxruntime>=1.17",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.24",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["app"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=9.0.3",
|
|
"pytest-asyncio>=1.4.0",
|
|
]
|