docling-ibm-models 0.1.0__tar.gz → 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/PKG-INFO +3 -13
- docling_ibm_models-0.2.0/pyproject.toml +66 -0
- docling_ibm_models-0.1.0/pyproject.toml +0 -82
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/LICENSE +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/README.md +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/layoutmodel/layout_predictor.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/__init__.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/common.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/data_management/__init__.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/data_management/data_transformer.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/data_management/functional.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/data_management/matching_post_processor.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/data_management/tf_cell_matcher.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/data_management/tf_dataset.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/data_management/tf_predictor.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/data_management/transforms.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/models/__init__.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/models/common/__init__.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/models/common/base_model.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/models/table04_rs/__init__.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/models/table04_rs/bbox_decoder_rs.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/models/table04_rs/encoder04_rs.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/models/table04_rs/tablemodel04_rs.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/models/table04_rs/transformer_rs.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/otsl.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/settings.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/test_dataset_cache.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/test_prepare_image.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/utils/__init__.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/utils/app_profiler.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/utils/torch_utils.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/utils/utils.py +0 -0
- {docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/utils/variance.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: docling-ibm-models
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.2.0
|
4
4
|
Summary: This package contains the AI models used by the Docling PDF conversion package
|
5
5
|
License: MIT
|
6
6
|
Keywords: docling,convert,document,pdf,layout model,segmentation,table structure,table former
|
@@ -27,18 +27,8 @@ Requires-Dist: numpy (>=1.24.4,<2.0.0)
|
|
27
27
|
Requires-Dist: onnxruntime (>=1.16.2,<2.0.0)
|
28
28
|
Requires-Dist: opencv-python (>=4.9.0.80,<5.0.0.0) ; sys_platform != "linux"
|
29
29
|
Requires-Dist: opencv-python-headless (>=4.9.0.80,<5.0.0.0) ; sys_platform == "linux"
|
30
|
-
Requires-Dist: torch
|
31
|
-
Requires-Dist:
|
32
|
-
Requires-Dist: torch @ https://download.pytorch.org/whl/cpu/torch-2.2.2-cp311-none-macosx_10_9_x86_64.whl ; python_version == "3.11" and platform_machine == "x86_64" and sys_platform == "darwin"
|
33
|
-
Requires-Dist: torch @ https://download.pytorch.org/whl/cpu/torch-2.2.2-cp311-none-macosx_11_0_arm64.whl ; python_version == "3.11" and platform_machine == "arm64" and sys_platform == "darwin"
|
34
|
-
Requires-Dist: torch @ https://download.pytorch.org/whl/cpu/torch-2.2.2-cp312-none-macosx_10_9_x86_64.whl ; python_version == "3.12" and platform_machine == "x86_64" and sys_platform == "darwin"
|
35
|
-
Requires-Dist: torch @ https://download.pytorch.org/whl/cpu/torch-2.2.2-cp312-none-macosx_11_0_arm64.whl ; python_version == "3.12" and platform_machine == "arm64" and sys_platform == "darwin"
|
36
|
-
Requires-Dist: torchvision @ https://download.pytorch.org/whl/cpu/torchvision-0.17.2%2Bcpu-cp311-cp311-linux_x86_64.whl ; python_version == "3.11" and platform_machine == "x86_64" and sys_platform == "linux"
|
37
|
-
Requires-Dist: torchvision @ https://download.pytorch.org/whl/cpu/torchvision-0.17.2%2Bcpu-cp312-cp312-linux_x86_64.whl ; python_version == "3.12" and platform_machine == "x86_64" and sys_platform == "linux"
|
38
|
-
Requires-Dist: torchvision @ https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp311-cp311-macosx_10_13_x86_64.whl ; python_version == "3.11" and platform_machine == "x86_64" and sys_platform == "darwin"
|
39
|
-
Requires-Dist: torchvision @ https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp311-cp311-macosx_11_0_arm64.whl ; python_version == "3.11" and platform_machine == "arm64" and sys_platform == "darwin"
|
40
|
-
Requires-Dist: torchvision @ https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp312-cp312-macosx_10_13_x86_64.whl ; python_version == "3.12" and platform_machine == "x86_64" and sys_platform == "darwin"
|
41
|
-
Requires-Dist: torchvision @ https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp312-cp312-macosx_11_0_arm64.whl ; python_version == "3.12" and platform_machine == "arm64" and sys_platform == "darwin"
|
30
|
+
Requires-Dist: torch (==2.2.2)
|
31
|
+
Requires-Dist: torchvision (==0.17.2)
|
42
32
|
Requires-Dist: tqdm (>=4.64.0,<5.0.0)
|
43
33
|
Description-Content-Type: text/markdown
|
44
34
|
|
@@ -0,0 +1,66 @@
|
|
1
|
+
[tool.poetry]
|
2
|
+
name = "docling-ibm-models"
|
3
|
+
version = "0.2.0"
|
4
|
+
description = "This package contains the AI models used by the Docling PDF conversion package"
|
5
|
+
authors = ["Nikos Livathinos <nli@zurich.ibm.com>", "Maxim Lysak <mly@zurich.ibm.com>", "Ahmed Nassar <ahn@zurich.ibm.com>", "Christoph Auer <cau@zurich.ibm.com>", "Michele Dolfi <dol@zurich.ibm.com>", "Peter Staar <taa@zurich.ibm.com>"]
|
6
|
+
license = "MIT"
|
7
|
+
readme = "README.md"
|
8
|
+
keywords= ["docling", "convert", "document", "pdf", "layout model", "segmentation", "table structure", "table former"]
|
9
|
+
classifiers = [
|
10
|
+
"License :: OSI Approved :: MIT License",
|
11
|
+
"Operating System :: MacOS :: MacOS X",
|
12
|
+
"Operating System :: POSIX :: Linux",
|
13
|
+
"Development Status :: 5 - Production/Stable",
|
14
|
+
"Intended Audience :: Developers",
|
15
|
+
"Intended Audience :: Science/Research",
|
16
|
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
17
|
+
"Programming Language :: Python :: 3"
|
18
|
+
]
|
19
|
+
packages = [
|
20
|
+
{ include = "docling_ibm_models" },
|
21
|
+
]
|
22
|
+
|
23
|
+
[tool.poetry.dependencies]
|
24
|
+
python = "^3.11"
|
25
|
+
torch = "2.2.2"
|
26
|
+
torchvision = "0.17.2"
|
27
|
+
onnxruntime = "^1.16.2"
|
28
|
+
numpy = "^1.24.4"
|
29
|
+
lxml = "^4.9.1"
|
30
|
+
jsonlines = "^3.1.0"
|
31
|
+
Pillow = "^10.0.0"
|
32
|
+
tqdm = "^4.64.0"
|
33
|
+
apted = "^1.0.3"
|
34
|
+
Distance = "^0.1.3"
|
35
|
+
mean_average_precision = "^2021.4.26.0"
|
36
|
+
opencv-python-headless = { version = "^4.9.0.80", markers = 'sys_platform=="linux"'}
|
37
|
+
opencv-python = { version = "^4.9.0.80", markers = 'sys_platform!="linux"'}
|
38
|
+
|
39
|
+
[tool.poetry.dev-dependencies]
|
40
|
+
black = {extras = ["jupyter"], version = "^24.4.2"}
|
41
|
+
pytest = "^7.2.2"
|
42
|
+
pre-commit = "^3.7.1"
|
43
|
+
mypy = "^1.10.1"
|
44
|
+
isort = "^5.10.1"
|
45
|
+
python-semantic-release = "^7.32.2"
|
46
|
+
flake8 = "^6.0.0"
|
47
|
+
pyproject-flake8 = "^6.0.0"
|
48
|
+
pytest-xdist = "^3.3.1"
|
49
|
+
pytest-flake8 = "^1.1.0"
|
50
|
+
types-requests = "^2.31.0.2"
|
51
|
+
flake8-pyproject = "^1.2.3"
|
52
|
+
pylint = "^2.17.5"
|
53
|
+
|
54
|
+
[build-system]
|
55
|
+
requires = ["poetry-core>=1.0.0"]
|
56
|
+
build-backend = "poetry.core.masonry.api"
|
57
|
+
|
58
|
+
[tool.black]
|
59
|
+
line-length = 88
|
60
|
+
target-version = ["py311"]
|
61
|
+
include = '\.pyi?$'
|
62
|
+
|
63
|
+
[tool.isort]
|
64
|
+
profile = "black"
|
65
|
+
line_length = 88
|
66
|
+
py_version=311
|
@@ -1,82 +0,0 @@
|
|
1
|
-
[tool.poetry]
|
2
|
-
name = "docling-ibm-models"
|
3
|
-
version = "0.1.0"
|
4
|
-
description = "This package contains the AI models used by the Docling PDF conversion package"
|
5
|
-
authors = ["Nikos Livathinos <nli@zurich.ibm.com>", "Maxim Lysak <mly@zurich.ibm.com>", "Ahmed Nassar <ahn@zurich.ibm.com>", "Christoph Auer <cau@zurich.ibm.com>", "Michele Dolfi <dol@zurich.ibm.com>", "Peter Staar <taa@zurich.ibm.com>"]
|
6
|
-
license = "MIT"
|
7
|
-
readme = "README.md"
|
8
|
-
keywords= ["docling", "convert", "document", "pdf", "layout model", "segmentation", "table structure", "table former"]
|
9
|
-
classifiers = [
|
10
|
-
"License :: OSI Approved :: MIT License",
|
11
|
-
"Operating System :: MacOS :: MacOS X",
|
12
|
-
"Operating System :: POSIX :: Linux",
|
13
|
-
"Development Status :: 5 - Production/Stable",
|
14
|
-
"Intended Audience :: Developers",
|
15
|
-
"Intended Audience :: Science/Research",
|
16
|
-
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
17
|
-
"Programming Language :: Python :: 3"
|
18
|
-
]
|
19
|
-
packages = [
|
20
|
-
{ include = "docling_ibm_models" },
|
21
|
-
]
|
22
|
-
|
23
|
-
[tool.poetry.dependencies]
|
24
|
-
python = "^3.11"
|
25
|
-
torch = [
|
26
|
-
# {markers = 'platform_machine=="x86_64" and sys_platform=="linux"', url="https://download.pytorch.org/whl/cu121/torch-2.2.2%2Bcu121-cp311-cp311-linux_x86_64.whl"}, # WITH CUDA SUPPORT
|
27
|
-
{markers = 'python_version == "3.11" and platform_machine=="x86_64" and sys_platform=="linux"', url="https://download.pytorch.org/whl/cpu/torch-2.2.2%2Bcpu-cp311-cp311-linux_x86_64.whl"},
|
28
|
-
{markers = 'python_version == "3.11" and platform_machine=="x86_64" and sys_platform=="darwin"', url="https://download.pytorch.org/whl/cpu/torch-2.2.2-cp311-none-macosx_10_9_x86_64.whl"},
|
29
|
-
{markers = 'python_version == "3.11" and platform_machine=="arm64" and sys_platform=="darwin"', url="https://download.pytorch.org/whl/cpu/torch-2.2.2-cp311-none-macosx_11_0_arm64.whl"},
|
30
|
-
{markers = 'python_version == "3.12" and platform_machine=="x86_64" and sys_platform=="linux"', url="https://download.pytorch.org/whl/cpu/torch-2.2.2%2Bcpu-cp312-cp312-linux_x86_64.whl"},
|
31
|
-
{markers = 'python_version == "3.12" and platform_machine=="x86_64" and sys_platform=="darwin"', url="https://download.pytorch.org/whl/cpu/torch-2.2.2-cp312-none-macosx_10_9_x86_64.whl"},
|
32
|
-
{markers = 'python_version == "3.12" and platform_machine=="arm64" and sys_platform=="darwin"', url="https://download.pytorch.org/whl/cpu/torch-2.2.2-cp312-none-macosx_11_0_arm64.whl"}
|
33
|
-
]
|
34
|
-
torchvision = [
|
35
|
-
# {markers = 'platform_machine=="x86_64" and sys_platform=="linux"', url="https://download.pytorch.org/whl/cu121/torchvision-0.17.2%2Bcu121-cp311-cp311-linux_x86_64.whl"}, # WITH CUDA SUPPORT
|
36
|
-
{markers = 'python_version == "3.11" and platform_machine=="x86_64" and sys_platform=="linux"', url="https://download.pytorch.org/whl/cpu/torchvision-0.17.2%2Bcpu-cp311-cp311-linux_x86_64.whl"},
|
37
|
-
{markers = 'python_version == "3.11" and platform_machine=="x86_64" and sys_platform=="darwin"', url="https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp311-cp311-macosx_10_13_x86_64.whl"},
|
38
|
-
{markers = 'python_version == "3.11" and platform_machine=="arm64" and sys_platform=="darwin"', url="https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp311-cp311-macosx_11_0_arm64.whl"},
|
39
|
-
{markers = 'python_version == "3.12" and platform_machine=="x86_64" and sys_platform=="linux"', url="https://download.pytorch.org/whl/cpu/torchvision-0.17.2%2Bcpu-cp312-cp312-linux_x86_64.whl"},
|
40
|
-
{markers = 'python_version == "3.12" and platform_machine=="x86_64" and sys_platform=="darwin"', url="https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp312-cp312-macosx_10_13_x86_64.whl"},
|
41
|
-
{markers = 'python_version == "3.12" and platform_machine=="arm64" and sys_platform=="darwin"', url="https://download.pytorch.org/whl/cpu/torchvision-0.17.2-cp312-cp312-macosx_11_0_arm64.whl"}
|
42
|
-
]
|
43
|
-
onnxruntime = "^1.16.2"
|
44
|
-
numpy = "^1.24.4"
|
45
|
-
lxml = "^4.9.1"
|
46
|
-
jsonlines = "^3.1.0"
|
47
|
-
Pillow = "^10.0.0"
|
48
|
-
tqdm = "^4.64.0"
|
49
|
-
apted = "^1.0.3"
|
50
|
-
Distance = "^0.1.3"
|
51
|
-
mean_average_precision = "^2021.4.26.0"
|
52
|
-
opencv-python-headless = { version = "^4.9.0.80", markers = 'sys_platform=="linux"'}
|
53
|
-
opencv-python = { version = "^4.9.0.80", markers = 'sys_platform!="linux"'}
|
54
|
-
|
55
|
-
[tool.poetry.dev-dependencies]
|
56
|
-
black = {extras = ["jupyter"], version = "^24.4.2"}
|
57
|
-
pytest = "^7.2.2"
|
58
|
-
pre-commit = "^3.7.1"
|
59
|
-
mypy = "^1.10.1"
|
60
|
-
isort = "^5.10.1"
|
61
|
-
python-semantic-release = "^7.32.2"
|
62
|
-
flake8 = "^6.0.0"
|
63
|
-
pyproject-flake8 = "^6.0.0"
|
64
|
-
pytest-xdist = "^3.3.1"
|
65
|
-
pytest-flake8 = "^1.1.0"
|
66
|
-
types-requests = "^2.31.0.2"
|
67
|
-
flake8-pyproject = "^1.2.3"
|
68
|
-
pylint = "^2.17.5"
|
69
|
-
|
70
|
-
[build-system]
|
71
|
-
requires = ["poetry-core>=1.0.0"]
|
72
|
-
build-backend = "poetry.core.masonry.api"
|
73
|
-
|
74
|
-
[tool.black]
|
75
|
-
line-length = 88
|
76
|
-
target-version = ["py311"]
|
77
|
-
include = '\.pyi?$'
|
78
|
-
|
79
|
-
[tool.isort]
|
80
|
-
profile = "black"
|
81
|
-
line_length = 88
|
82
|
-
py_version=311
|
File without changes
|
File without changes
|
File without changes
|
{docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/__init__.py
RENAMED
File without changes
|
{docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/common.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/otsl.py
RENAMED
File without changes
|
{docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/settings.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{docling_ibm_models-0.1.0 → docling_ibm_models-0.2.0}/docling_ibm_models/tableformer/utils/utils.py
RENAMED
File without changes
|
File without changes
|