-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (70 loc) · 1.6 KB
/
pyproject.toml
File metadata and controls
76 lines (70 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
[tool.poetry]
name = "docr"
version = "0.2.1"
description = "🛠️ Docr: A modular toolkit for intelligent document analysis and processing. Easy to expand and flexible to use, just like playing with building blocks!"
readme = "README.md"
authors = ["liferecords <yjmm10@yeah.net>"]
license = "MIT"
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
]
[tool.poetry.dependencies]
python = "^3.10"
dynaconf = "^3.1.12"
click = "^8.1.3"
pydantic = "^2.8.2"
onnxruntime = "^1.18.1"
shapely = "^2.0.5"
pyclipper = "^1.3.0.post5"
tokenizers = "^0.19.1"
opencv-python = "^4.10.0.84"
pymupdf = "^1.24.9"
pillow = "^10.4.0"
streamlit = "^1.37.1"
fastapi = "^0.112.0"
uvicorn = {extras = ["standard"], version = "^0.30.5"}
psutil = "^6.0.0"
python-multipart = "^0.0.9"
[tool.poetry.group.dev.dependencies]
pylint = "^2.17.4"
isort = "^5.12.0"
pytest = "^7.3.1"
tox = "^4.5.2"
mkdocs = "^1.4.3"
mkdocs-material = "^8.5.11"
pytest-pylint = "^0.19.0"
pre-commit = "^3.3.2"
pytest-mock = "^3.14.0"
black = "^24.8.0"
httpx = "^0.27.0"
[tool.poetry.scripts]
docr = "docr.cmdline:main"
docs = "docr.docs_commands:serve"
docs-build = "docr.docs_commands:build"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = "tests"
python_files = "tests.py test_*.py *_tests.py"
[tool.isort]
profile = "black"
line_length = 88
[tool.black]
line-length = 88
target-version = ['py310']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''