docling-ocr-onnxtr 0.1.0__tar.gz → 0.1.2__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.
Files changed (22) hide show
  1. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/PKG-INFO +15 -12
  2. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/README.md +6 -2
  3. docling_ocr_onnxtr-0.1.2/docling_ocr_onnxtr/version.py +1 -0
  4. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/docling_ocr_onnxtr.egg-info/PKG-INFO +15 -12
  5. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/docling_ocr_onnxtr.egg-info/requires.txt +7 -8
  6. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/docling_ocr_onnxtr.egg-info/top_level.txt +1 -0
  7. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/pyproject.toml +8 -9
  8. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/setup.py +1 -1
  9. docling_ocr_onnxtr-0.1.0/docling_ocr_onnxtr/version.py +0 -1
  10. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/LICENSE +0 -0
  11. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/docling_ocr_onnxtr/__init__.py +0 -0
  12. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/docling_ocr_onnxtr/onnxtr_model.py +0 -0
  13. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/docling_ocr_onnxtr/options.py +0 -0
  14. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/docling_ocr_onnxtr/plugin.py +0 -0
  15. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/docling_ocr_onnxtr/py.typed +0 -0
  16. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/docling_ocr_onnxtr.egg-info/SOURCES.txt +0 -0
  17. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/docling_ocr_onnxtr.egg-info/dependency_links.txt +0 -0
  18. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/docling_ocr_onnxtr.egg-info/entry_points.txt +0 -0
  19. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/docling_ocr_onnxtr.egg-info/zip-safe +0 -0
  20. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/setup.cfg +0 -0
  21. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/tests/test_pipeline_invalid_cases.py +0 -0
  22. {docling_ocr_onnxtr-0.1.0 → docling_ocr_onnxtr-0.1.2}/tests/test_plugin.py +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: docling-ocr-onnxtr
3
- Version: 0.1.0
4
- Summary: Onnx Text Recognition (OnnxTR) plugin for docling
3
+ Version: 0.1.2
4
+ Summary: Onnx Text Recognition (OnnxTR) OCR plugin for docling
5
5
  Author-email: Felix Dittrich <felixdittrich92@gmail.com>
6
6
  Maintainer: Felix Dittrich
7
7
  License: Apache License
@@ -226,20 +226,19 @@ Requires-Python: <4,>=3.10.0
226
226
  Description-Content-Type: text/markdown
227
227
  License-File: LICENSE
228
228
  Requires-Dist: pydantic
229
- Requires-Dist: onnxtr
230
- Requires-Dist: docling
229
+ Requires-Dist: docling<3.0.0,>=2.27.0
231
230
  Provides-Extra: cpu
232
- Requires-Dist: onnxtr[cpu]; extra == "cpu"
231
+ Requires-Dist: onnxtr[cpu]<1.0.0,>=0.6.2; extra == "cpu"
233
232
  Provides-Extra: gpu
234
- Requires-Dist: onnxtr[gpu]; extra == "gpu"
233
+ Requires-Dist: onnxtr[gpu]<1.0.0,>=0.6.2; extra == "gpu"
235
234
  Provides-Extra: openvino
236
- Requires-Dist: onnxtr[openvino]; extra == "openvino"
235
+ Requires-Dist: onnxtr[openvino]<1.0.0,>=0.6.2; extra == "openvino"
237
236
  Provides-Extra: cpu-headless
238
- Requires-Dist: onnxtr[cpu-headless]; extra == "cpu-headless"
237
+ Requires-Dist: onnxtr[cpu-headless]<1.0.0,>=0.6.2; extra == "cpu-headless"
239
238
  Provides-Extra: gpu-headless
240
- Requires-Dist: onnxtr[gpu-headless]; extra == "gpu-headless"
239
+ Requires-Dist: onnxtr[gpu-headless]<1.0.0,>=0.6.2; extra == "gpu-headless"
241
240
  Provides-Extra: openvino-headless
242
- Requires-Dist: onnxtr[openvino-headless]; extra == "openvino-headless"
241
+ Requires-Dist: onnxtr[openvino-headless]<1.0.0,>=0.6.2; extra == "openvino-headless"
243
242
  Provides-Extra: testing
244
243
  Requires-Dist: pytest>=5.3.2; extra == "testing"
245
244
  Requires-Dist: coverage[toml]>=4.5.4; extra == "testing"
@@ -259,7 +258,7 @@ Requires-Dist: pre-commit>=2.17.0; extra == "dev"
259
258
  Dynamic: license-file
260
259
 
261
260
  <p align="center">
262
- <img src="https://github.com/felixdittrich92/OnnxTR/raw/main/docs/images/logo.jpg" width="40%">
261
+ <img src="https://github.com/felixdittrich92/docling-OCR-OnnxTR/raw/main/docs/images/onnxtr_docling_merged.png" width="40%">
263
262
  </p>
264
263
 
265
264
  [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
@@ -267,7 +266,7 @@ Dynamic: license-file
267
266
  [![codecov](https://codecov.io/gh/felixdittrich92/docling-OCR-OnnxTR/graph/badge.svg?token=L3AHXKV86A)](https://codecov.io/gh/felixdittrich92/docling-OCR-OnnxTR)
268
267
  [![Codacy Badge](https://app.codacy.com/project/badge/Grade/0d250447650240ee9ca573950fea8b99)](https://app.codacy.com/gh/felixdittrich92/docling-OCR-OnnxTR/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
269
268
  [![CodeFactor](https://www.codefactor.io/repository/github/felixdittrich92/docling-ocr-onnxtr/badge)](https://www.codefactor.io/repository/github/felixdittrich92/docling-ocr-onnxtr)
270
- [![Pypi](https://img.shields.io/badge/pypi-v0.6.2-blue.svg)](https://pypi.org/project//)
269
+ [![Pypi](https://img.shields.io/badge/pypi-v0.1.2-blue.svg)](https://pypi.org/project//)
271
270
  ![PyPI - Downloads](https://img.shields.io/pypi/dm/docling-ocr-onnxtr)
272
271
 
273
272
  The `docling-OCR-OnnxTR` repository provides a plugin that integrates the [OnnxTR OCR engine](https://github.com/felixdittrich92/OnnxTR) into the [Docling framework](https://github.com/docling-project/docling), enhancing document processing capabilities with efficient and accurate text recognition.
@@ -284,6 +283,10 @@ The `docling-OCR-OnnxTR` repository provides a plugin that integrates the [OnnxT
284
283
 
285
284
  To install the plugin, use one of the following commands based on your hardware:
286
285
 
286
+ For GPU support please take a look at: [ONNX Runtime](https://onnxruntime.ai/getting-started).
287
+
288
+ - **Prerequisites:** CUDA & cuDNN needs to be installed before [Version table](https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html).
289
+
287
290
  ```bash
288
291
  # For CPU
289
292
  pip install docling-ocr-onnxtr[cpu]
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="https://github.com/felixdittrich92/OnnxTR/raw/main/docs/images/logo.jpg" width="40%">
2
+ <img src="https://github.com/felixdittrich92/docling-OCR-OnnxTR/raw/main/docs/images/onnxtr_docling_merged.png" width="40%">
3
3
  </p>
4
4
 
5
5
  [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
@@ -7,7 +7,7 @@
7
7
  [![codecov](https://codecov.io/gh/felixdittrich92/docling-OCR-OnnxTR/graph/badge.svg?token=L3AHXKV86A)](https://codecov.io/gh/felixdittrich92/docling-OCR-OnnxTR)
8
8
  [![Codacy Badge](https://app.codacy.com/project/badge/Grade/0d250447650240ee9ca573950fea8b99)](https://app.codacy.com/gh/felixdittrich92/docling-OCR-OnnxTR/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
9
9
  [![CodeFactor](https://www.codefactor.io/repository/github/felixdittrich92/docling-ocr-onnxtr/badge)](https://www.codefactor.io/repository/github/felixdittrich92/docling-ocr-onnxtr)
10
- [![Pypi](https://img.shields.io/badge/pypi-v0.6.2-blue.svg)](https://pypi.org/project//)
10
+ [![Pypi](https://img.shields.io/badge/pypi-v0.1.2-blue.svg)](https://pypi.org/project//)
11
11
  ![PyPI - Downloads](https://img.shields.io/pypi/dm/docling-ocr-onnxtr)
12
12
 
13
13
  The `docling-OCR-OnnxTR` repository provides a plugin that integrates the [OnnxTR OCR engine](https://github.com/felixdittrich92/OnnxTR) into the [Docling framework](https://github.com/docling-project/docling), enhancing document processing capabilities with efficient and accurate text recognition.
@@ -24,6 +24,10 @@ The `docling-OCR-OnnxTR` repository provides a plugin that integrates the [OnnxT
24
24
 
25
25
  To install the plugin, use one of the following commands based on your hardware:
26
26
 
27
+ For GPU support please take a look at: [ONNX Runtime](https://onnxruntime.ai/getting-started).
28
+
29
+ - **Prerequisites:** CUDA & cuDNN needs to be installed before [Version table](https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html).
30
+
27
31
  ```bash
28
32
  # For CPU
29
33
  pip install docling-ocr-onnxtr[cpu]
@@ -0,0 +1 @@
1
+ __version__ = 'v0.1.2'
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: docling-ocr-onnxtr
3
- Version: 0.1.0
4
- Summary: Onnx Text Recognition (OnnxTR) plugin for docling
3
+ Version: 0.1.2
4
+ Summary: Onnx Text Recognition (OnnxTR) OCR plugin for docling
5
5
  Author-email: Felix Dittrich <felixdittrich92@gmail.com>
6
6
  Maintainer: Felix Dittrich
7
7
  License: Apache License
@@ -226,20 +226,19 @@ Requires-Python: <4,>=3.10.0
226
226
  Description-Content-Type: text/markdown
227
227
  License-File: LICENSE
228
228
  Requires-Dist: pydantic
229
- Requires-Dist: onnxtr
230
- Requires-Dist: docling
229
+ Requires-Dist: docling<3.0.0,>=2.27.0
231
230
  Provides-Extra: cpu
232
- Requires-Dist: onnxtr[cpu]; extra == "cpu"
231
+ Requires-Dist: onnxtr[cpu]<1.0.0,>=0.6.2; extra == "cpu"
233
232
  Provides-Extra: gpu
234
- Requires-Dist: onnxtr[gpu]; extra == "gpu"
233
+ Requires-Dist: onnxtr[gpu]<1.0.0,>=0.6.2; extra == "gpu"
235
234
  Provides-Extra: openvino
236
- Requires-Dist: onnxtr[openvino]; extra == "openvino"
235
+ Requires-Dist: onnxtr[openvino]<1.0.0,>=0.6.2; extra == "openvino"
237
236
  Provides-Extra: cpu-headless
238
- Requires-Dist: onnxtr[cpu-headless]; extra == "cpu-headless"
237
+ Requires-Dist: onnxtr[cpu-headless]<1.0.0,>=0.6.2; extra == "cpu-headless"
239
238
  Provides-Extra: gpu-headless
240
- Requires-Dist: onnxtr[gpu-headless]; extra == "gpu-headless"
239
+ Requires-Dist: onnxtr[gpu-headless]<1.0.0,>=0.6.2; extra == "gpu-headless"
241
240
  Provides-Extra: openvino-headless
242
- Requires-Dist: onnxtr[openvino-headless]; extra == "openvino-headless"
241
+ Requires-Dist: onnxtr[openvino-headless]<1.0.0,>=0.6.2; extra == "openvino-headless"
243
242
  Provides-Extra: testing
244
243
  Requires-Dist: pytest>=5.3.2; extra == "testing"
245
244
  Requires-Dist: coverage[toml]>=4.5.4; extra == "testing"
@@ -259,7 +258,7 @@ Requires-Dist: pre-commit>=2.17.0; extra == "dev"
259
258
  Dynamic: license-file
260
259
 
261
260
  <p align="center">
262
- <img src="https://github.com/felixdittrich92/OnnxTR/raw/main/docs/images/logo.jpg" width="40%">
261
+ <img src="https://github.com/felixdittrich92/docling-OCR-OnnxTR/raw/main/docs/images/onnxtr_docling_merged.png" width="40%">
263
262
  </p>
264
263
 
265
264
  [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
@@ -267,7 +266,7 @@ Dynamic: license-file
267
266
  [![codecov](https://codecov.io/gh/felixdittrich92/docling-OCR-OnnxTR/graph/badge.svg?token=L3AHXKV86A)](https://codecov.io/gh/felixdittrich92/docling-OCR-OnnxTR)
268
267
  [![Codacy Badge](https://app.codacy.com/project/badge/Grade/0d250447650240ee9ca573950fea8b99)](https://app.codacy.com/gh/felixdittrich92/docling-OCR-OnnxTR/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
269
268
  [![CodeFactor](https://www.codefactor.io/repository/github/felixdittrich92/docling-ocr-onnxtr/badge)](https://www.codefactor.io/repository/github/felixdittrich92/docling-ocr-onnxtr)
270
- [![Pypi](https://img.shields.io/badge/pypi-v0.6.2-blue.svg)](https://pypi.org/project//)
269
+ [![Pypi](https://img.shields.io/badge/pypi-v0.1.2-blue.svg)](https://pypi.org/project//)
271
270
  ![PyPI - Downloads](https://img.shields.io/pypi/dm/docling-ocr-onnxtr)
272
271
 
273
272
  The `docling-OCR-OnnxTR` repository provides a plugin that integrates the [OnnxTR OCR engine](https://github.com/felixdittrich92/OnnxTR) into the [Docling framework](https://github.com/docling-project/docling), enhancing document processing capabilities with efficient and accurate text recognition.
@@ -284,6 +283,10 @@ The `docling-OCR-OnnxTR` repository provides a plugin that integrates the [OnnxT
284
283
 
285
284
  To install the plugin, use one of the following commands based on your hardware:
286
285
 
286
+ For GPU support please take a look at: [ONNX Runtime](https://onnxruntime.ai/getting-started).
287
+
288
+ - **Prerequisites:** CUDA & cuDNN needs to be installed before [Version table](https://onnxruntime.ai/docs/execution-providers/CUDA-ExecutionProvider.html).
289
+
287
290
  ```bash
288
291
  # For CPU
289
292
  pip install docling-ocr-onnxtr[cpu]
@@ -1,12 +1,11 @@
1
1
  pydantic
2
- onnxtr
3
- docling
2
+ docling<3.0.0,>=2.27.0
4
3
 
5
4
  [cpu]
6
- onnxtr[cpu]
5
+ onnxtr[cpu]<1.0.0,>=0.6.2
7
6
 
8
7
  [cpu-headless]
9
- onnxtr[cpu-headless]
8
+ onnxtr[cpu-headless]<1.0.0,>=0.6.2
10
9
 
11
10
  [dev]
12
11
  onnxtr[gpu]
@@ -18,16 +17,16 @@ mypy>=0.812
18
17
  pre-commit>=2.17.0
19
18
 
20
19
  [gpu]
21
- onnxtr[gpu]
20
+ onnxtr[gpu]<1.0.0,>=0.6.2
22
21
 
23
22
  [gpu-headless]
24
- onnxtr[gpu-headless]
23
+ onnxtr[gpu-headless]<1.0.0,>=0.6.2
25
24
 
26
25
  [openvino]
27
- onnxtr[openvino]
26
+ onnxtr[openvino]<1.0.0,>=0.6.2
28
27
 
29
28
  [openvino-headless]
30
- onnxtr[openvino-headless]
29
+ onnxtr[openvino-headless]<1.0.0,>=0.6.2
31
30
 
32
31
  [quality]
33
32
  ruff>=0.1.5
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "docling-ocr-onnxtr"
7
- description = "Onnx Text Recognition (OnnxTR) plugin for docling"
7
+ description = "Onnx Text Recognition (OnnxTR) OCR plugin for docling"
8
8
  authors = [{name = "Felix Dittrich", email = "felixdittrich92@gmail.com"}]
9
9
  maintainers = [
10
10
  {name = "Felix Dittrich"},
@@ -31,8 +31,7 @@ classifiers=[
31
31
  dynamic = ["version"]
32
32
  dependencies = [
33
33
  "pydantic",
34
- "onnxtr",
35
- "docling",
34
+ "docling>=2.27.0,<3.0.0",
36
35
  ]
37
36
 
38
37
  [project.entry-points."docling"]
@@ -40,22 +39,22 @@ docling_ocr_onnxtr = "docling_ocr_onnxtr.plugin"
40
39
 
41
40
  [project.optional-dependencies]
42
41
  cpu = [
43
- "onnxtr[cpu]",
42
+ "onnxtr[cpu]>=0.6.2,<1.0.0",
44
43
  ]
45
44
  gpu = [
46
- "onnxtr[gpu]",
45
+ "onnxtr[gpu]>=0.6.2,<1.0.0",
47
46
  ]
48
47
  openvino = [
49
- "onnxtr[openvino]",
48
+ "onnxtr[openvino]>=0.6.2,<1.0.0",
50
49
  ]
51
50
  cpu-headless = [
52
- "onnxtr[cpu-headless]",
51
+ "onnxtr[cpu-headless]>=0.6.2,<1.0.0",
53
52
  ]
54
53
  gpu-headless = [
55
- "onnxtr[gpu-headless]",
54
+ "onnxtr[gpu-headless]>=0.6.2,<1.0.0",
56
55
  ]
57
56
  openvino-headless = [
58
- "onnxtr[openvino-headless]",
57
+ "onnxtr[openvino-headless]>=0.6.2,<1.0.0",
59
58
  ]
60
59
  testing = [
61
60
  "pytest>=5.3.2",
@@ -9,7 +9,7 @@ from pathlib import Path
9
9
  from setuptools import setup
10
10
 
11
11
  PKG_NAME = "docling_ocr_onnxtr"
12
- VERSION = os.getenv("BUILD_VERSION", "0.1.0a0")
12
+ VERSION = os.getenv("BUILD_VERSION", "0.1.2a0")
13
13
 
14
14
 
15
15
  if __name__ == "__main__":
@@ -1 +0,0 @@
1
- __version__ = 'v0.1.0'