forked from Saransh-cpp/OCRed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
122 lines (115 loc) · 2.58 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[build-system]
build-backend = "hatchling.build"
requires = [
"hatch-vcs",
"hatchling",
]
[project]
name = "ocred"
description = "Clever, simple, and intuitive wrapper functionalities for OCRing specific textual materials"
readme = "README.md"
keywords = [
"Computer Vision",
"Intended for direct users",
"OCR",
]
license = "MIT"
authors = [
{ name = "Saransh Chopra", email = "[email protected]" },
]
requires-python = ">=3.7"
dependencies = [
"easyocr>=1.4.1",
"numpy>=1.19.4",
"opencv-python==4.5.3.56",
"packaging",
"pytesseract>=0.3.8",
"scikit-image>=0.18.3",
"scipy>=1.5.4",
]
dynamic = [
"version",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Customer Service",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering",
"Typing :: Typed",
]
[project.optional-dependencies]
dev = [
"nltk>=3.5",
"pytest>=6",
"pytest-cov>=3",
"xdoctest>=1",
]
docs = [
"markdown-callouts>=0.2",
"mkdocs>=1.3.1",
"mkdocs-include-exclude-files>=0.0.1",
"mkdocs-jupyter>=0.21",
"mkdocs-material>=8.3.9",
"mkdocstrings-python>=0.7.1",
"mkdocstrings-python-legacy>=0.2.3",
"pymdown-extensions>=9.5",
]
nltk = [
"nltk>=3.5",
]
test = [
"pytest>=6",
"pytest-cov>=3",
"xdoctest>=1",
]
[project.urls]
"Bug Tracker" = "https://github.com/Saransh-cpp/OCRed/issues"
Changelog = "https://ocred.readthedocs.io/en/latest/changelog/"
Discussions = "https://github.com/Saransh-cpp/OCRed/discussions"
Documentation = "https://ocred.readthedocs.io/"
Homepage = "https://github.com/Saransh-cpp/OCRed"
[tool.hatch]
version.source = "vcs"
build.hooks.vcs.version-file = "ocred/version.py"
[tool.pytest.ini_options]
minversion = "6.0"
xfail_strict = true
addopts = [
"-ra",
"--strict-markers",
"--strict-config",
]
testpaths = [
"tests",
]
log_cli_level = "DEBUG"
filterwarnings = [
"error",
"ignore::DeprecationWarning",
"ignore::UserWarning",
]
[tool.isort]
profile = "black"
[tool.mypy]
files = [
"./ocred/",
]
python_version = "3.8"
strict = true
warn_return_any = false
show_error_codes = true
warn_unreachable = true
enable_error_code = [
"ignore-without-code",
"truthy-bool",
"redundant-expr",
]
ignore_missing_imports = true