forked from docling-project/docling-ibm-models
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (101 loc) · 3.43 KB
/
pyproject.toml
File metadata and controls
113 lines (101 loc) · 3.43 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
[project]
name = "docling-ibm-models"
version = "3.9.1" # DO NOT EDIT, updated automatically
description = "This package contains the AI models used by the Docling PDF conversion package"
license = "MIT"
keywords = ["docling", "convert", "document", "pdf", "layout model", "segmentation", "table structure", "table former"]
readme = "README.md"
authors = [
{ name = "Nikos Livathinos", email = "nli@zurich.ibm.com" },
{ name = "Maxim Lysak", email = "mly@zurich.ibm.com" },
{ name = "Ahmed Nassar", email = "ahn@zurich.ibm.com" },
{ name = "Christoph Auer", email = "cau@zurich.ibm.com" },
{ name = "Michele Dolfi", email = "dol@zurich.ibm.com" },
{ name = "Peter Staar", email = "taa@zurich.ibm.com" },
]
classifiers = [
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = '>=3.9,<4.0'
dependencies = [
'torch (>=2.2.2,<3.0.0)',
'torchvision (>=0,<1)',
'jsonlines (>=3.1.0,<4.0.0)',
'Pillow (>=10.0.0,<12.0.0)',
'tqdm (>=4.64.0,<5.0.0)',
'opencv-python-headless (>=4.6.0.66,<5.0.0.0)',
'huggingface_hub (>=0.23,<1)',
'safetensors[torch] (>=0.4.3,<1)',
'pydantic (>=2.0.0,<3.0.0)',
'docling-core (>=2.19.0,<3.0.0)',
'transformers (>=4.42.0,<5.0.0)',
'numpy (>=1.24.4,<3.0.0)',
"rtree>=1.0.0",
'accelerate (>=1.2.1,<2.0.0)',
]
[project.urls]
homepage = "https://github.com/docling-project/docling-ibm-models"
repository = "https://github.com/docling-project/docling-ibm-models"
issues = "https://github.com/docling-project/docling-ibm-models/issues"
changelog = "https://github.com/docling-project/docling-ibm-models/blob/main/CHANGELOG.md"
[dependency-groups]
dev = [
"pre-commit~=3.7",
"mypy~=1.10",
"black~=24.4",
"isort~=5.10",
"autoflake~=2.0",
"flake8~=7.1",
"flake8-docstrings~=1.6",
"types-setuptools~=70.3",
"pandas-stubs~=2.1",
"types-requests~=2.31",
"coverage~=7.6",
"pytest~=8.3",
"pytest-cov>=6.1.1",
"pytest-dependency~=0.6",
"pytest-xdist~=3.3",
"python-semantic-release~=7.32",
"datasets~=3.2",
]
[tool.uv]
package = true
[tool.setuptools.packages.find]
include = ["docling_ibm_models*"]
[tool.black]
line-length = 88
target-version = ["py39"]
include = '\.pyi?$'
[tool.isort]
profile = "black"
line_length = 88
py_version = 39
[tool.semantic_release]
# for default values check:
# https://github.com/python-semantic-release/python-semantic-release/blob/v7.32.2/semantic_release/defaults.cfg
version_source = "tag_only"
branch = "main"
# configure types which should trigger minor and patch version bumps respectively
# (note that they must be a subset of the configured allowed types):
parser_angular_allowed_types = "build,chore,ci,docs,feat,fix,perf,style,refactor,test"
parser_angular_minor_types = "feat"
parser_angular_patch_types = "fix,perf"
[tool.mypy]
pretty = true
no_implicit_optional = true
python_version = "3.10"
[[tool.mypy.overrides]]
module = ["torchvision.*", "transformers.*"]
ignore_missing_imports = true