extract-python 0.11.2__py3-none-any.whl → 0.11.3__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.
extract_python/miner_u.py CHANGED
@@ -41,9 +41,11 @@ class MinerUPipeline(Pipeline):
41
41
  # TODO: exclude files which are not pdf and return an error
42
42
  # TODO: we should only process valid PDFs
43
43
  config = self._config.config
44
- vlm_config = VlmConfig.model_validate(config.vlm_config)
44
+ vlm_config = None
45
+ if config.vlm_config is not None:
46
+ vlm_config = VlmConfig.model_validate(config.vlm_config)
45
47
  parser = MinerUParser(
46
- tier=config.tier.to_mineru(),
48
+ tier=config.tier,
47
49
  parse_mode=config.parse_mode,
48
50
  image_analysis=config.image_analysis,
49
51
  vlm_config=vlm_config,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: extract-python
3
- Version: 0.11.2
3
+ Version: 0.11.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
@@ -3,12 +3,12 @@ extract_python/__main__.py,sha256=g-fvS46zl9umKmGrSpl-OG-8PSuZgjqvTCqjpsZtSps,10
3
3
  extract_python/constants.py,sha256=659V40LcTWJhX3IbuJLSSvI5AsGJh9ciMrGCfzJn2zA,98
4
4
  extract_python/docling_.py,sha256=iZha9zh6uyFo67RVB0YqHMJt9auzJJV0kJ1OCPTOan8,10030
5
5
  extract_python/marker_.py,sha256=bb0DJXrSWOznIuPnw4-adR5_R9QiwtFGGBh5KlXFxjM,3323
6
- extract_python/miner_u.py,sha256=NCUg14_O1_8lFF9nGyVV-miNAvNzPsD-6VlYDp5uLSk,4033
6
+ extract_python/miner_u.py,sha256=D1dE9Qq7txWOrtK9cN1PjXEd6eKo7pKH6xR7zOs2q5I,4101
7
7
  extract_python/utils.py,sha256=LrR1tlOgpWEri6TLDlYYPRBmlka-AjOepWnbySf2Haw,9974
8
8
  extract_python/cli/__init__.py,sha256=Xt3MB74fO8cimm0Xas8dIMmXu62O0dV-4o3-OUzZggo,1245
9
9
  extract_python/cli/doc.py,sha256=SMwRs-7-u_lw3wpHO6m3vFYnbjYCn_qIVC-q2TIxcbg,2435
10
10
  extract_python/cli/utils.py,sha256=Png7oGKKxDeStn27k-o4Hxlzl-G-u-QDSH6IfJqUk1I,667
11
- extract_python-0.11.2.dist-info/METADATA,sha256=8A9XZfRRb4_MAEd8qRUiZL1esie0F4xlJdMc8dTlfBo,1429
12
- extract_python-0.11.2.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
13
- extract_python-0.11.2.dist-info/entry_points.txt,sha256=noSkCWA0LRm0V7WbmYDPBnJrKeiYdpvXynAW6y72Z4M,64
14
- extract_python-0.11.2.dist-info/RECORD,,
11
+ extract_python-0.11.3.dist-info/METADATA,sha256=d4KN3zXHT7QIAHqb_9lXwsUYwTciCZ4x0cJpyenjkis,1429
12
+ extract_python-0.11.3.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
13
+ extract_python-0.11.3.dist-info/entry_points.txt,sha256=noSkCWA0LRm0V7WbmYDPBnJrKeiYdpvXynAW6y72Z4M,64
14
+ extract_python-0.11.3.dist-info/RECORD,,