2025-04-07 16:25:55 +08:00
|
|
|
[build-system]
|
|
|
|
|
requires = ["hatchling"]
|
|
|
|
|
build-backend = "hatchling.build"
|
|
|
|
|
|
|
|
|
|
[project]
|
2025-04-17 15:47:06 +08:00
|
|
|
name = "deer-flow"
|
2025-04-07 16:25:55 +08:00
|
|
|
version = "0.1.0"
|
2025-04-17 15:47:06 +08:00
|
|
|
description = "DeerFlow project"
|
2025-04-07 16:25:55 +08:00
|
|
|
readme = "README.md"
|
|
|
|
|
requires-python = ">=3.12"
|
|
|
|
|
dependencies = [
|
|
|
|
|
"httpx>=0.28.1",
|
2025-11-28 22:09:13 +08:00
|
|
|
# LangChain 1.x core packages
|
|
|
|
|
"langchain>=1.0.0",
|
2025-12-27 21:36:17 +08:00
|
|
|
"langchain-core>=1.2.5",
|
2025-04-07 16:25:55 +08:00
|
|
|
"langchain-community>=0.3.19",
|
|
|
|
|
"langchain-experimental>=0.3.4",
|
|
|
|
|
"langchain-openai>=0.3.8",
|
2025-11-28 22:09:13 +08:00
|
|
|
"langchain-text-splitters>=0.3.6",
|
|
|
|
|
# LangGraph
|
2025-04-07 16:25:55 +08:00
|
|
|
"langgraph>=0.3.5",
|
2025-11-28 22:09:13 +08:00
|
|
|
# Other dependencies
|
2025-04-07 16:25:55 +08:00
|
|
|
"readabilipy>=0.3.0",
|
|
|
|
|
"python-dotenv>=1.0.1",
|
|
|
|
|
"socksio>=1.0.0",
|
|
|
|
|
"markdownify>=1.1.0",
|
|
|
|
|
"fastapi>=0.110.0",
|
|
|
|
|
"uvicorn>=0.27.1",
|
|
|
|
|
"sse-starlette>=1.6.5",
|
|
|
|
|
"pandas>=2.2.3",
|
|
|
|
|
"numpy>=2.2.3",
|
|
|
|
|
"yfinance>=0.2.54",
|
|
|
|
|
"litellm>=1.63.11",
|
|
|
|
|
"json-repair>=0.7.0",
|
|
|
|
|
"jinja2>=3.1.3",
|
2025-04-10 11:45:04 +08:00
|
|
|
"duckduckgo-search>=8.0.0",
|
2025-11-28 22:09:13 +08:00
|
|
|
"ddgs>=9.0.0",
|
2025-04-11 11:40:26 +08:00
|
|
|
"inquirerpy>=0.3.4",
|
2025-04-11 15:37:55 +08:00
|
|
|
"arxiv>=2.2.0",
|
2025-07-29 14:04:04 +08:00
|
|
|
"mcp>=1.11.0",
|
2025-05-14 17:06:53 +08:00
|
|
|
"langchain-mcp-adapters>=0.0.9",
|
2025-06-14 13:12:43 +08:00
|
|
|
"langchain-deepseek>=0.1.3",
|
2025-09-13 08:49:05 +08:00
|
|
|
"langchain-google-genai>=2.0.6",
|
2025-07-29 14:58:08 +09:00
|
|
|
"wikipedia>=1.4.0",
|
2025-11-28 22:09:13 +08:00
|
|
|
"langchain-tavily>=0.2.0",
|
2025-08-16 21:03:12 +08:00
|
|
|
"langgraph-checkpoint-mongodb>=0.1.4",
|
|
|
|
|
"langgraph-checkpoint-postgres==2.0.21",
|
2025-09-12 22:20:55 +08:00
|
|
|
"pymilvus>=2.3.0",
|
|
|
|
|
"langchain-milvus>=0.2.1",
|
2025-09-09 22:49:11 +08:00
|
|
|
"psycopg[binary]>=3.2.9",
|
2025-11-11 17:05:00 +05:30
|
|
|
"qdrant-client>=1.15.1",
|
2025-11-28 22:09:13 +08:00
|
|
|
"langchain-qdrant>=0.2.0",
|
2025-04-07 16:25:55 +08:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[project.optional-dependencies]
|
|
|
|
|
dev = [
|
2025-07-12 13:59:02 +08:00
|
|
|
"ruff",
|
2025-05-17 20:29:41 -07:00
|
|
|
"langgraph-cli[inmem]>=0.2.10",
|
2025-04-07 16:25:55 +08:00
|
|
|
]
|
|
|
|
|
test = [
|
|
|
|
|
"pytest>=7.4.0",
|
|
|
|
|
"pytest-cov>=4.1.0",
|
2025-06-12 20:43:32 +08:00
|
|
|
"pytest-asyncio>=1.0.0",
|
2025-09-09 22:49:11 +08:00
|
|
|
"pytest-cov>=6.0.0",
|
|
|
|
|
"asyncpg-stubs>=0.30.2",
|
|
|
|
|
"mongomock>=4.3.0",
|
|
|
|
|
"pytest-postgresql>=7.0.2",
|
2025-04-07 16:25:55 +08:00
|
|
|
]
|
|
|
|
|
|
2025-07-12 14:46:17 +08:00
|
|
|
[tool.uv]
|
|
|
|
|
required-version = ">=0.6.15"
|
|
|
|
|
|
2025-04-07 16:25:55 +08:00
|
|
|
[tool.pytest.ini_options]
|
|
|
|
|
testpaths = ["tests"]
|
|
|
|
|
python_files = ["test_*.py"]
|
|
|
|
|
addopts = "-v --cov=src --cov-report=term-missing"
|
|
|
|
|
filterwarnings = [
|
|
|
|
|
"ignore::DeprecationWarning",
|
|
|
|
|
"ignore::UserWarning",
|
|
|
|
|
]
|
|
|
|
|
|
2025-05-15 23:56:13 +08:00
|
|
|
[tool.coverage.report]
|
|
|
|
|
fail_under = 25
|
|
|
|
|
|
2025-04-07 16:25:55 +08:00
|
|
|
[tool.hatch.build.targets.wheel]
|
|
|
|
|
packages = ["src"]
|
|
|
|
|
|
2025-08-17 22:57:23 +08:00
|
|
|
[tool.ruff]
|
2025-04-07 16:25:55 +08:00
|
|
|
line-length = 88
|
2025-08-17 22:57:23 +08:00
|
|
|
indent-width = 4
|
|
|
|
|
target-version = "py312"
|
|
|
|
|
extend-include = ["*.pyi"]
|
|
|
|
|
|
|
|
|
|
[tool.ruff.format]
|
|
|
|
|
indent-style = "space"
|
|
|
|
|
line-ending = "auto"
|
|
|
|
|
exclude = ['^/build/']
|
2025-09-09 22:49:11 +08:00
|
|
|
|