extract-python 0.12.2__tar.gz → 0.12.3__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. {extract_python-0.12.2 → extract_python-0.12.3}/PKG-INFO +2 -3
  2. {extract_python-0.12.2 → extract_python-0.12.3}/extract_python/liteparse_.py +1 -1
  3. {extract_python-0.12.2 → extract_python-0.12.3}/pyproject.toml +7 -8
  4. {extract_python-0.12.2 → extract_python-0.12.3}/.gitignore +0 -0
  5. {extract_python-0.12.2 → extract_python-0.12.3}/.python-version +0 -0
  6. {extract_python-0.12.2 → extract_python-0.12.3}/README.md +0 -0
  7. {extract_python-0.12.2 → extract_python-0.12.3}/benches/__init__.py +0 -0
  8. {extract_python-0.12.2 → extract_python-0.12.3}/benches/compare.ipynb +0 -0
  9. {extract_python-0.12.2 → extract_python-0.12.3}/benches/compare.py +0 -0
  10. {extract_python-0.12.2 → extract_python-0.12.3}/benches/constants.py +0 -0
  11. {extract_python-0.12.2 → extract_python-0.12.3}/data/.gitignore +0 -0
  12. {extract_python-0.12.2 → extract_python-0.12.3}/extract_python/__init__.py +0 -0
  13. {extract_python-0.12.2 → extract_python-0.12.3}/extract_python/__main__.py +0 -0
  14. {extract_python-0.12.2 → extract_python-0.12.3}/extract_python/cli/__init__.py +0 -0
  15. {extract_python-0.12.2 → extract_python-0.12.3}/extract_python/cli/doc.py +0 -0
  16. {extract_python-0.12.2 → extract_python-0.12.3}/extract_python/cli/utils.py +0 -0
  17. {extract_python-0.12.2 → extract_python-0.12.3}/extract_python/constants.py +0 -0
  18. {extract_python-0.12.2 → extract_python-0.12.3}/extract_python/docling_.py +0 -0
  19. {extract_python-0.12.2 → extract_python-0.12.3}/extract_python/marker_.py +0 -0
  20. {extract_python-0.12.2 → extract_python-0.12.3}/extract_python/mineru_.py +0 -0
  21. {extract_python-0.12.2 → extract_python-0.12.3}/extract_python/utils.py +0 -0
  22. {extract_python-0.12.2 → extract_python-0.12.3}/uv.lock +0 -0
@@ -1,14 +1,13 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: extract-python
3
- Version: 0.12.2
3
+ Version: 0.12.3
4
4
  Summary: Structured content extraction
5
5
  Project-URL: Homepage, https://github.com/ICIJ/extract-python
6
6
  Project-URL: Repository, https://github.com/ICIJ/extract-python
7
7
  Project-URL: Issues, https://github.com/ICIJ/extract-python/issues
8
8
  Author-email: Clément Doumouro <cdoumouro@icij.org>
9
9
  Requires-Python: <3.15,>=3.13
10
- Requires-Dist: extract-core~=0.12.1
11
- Requires-Dist: icij-common~=0.8.2
10
+ Requires-Dist: extract-core~=0.12.3
12
11
  Requires-Dist: pympler~=1.1
13
12
  Provides-Extra: benches
14
13
  Requires-Dist: html2image~=2.0.7; extra == 'benches'
@@ -26,7 +26,6 @@ from extract_core import (
26
26
  SupportedExt,
27
27
  )
28
28
  from pydantic import TypeAdapter
29
- from tesserocr import tesserocr
30
29
 
31
30
  from .constants import ARTIFACTS, DEFAULT_MD_PAGE_SEP
32
31
  from .utils import (
@@ -44,6 +43,7 @@ from .utils import (
44
43
  logger = logging.getLogger(__name__)
45
44
  if TYPE_CHECKING:
46
45
  import pypdfium2 as pdfium
46
+ import tesserocr
47
47
  from liteparse import LiteParse
48
48
  from liteparse.types import (
49
49
  ExtractedImage,
@@ -8,8 +8,7 @@ authors = [
8
8
  readme = "README.md"
9
9
  requires-python = ">=3.13,<3.15"
10
10
  dependencies = [
11
- "extract-core~=0.12.1",
12
- "icij-common~=0.8.2",
11
+ "extract-core~=0.12.3",
13
12
  "pympler~=1.1",
14
13
  ]
15
14
 
@@ -34,10 +33,10 @@ docling-gpu = [
34
33
  ]
35
34
 
36
35
  liteparse = [
37
- "liteparse~=2.15",
38
- "pillow~=11.0",
39
- "pypdfium2~=4.0",
40
- "tesserocr~=2.7",
36
+ "liteparse~=2.15",
37
+ "pillow~=11.0",
38
+ "pypdfium2~=4.0",
39
+ "tesserocr~=2.7",
41
40
  ]
42
41
 
43
42
  marker = [
@@ -53,8 +52,8 @@ mineru = [
53
52
 
54
53
  [tool.uv]
55
54
  environments = [
56
- "sys_platform == 'darwin'",
57
- "sys_platform == 'linux'",
55
+ "sys_platform == 'darwin'",
56
+ "sys_platform == 'linux'",
58
57
  ]
59
58
  conflicts = [
60
59
  [
File without changes