pyproject.toml
1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "fw-pms-ai"
version = "0.1.0"
description = "AI 补货建议系统 - 基于 LangChain + LangGraph"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
authors = [
{ name = "FeeWee", email = "dev@feewee.cn" }
]
dependencies = [
# LangChain 生态
"langchain>=0.3.0",
"langgraph>=0.2.0",
"langchain-core>=0.3.0",
# LLM 集成
"zhipuai>=2.0.0",
# 定时任务
"apscheduler>=3.10.0",
# 数据库
"mysql-connector-python>=8.0.0",
"sqlalchemy>=2.0.0",
# 配置管理
"pydantic>=2.0.0",
"pydantic-settings>=2.0.0",
"python-dotenv>=1.0.0",
# 工具库
"httpx>=0.25.0",
"tenacity>=8.0.0",
# Web API
"fastapi>=0.109.0",
"uvicorn[standard]>=0.27.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"ruff>=0.1.0",
]
[project.scripts]
fw-pms-ai = "fw_pms_ai.main:main"
[tool.hatch.build.targets.wheel]
packages = ["src/fw_pms_ai"]
[tool.black]
line-length = 100
target-version = ["py311"]
[tool.ruff]
line-length = 100
target-version = "py311"