extract-python 0.11.2__tar.gz → 0.11.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 (21) hide show
  1. {extract_python-0.11.2 → extract_python-0.11.3}/PKG-INFO +1 -1
  2. {extract_python-0.11.2 → extract_python-0.11.3}/extract_python/miner_u.py +4 -2
  3. {extract_python-0.11.2 → extract_python-0.11.3}/.gitignore +0 -0
  4. {extract_python-0.11.2 → extract_python-0.11.3}/.python-version +0 -0
  5. {extract_python-0.11.2 → extract_python-0.11.3}/README.md +0 -0
  6. {extract_python-0.11.2 → extract_python-0.11.3}/benches/__init__.py +0 -0
  7. {extract_python-0.11.2 → extract_python-0.11.3}/benches/compare.ipynb +0 -0
  8. {extract_python-0.11.2 → extract_python-0.11.3}/benches/compare.py +0 -0
  9. {extract_python-0.11.2 → extract_python-0.11.3}/benches/constants.py +0 -0
  10. {extract_python-0.11.2 → extract_python-0.11.3}/data/.gitignore +0 -0
  11. {extract_python-0.11.2 → extract_python-0.11.3}/extract_python/__init__.py +0 -0
  12. {extract_python-0.11.2 → extract_python-0.11.3}/extract_python/__main__.py +0 -0
  13. {extract_python-0.11.2 → extract_python-0.11.3}/extract_python/cli/__init__.py +0 -0
  14. {extract_python-0.11.2 → extract_python-0.11.3}/extract_python/cli/doc.py +0 -0
  15. {extract_python-0.11.2 → extract_python-0.11.3}/extract_python/cli/utils.py +0 -0
  16. {extract_python-0.11.2 → extract_python-0.11.3}/extract_python/constants.py +0 -0
  17. {extract_python-0.11.2 → extract_python-0.11.3}/extract_python/docling_.py +0 -0
  18. {extract_python-0.11.2 → extract_python-0.11.3}/extract_python/marker_.py +0 -0
  19. {extract_python-0.11.2 → extract_python-0.11.3}/extract_python/utils.py +0 -0
  20. {extract_python-0.11.2 → extract_python-0.11.3}/pyproject.toml +0 -0
  21. {extract_python-0.11.2 → extract_python-0.11.3}/uv.lock +0 -0
@@ -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
@@ -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,
File without changes