docling-ibm-models 1.0.0__tar.gz → 1.1.1__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-1.0.0 → docling_ibm_models-1.1.1}/PKG-INFO +7 -6
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/README.md +2 -2
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/layoutmodel/layout_predictor.py +1 -1
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/pyproject.toml +6 -6
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/LICENSE +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/__init__.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/common.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/data_management/__init__.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/data_management/data_transformer.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/data_management/functional.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/data_management/matching_post_processor.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/data_management/tf_cell_matcher.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/data_management/tf_dataset.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/data_management/tf_predictor.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/data_management/transforms.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/models/__init__.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/models/common/__init__.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/models/common/base_model.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/models/table04_rs/__init__.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/models/table04_rs/bbox_decoder_rs.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/models/table04_rs/encoder04_rs.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/models/table04_rs/tablemodel04_rs.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/models/table04_rs/transformer_rs.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/otsl.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/settings.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/test_dataset_cache.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/test_prepare_image.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/utils/__init__.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/utils/app_profiler.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/utils/torch_utils.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/utils/utils.py +0 -0
- {docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/utils/variance.py +0 -0
@@ -1,12 +1,12 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: docling-ibm-models
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.1.1
|
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
|
7
7
|
Author: Nikos Livathinos
|
8
8
|
Author-email: nli@zurich.ibm.com
|
9
|
-
Requires-Python: >=3.
|
9
|
+
Requires-Python: >=3.10,<4.0
|
10
10
|
Classifier: Development Status :: 5 - Production/Stable
|
11
11
|
Classifier: Intended Audience :: Developers
|
12
12
|
Classifier: Intended Audience :: Science/Research
|
@@ -14,6 +14,7 @@ Classifier: License :: OSI Approved :: MIT License
|
|
14
14
|
Classifier: Operating System :: MacOS :: MacOS X
|
15
15
|
Classifier: Operating System :: POSIX :: Linux
|
16
16
|
Classifier: Programming Language :: Python :: 3
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
17
18
|
Classifier: Programming Language :: Python :: 3.11
|
18
19
|
Classifier: Programming Language :: Python :: 3.12
|
19
20
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
@@ -27,13 +28,13 @@ Requires-Dist: numpy (>=1.24.4,<2.0.0)
|
|
27
28
|
Requires-Dist: onnxruntime (>=1.16.2,<2.0.0)
|
28
29
|
Requires-Dist: opencv-python (>=4.9.0.80,<5.0.0.0) ; sys_platform != "linux"
|
29
30
|
Requires-Dist: opencv-python-headless (>=4.9.0.80,<5.0.0.0) ; sys_platform == "linux"
|
30
|
-
Requires-Dist: torch (
|
31
|
-
Requires-Dist: torchvision (
|
31
|
+
Requires-Dist: torch (>=2.2.2,<3.0.0)
|
32
|
+
Requires-Dist: torchvision (>=0.17.2)
|
32
33
|
Requires-Dist: tqdm (>=4.64.0,<5.0.0)
|
33
34
|
Description-Content-Type: text/markdown
|
34
35
|
|
35
36
|
[](https://pypi.org/project/docling-ibm-models/)
|
36
|
-

|
37
38
|
[](https://python-poetry.org/)
|
38
39
|
[](https://github.com/psf/black)
|
39
40
|
[](https://pycqa.github.io/isort/)
|
@@ -70,7 +71,7 @@ RUN curl -sSL 'https://install.python-poetry.org' > install-poetry.py \
|
|
70
71
|
To install and run the package, simply set up a poetry environment
|
71
72
|
|
72
73
|
```
|
73
|
-
poetry env use $(which python3.
|
74
|
+
poetry env use $(which python3.10)
|
74
75
|
poetry shell
|
75
76
|
```
|
76
77
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
[](https://pypi.org/project/docling-ibm-models/)
|
2
|
-

|
3
3
|
[](https://python-poetry.org/)
|
4
4
|
[](https://github.com/psf/black)
|
5
5
|
[](https://pycqa.github.io/isort/)
|
@@ -36,7 +36,7 @@ RUN curl -sSL 'https://install.python-poetry.org' > install-poetry.py \
|
|
36
36
|
To install and run the package, simply set up a poetry environment
|
37
37
|
|
38
38
|
```
|
39
|
-
poetry env use $(which python3.
|
39
|
+
poetry env use $(which python3.10)
|
40
40
|
poetry shell
|
41
41
|
```
|
42
42
|
|
@@ -118,7 +118,7 @@ class LayoutPredictor:
|
|
118
118
|
}
|
119
119
|
return info
|
120
120
|
|
121
|
-
def predict(self, orig_img: Union[Image, np.
|
121
|
+
def predict(self, orig_img: Union[Image.Image, np.ndarray]) -> Iterable[dict]:
|
122
122
|
r"""
|
123
123
|
Predict bounding boxes for a given image.
|
124
124
|
The origin (0, 0) is the top-left corner and the predicted bbox coords are provided as:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[tool.poetry]
|
2
2
|
name = "docling-ibm-models"
|
3
|
-
version = "1.
|
3
|
+
version = "1.1.1" # DO NOT EDIT, updated automatically
|
4
4
|
description = "This package contains the AI models used by the Docling PDF conversion package"
|
5
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
6
|
license = "MIT"
|
@@ -21,9 +21,9 @@ packages = [
|
|
21
21
|
]
|
22
22
|
|
23
23
|
[tool.poetry.dependencies]
|
24
|
-
python = "^3.
|
25
|
-
torch = "2.2.2"
|
26
|
-
torchvision = "0.17.2"
|
24
|
+
python = "^3.10"
|
25
|
+
torch = "^2.2.2"
|
26
|
+
torchvision = ">=0.17.2"
|
27
27
|
onnxruntime = "^1.16.2"
|
28
28
|
numpy = "^1.24.4"
|
29
29
|
lxml = "^4.9.1"
|
@@ -57,13 +57,13 @@ build-backend = "poetry.core.masonry.api"
|
|
57
57
|
|
58
58
|
[tool.black]
|
59
59
|
line-length = 88
|
60
|
-
target-version = ["
|
60
|
+
target-version = ["py310"]
|
61
61
|
include = '\.pyi?$'
|
62
62
|
|
63
63
|
[tool.isort]
|
64
64
|
profile = "black"
|
65
65
|
line_length = 88
|
66
|
-
py_version=
|
66
|
+
py_version=310
|
67
67
|
|
68
68
|
[tool.semantic_release]
|
69
69
|
# for default values check:
|
File without changes
|
{docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/__init__.py
RENAMED
File without changes
|
{docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/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-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/otsl.py
RENAMED
File without changes
|
{docling_ibm_models-1.0.0 → docling_ibm_models-1.1.1}/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-1.0.0 → docling_ibm_models-1.1.1}/docling_ibm_models/tableformer/utils/utils.py
RENAMED
File without changes
|
File without changes
|