-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
51 lines (46 loc) · 1.04 KB
/
pyproject.toml
File metadata and controls
51 lines (46 loc) · 1.04 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
[project]
name = "smart-receipt-assistant"
version = "0.2.0"
description = "智能票据报销助手 - PaddleOCR-VL + LangChain + ERINE"
readme = "README.md"
requires-python = ">=3.10,<3.13"
dependencies = [
# LangChain 生态
"langchain>=0.1.0",
"langchain-community>=0.0.1",
"langchain-openai>=0.1.0",
"langchain-paddleocr>=0.1.0",
"langchain-core>=0.1.0",
"langchain-text-splitters>=0.0.1",
# OpenAI 兼容
"openai>=1.0.0",
# HTTP 和数据处理
"requests>=2.31.0",
"pydantic>=2.0.0",
# 环境变量
"python-dotenv>=1.0.0",
# CLI 美化
"rich>=13.0.0",
# 图像处理
"pillow>=10.0.0",
# Web UI
"gradio>=4.0.0",
# Excel 导出
"openpyxl>=3.1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"jupyter>=1.0.0",
]
[project.scripts]
receipt-assistant = "src.main:cli"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[dependency-groups]
dev = [
"pytest>=9.0.2",
]