-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (67 loc) · 1.6 KB
/
pyproject.toml
File metadata and controls
81 lines (67 loc) · 1.6 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[project]
name = "gmail-ai-processor"
version = "0.1.0"
description = "AI-powered Gmail processor with MiniMax integration"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
# CLI and configuration
"typer>=0.12.0",
"pydantic>=2.0.0",
"pydantic-settings>=2.0.0",
"python-dotenv>=1.0.0",
# Gmail API
"google-api-python-client>=2.100.0",
"google-auth-httplib2>=0.2.0",
"google-auth-oauthlib>=1.0.0",
# Email parsing
"beautifulsoup4>=4.12.0",
"lxml>=4.9.0",
"premailer>=3.10.0",
# PDF generation
"playwright>=1.40.0",
"weasyprint>=60.0",
# Attachment processing
"pymupdf>=1.23.0",
"pdfplumber>=0.10.0",
"pytesseract>=0.3.10",
"pillow>=10.0.0",
"python-docx>=1.1.0",
"openpyxl>=3.1.0",
"python-magic>=0.4.27",
# AI/LLM
"openai>=1.0.0",
"anthropic>=0.20.0",
# Terminal output
"rich>=13.0.0",
# Utilities
"aiofiles>=23.0.0",
"tenacity>=8.2.0",
]
[project.optional-dependencies]
dev = [
"ruff>=0.1.0",
"black>=23.0.0",
"mypy>=1.0.0",
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
]
[project.scripts]
gmail-processor = "gmail_processor.main:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/gmail_processor"]
[tool.black]
line-length = 100
target-version = ['py310']
[tool.ruff]
line-length = 100
select = ["E", "F", "I", "N", "W", "UP", "B", "C4"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.10"
strict = true
warn_return_any = true
warn_unused_configs = true