-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (83 loc) · 1.82 KB
/
pyproject.toml
File metadata and controls
92 lines (83 loc) · 1.82 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
82
83
84
85
86
87
88
89
90
91
[project]
name = "sinapsis-ocr"
version = "0.3.1"
description = "Implements Sinapsis templates to perform optical character recognition on images"
authors = [{ name = "SinapsisAI", email = "dev@sinapsis.tech" }]
readme = "README.md"
license-files = ["LICENSE"]
requires-python = ">=3.10"
dependencies = [
"sinapsis>=0.1.1",
]
[dependency-groups]
dev = [
"ruff>=0.8.3",
"pre-commit>=4.0.1",
"ty>=0.0.32",
]
[project.optional-dependencies]
webapp-gradio = [
"sinapsis-data-visualization[visualization-matplotlib]>=0.1.0",
"sinapsis[webapp]>=0.2.7",
]
all = [
"sinapsis-ocr[webapp-gradio]",
"sinapsis-doctr[all]",
"sinapsis-easyocr[all]",
"sinapsis-deepseek-ocr[all]",
"sinapsis-glm-ocr[all]",
]
[tool.uv.workspace]
members = ["packages/*"]
exclude = ["packages/*.egg-info"]
[tool.setuptools]
packages = { find = { where = ["packages"] } }
[tool.uv.sources]
sinapsis-doctr = { workspace = true }
sinapsis-easyocr = { workspace = true }
sinapsis-deepseek-ocr = { workspace = true }
sinapsis-glm-ocr = { workspace = true }
[[tool.uv.index]]
name = "sinapsis"
url = "https://pypi.sinapsis.tech/"
[tool.ruff]
lint.select = [
"ARG",
"ANN",
"BLE",
"C4",
"E",
"F",
"FIX",
"FLY",
"I",
"PERF",
"PIE",
"RUF",
"RSE",
"SIM",
"SLOT",
"T10",
"T20",
"TD",
"TID",
]
lint.preview = true
lint.pydocstyle.convention = "google"
lint.ignore = [
"ANN401",
"D100",
"D104",
"D107",
]
line-length = 120
show-fixes = true
target-version = "py310"
fix = true
[project.urls]
Homepage = "https://sinapsis.tech"
Documentation = "https://docs.sinapsis.tech/docs"
Tutorials = "https://docs.sinapsis.tech/tutorials"
Repository = "https://github.com/Sinapsis-AI/sinapsis-ocr.git"
[[tool.uv.index]]
url = "https://pypi.sinapsis.tech/"