extract-python 0.12.1__py3-none-any.whl → 0.12.2__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.
@@ -554,6 +554,10 @@ class _PDFDocCache:
554
554
  self._path = path
555
555
  return self._doc
556
556
 
557
+ def __del__(self):
558
+ if self._doc is not None:
559
+ self._doc.close()
560
+
557
561
 
558
562
  # we have to use a global cache because pdfnium is not thread safe and not
559
563
  # pickleable
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: extract-python
3
- Version: 0.12.1
3
+ Version: 0.12.2
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
@@ -2,14 +2,14 @@ extract_python/__init__.py,sha256=f6d2exh99z6uR30zDqrnhg5NAx8MFFExvexqM6AaILM,95
2
2
  extract_python/__main__.py,sha256=g-fvS46zl9umKmGrSpl-OG-8PSuZgjqvTCqjpsZtSps,101
3
3
  extract_python/constants.py,sha256=659V40LcTWJhX3IbuJLSSvI5AsGJh9ciMrGCfzJn2zA,98
4
4
  extract_python/docling_.py,sha256=2LaZHEHUcEhEEEHxzb6Ih-niOOpeS5G9k3nJzNB2jrY,10022
5
- extract_python/liteparse_.py,sha256=CGSf_XolF3yAzqMjNsm5a_kfe9X_XfDkMPPurvN8xTc,20295
5
+ extract_python/liteparse_.py,sha256=xDakNYH2AB0ga6EYo3Y8PsZWpWNV_uQQCHtsNwRyLI8,20383
6
6
  extract_python/marker_.py,sha256=bb0DJXrSWOznIuPnw4-adR5_R9QiwtFGGBh5KlXFxjM,3323
7
7
  extract_python/mineru_.py,sha256=D1dE9Qq7txWOrtK9cN1PjXEd6eKo7pKH6xR7zOs2q5I,4101
8
8
  extract_python/utils.py,sha256=jmxO8wHD99jO0f3fKQGhKxhCfQckf89_pEtPVlGnyJs,13435
9
9
  extract_python/cli/__init__.py,sha256=Xt3MB74fO8cimm0Xas8dIMmXu62O0dV-4o3-OUzZggo,1245
10
10
  extract_python/cli/doc.py,sha256=SMwRs-7-u_lw3wpHO6m3vFYnbjYCn_qIVC-q2TIxcbg,2435
11
11
  extract_python/cli/utils.py,sha256=Png7oGKKxDeStn27k-o4Hxlzl-G-u-QDSH6IfJqUk1I,667
12
- extract_python-0.12.1.dist-info/METADATA,sha256=9ivoL46TYr0rRcr0I_510NRxwsrbvUJV9f27mDNABaA,1662
13
- extract_python-0.12.1.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
14
- extract_python-0.12.1.dist-info/entry_points.txt,sha256=noSkCWA0LRm0V7WbmYDPBnJrKeiYdpvXynAW6y72Z4M,64
15
- extract_python-0.12.1.dist-info/RECORD,,
12
+ extract_python-0.12.2.dist-info/METADATA,sha256=UIWH1BDHhvD9Uti1_-zYBgdheyuDHZIth6qX9BJ1OBk,1662
13
+ extract_python-0.12.2.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
14
+ extract_python-0.12.2.dist-info/entry_points.txt,sha256=noSkCWA0LRm0V7WbmYDPBnJrKeiYdpvXynAW6y72Z4M,64
15
+ extract_python-0.12.2.dist-info/RECORD,,