2025-04-28 22:53:13 +08:00
|
|
|
[project]
|
|
|
|
|
name = "yuxi-know"
|
2025-07-02 02:17:31 +08:00
|
|
|
version = "0.2.0.dev"
|
2025-04-28 22:53:13 +08:00
|
|
|
description = "Add your description here"
|
|
|
|
|
readme = "README.md"
|
|
|
|
|
requires-python = ">=3.11"
|
|
|
|
|
dependencies = [
|
2025-06-27 01:55:04 +08:00
|
|
|
"asyncpg>=0.30.0",
|
2025-10-23 01:39:01 +08:00
|
|
|
"langchain==1.0",
|
2025-07-21 18:18:47 +08:00
|
|
|
"chromadb>=1.0.15",
|
2025-05-20 20:49:50 +08:00
|
|
|
"colorlog>=6.9.0",
|
2025-04-28 22:53:13 +08:00
|
|
|
"dashscope>=1.23.2",
|
|
|
|
|
"docx2txt>=0.9",
|
|
|
|
|
"fastapi>=0.115.12",
|
|
|
|
|
"langchain-community>=0.3.22",
|
2025-05-20 20:49:50 +08:00
|
|
|
"langchain-deepseek>=0.1.3",
|
2025-05-09 23:45:16 +08:00
|
|
|
"langchain-huggingface>=0.2.0",
|
2025-07-22 04:12:55 +08:00
|
|
|
"langchain-mcp-adapters>=0.1.9",
|
2025-04-28 22:53:13 +08:00
|
|
|
"langchain-openai>=0.3.14",
|
2025-06-18 19:07:29 +08:00
|
|
|
"langchain-tavily>=0.2.3",
|
2025-07-26 03:36:54 +08:00
|
|
|
"langchain-text-splitters>=0.3.9",
|
2025-10-23 01:39:01 +08:00
|
|
|
"langgraph==1.0.1",
|
2025-05-16 23:46:25 +08:00
|
|
|
"langgraph-checkpoint-sqlite>=2.0.7",
|
2025-05-26 13:12:17 +08:00
|
|
|
"langgraph-cli[inmem]>=0.1.54",
|
2025-04-28 22:53:13 +08:00
|
|
|
"langsmith>=0.3.37",
|
2025-06-27 01:55:04 +08:00
|
|
|
"lightrag-hku>=1.3.9",
|
2025-04-28 22:53:13 +08:00
|
|
|
"llama-index>=0.12.33",
|
|
|
|
|
"llama-index-readers-file>=0.4.7",
|
2025-07-26 03:36:54 +08:00
|
|
|
"markdownify>=1.1.0",
|
2025-07-22 04:12:55 +08:00
|
|
|
"mcp>=1.12.0",
|
2025-04-28 22:53:13 +08:00
|
|
|
"neo4j>=5.28.1",
|
2025-06-27 01:55:04 +08:00
|
|
|
"networkx>=3.5",
|
2025-04-28 22:53:13 +08:00
|
|
|
"openai>=1.76.0",
|
|
|
|
|
"opencv-python-headless>=4.11.0.86",
|
|
|
|
|
"paddleocr>=2.10.0",
|
2025-05-02 23:56:59 +08:00
|
|
|
"pyjwt>=2.8.0",
|
2025-04-28 22:53:13 +08:00
|
|
|
"pymilvus>=2.5.8",
|
|
|
|
|
"pymupdf>=1.25.5",
|
2025-07-26 03:36:54 +08:00
|
|
|
"python-docx>=1.2.0",
|
2025-04-28 22:53:13 +08:00
|
|
|
"python-dotenv>=1.1.0",
|
2025-05-02 23:56:59 +08:00
|
|
|
"python-jose[cryptography]>=3.4.0",
|
2025-04-28 22:53:13 +08:00
|
|
|
"python-multipart>=0.0.20",
|
|
|
|
|
"pyyaml>=6.0.2",
|
|
|
|
|
"rapidocr-onnxruntime>=1.4.4",
|
|
|
|
|
"tavily-python>=0.7.0",
|
2025-05-07 00:38:33 +08:00
|
|
|
"unstructured>=0.17.2",
|
2025-04-28 22:53:13 +08:00
|
|
|
"uvicorn[standard]>=0.34.2",
|
2025-07-27 02:56:50 +08:00
|
|
|
"httpx>=0.27.0",
|
|
|
|
|
"tqdm>=4.66.4",
|
|
|
|
|
"rich>=13.7.1",
|
|
|
|
|
"typer>=0.16.0",
|
2025-07-27 12:04:44 +08:00
|
|
|
"mineru[core]>=2.1.6",
|
2025-07-29 00:29:41 +08:00
|
|
|
"tabulate>=0.9.0",
|
2025-09-02 14:00:06 +08:00
|
|
|
"minio>=7.2.7",
|
|
|
|
|
"Pillow>=10.5.0",
|
2025-09-16 15:23:18 +08:00
|
|
|
"pymysql>=1.1.0",
|
2025-09-19 01:10:20 +08:00
|
|
|
"tenacity>=8.0.0",
|
2025-09-21 13:33:09 +08:00
|
|
|
"pypinyin>=0.55.0",
|
2025-10-22 11:51:32 +08:00
|
|
|
"tomli",
|
|
|
|
|
"tomli-w",
|
2025-04-28 22:53:13 +08:00
|
|
|
]
|
2025-05-23 15:30:14 +08:00
|
|
|
[tool.ruff]
|
2025-09-01 22:37:03 +08:00
|
|
|
line-length = 120 # 代码最大行宽
|
2025-05-24 11:29:45 +08:00
|
|
|
lint.select = [ # 选择的规则
|
2025-05-23 15:30:14 +08:00
|
|
|
"F",
|
|
|
|
|
"E",
|
|
|
|
|
"W",
|
|
|
|
|
"UP",
|
|
|
|
|
]
|
2025-06-25 02:12:01 +08:00
|
|
|
|
2025-09-20 22:53:37 +08:00
|
|
|
[tool.pytest.ini_options]
|
|
|
|
|
addopts = "-v --tb=short"
|
|
|
|
|
testpaths = ["test"]
|
|
|
|
|
markers = [
|
|
|
|
|
"auth: marks tests that require authentication",
|
|
|
|
|
"slow: marks tests as slow",
|
|
|
|
|
"integration: marks tests as integration tests"
|
|
|
|
|
]
|
|
|
|
|
asyncio_mode = "auto"
|
|
|
|
|
asyncio_default_fixture_loop_scope = "function"
|
|
|
|
|
|
|
|
|
|
|
2025-06-25 02:12:01 +08:00
|
|
|
[dependency-groups]
|
|
|
|
|
dev = [
|
2025-07-02 02:38:36 +08:00
|
|
|
"ruff>=0.12.1",
|
2025-06-25 02:12:01 +08:00
|
|
|
]
|
2025-09-20 22:53:37 +08:00
|
|
|
test = [
|
|
|
|
|
"pytest>=8.0.0",
|
|
|
|
|
"pytest-asyncio>=0.24.0",
|
|
|
|
|
"pytest-httpx>=0.32.0",
|
|
|
|
|
"pytest-cov>=6.0.0",
|
|
|
|
|
]
|