docling-ibm-models 1.0.0__py3-none-any.whl → 1.1.1__py3-none-any.whl

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.
@@ -118,7 +118,7 @@ class LayoutPredictor:
118
118
  }
119
119
  return info
120
120
 
121
- def predict(self, orig_img: Union[Image, np.array]) -> Iterable[dict]:
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,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: docling-ibm-models
3
- Version: 1.0.0
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.11,<4.0
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 (==2.2.2)
31
- Requires-Dist: torchvision (==0.17.2)
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
  [![PyPI version](https://img.shields.io/pypi/v/docling-ibm-models)](https://pypi.org/project/docling-ibm-models/)
36
- ![Python](https://img.shields.io/badge/python-3.11%20%7C%203.12-blue)
37
+ ![Python](https://img.shields.io/badge/python-3.10%20|%203.11%20|%203.12-blue)
37
38
  [![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)
38
39
  [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
39
40
  [![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](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.11)
74
+ poetry env use $(which python3.10)
74
75
  poetry shell
75
76
  ```
76
77
 
@@ -1,4 +1,4 @@
1
- docling_ibm_models/layoutmodel/layout_predictor.py,sha256=SdEsqlsb9zq2sCEzgim4geuCXlcno6eEu2PmYopGzOU,5557
1
+ docling_ibm_models/layoutmodel/layout_predictor.py,sha256=y1Z51hUKju8SCvejCWWr04xbV_CmJrJ32FgA56tkgNU,5565
2
2
  docling_ibm_models/tableformer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  docling_ibm_models/tableformer/common.py,sha256=RV2ptqgkfz1OIoN-WqiSeln0pkZ_7zTO9DhOcbvPS5k,6023
4
4
  docling_ibm_models/tableformer/data_management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -26,7 +26,7 @@ docling_ibm_models/tableformer/utils/app_profiler.py,sha256=13dvwo5byzfP2ejqGBFw
26
26
  docling_ibm_models/tableformer/utils/torch_utils.py,sha256=uN0rK9mSXy1ewBnBnILrWebJhhVU4N-XJZBqNiLJwlQ,8893
27
27
  docling_ibm_models/tableformer/utils/utils.py,sha256=8Bxf1rEn977lFbY9NX0r5xh9PvxIRipQZX_EZW92XfA,10980
28
28
  docling_ibm_models/tableformer/utils/variance.py,sha256=USjRwaMsCmzvc6PeWskaAJnUjbliRVd_MqNKLjMDQw8,4675
29
- docling_ibm_models-1.0.0.dist-info/LICENSE,sha256=ACwmltkrXIz5VsEQcrqljq-fat6ZXAMepjXGoe40KtE,1069
30
- docling_ibm_models-1.0.0.dist-info/METADATA,sha256=x4XQzAxVvgbNsVzMTFQGcvEQlDxfqx3l6thHcsL-apg,6968
31
- docling_ibm_models-1.0.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
32
- docling_ibm_models-1.0.0.dist-info/RECORD,,
29
+ docling_ibm_models-1.1.1.dist-info/LICENSE,sha256=ACwmltkrXIz5VsEQcrqljq-fat6ZXAMepjXGoe40KtE,1069
30
+ docling_ibm_models-1.1.1.dist-info/METADATA,sha256=u1QQMa4RVoxKF7rW30Aa7WeY-JIll0fWxQtLUZNJbCU,7035
31
+ docling_ibm_models-1.1.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
32
+ docling_ibm_models-1.1.1.dist-info/RECORD,,