-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
87 lines (77 loc) · 1.62 KB
/
pyproject.toml
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
82
83
84
85
86
87
[project]
name = "snapdoc-ai"
version = "0.1.0"
description = "Enterprise-grade Document Analysis and Processing with AI"
readme = "README.md"
authors = [
{ name = "Muhammad Junaid", email = "[email protected]" }
]
requires-python = ">=3.11"
dependencies = [
"customtkinter>=5.2.2",
"onnx>=1.17.0",
"onnxruntime>=1.20.1",
"pdfplumber>=0.11.5",
"pillow>=11.1.0",
"pytesseract>=0.3.13",
"python-docx>=1.1.2",
"torch>=2.6.0",
"transformers>=4.49.0",
"structlog>=24.1.0",
"dynaconf>=3.2.4",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"mypy>=1.5.1",
"flake8>=6.1.0",
"black>=23.7.0",
"isort>=5.12.0",
"pyinstaller>=6.5.0",
]
voice = [
"pyttsx3>=2.90",
"vosk>=0.3.45",
"pyaudio>=0.2.13",
"numpy>=1.24.0",
]
full = [
"pyttsx3>=2.90",
"vosk>=0.3.45",
"pyaudio>=0.2.13",
"numpy>=1.24.0",
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"mypy>=1.5.1",
"flake8>=6.1.0",
"black>=23.7.0",
"isort>=5.12.0",
"pyinstaller>=6.5.0",
]
distribution = [
"pyinstaller>=6.5.0",
"pywin32>=306",
"pefile>=2023.2.7",
]
[project.scripts]
snapdoc-ai = "snapdoc_ai:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.black]
line-length = 88
target-version = ["py311"]
include = '\.pyi?$'
[tool.isort]
profile = "black"
line_length = 88
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"