deepdoctection 0.39.5__py3-none-any.whl → 0.39.6__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.

Potentially problematic release.


This version of deepdoctection might be problematic. Click here for more details.

@@ -25,7 +25,7 @@ from .utils.logger import LoggingRecord, logger
25
25
 
26
26
  # pylint: enable=wrong-import-position
27
27
 
28
- __version__ = "0.39.5"
28
+ __version__ = "0.39.6"
29
29
 
30
30
  _IMPORT_STRUCTURE = {
31
31
  "analyzer": ["config_sanity_checks", "get_dd_analyzer", "ServiceFactory"],
@@ -433,7 +433,7 @@ class Table(Layout):
433
433
  filter(
434
434
  lambda c: column_number in (c.column_number, c.column_number + c.column_span - 1), # type: ignore
435
435
  all_cells,
436
- ) # type: ignore
436
+ )
437
437
  )
438
438
  column_cells.sort(key=lambda c: c.row_number) # type: ignore
439
439
  return column_cells # type: ignore
@@ -24,7 +24,7 @@ import catalogue # type: ignore
24
24
  from tabulate import tabulate
25
25
  from termcolor import colored
26
26
 
27
- from .base import DatasetBase
27
+ from .base import DatasetBase, CustomDataset
28
28
 
29
29
  __all__ = ["dataset_registry", "get_dataset", "print_dataset_infos"]
30
30
 
@@ -68,7 +68,10 @@ def print_dataset_infos(add_license: bool = True, add_info: bool = True) -> None
68
68
 
69
69
  for dataset in data.items():
70
70
  info = [dataset[0]]
71
- ds = dataset[1]()
71
+ if isinstance(dataset[1], CustomDataset):
72
+ ds = dataset[1]
73
+ else:
74
+ ds = dataset[1]()
72
75
  info.append(ds.dataset_info.type)
73
76
  if add_license:
74
77
  info.append(ds.dataset_info.license) # pylint: disable=W0212
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: deepdoctection
3
- Version: 0.39.5
3
+ Version: 0.39.6
4
4
  Summary: Repository for Document AI
5
5
  Home-page: https://github.com/deepdoctection/deepdoctection
6
6
  Author: Dr. Janis Meyer
@@ -1,4 +1,4 @@
1
- deepdoctection/__init__.py,sha256=MbRCNpP9rjZdSs27aZt1LScR-Z_MW-I3kKgnfa8WjlY,12754
1
+ deepdoctection/__init__.py,sha256=F9uc6mjLFOYYGkT5UFs6M5YBxhcJlJ33G3-NSctzSF8,12754
2
2
  deepdoctection/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  deepdoctection/analyzer/__init__.py,sha256=icClxrd20XutD6LxLgEPIWceSs4j_QfI3szCE-9BL2w,729
4
4
  deepdoctection/analyzer/_config.py,sha256=1rfvVrp7cI2YLzpahD77aa1tZ_KFAIQ21DM1NWhxYiI,5058
@@ -20,13 +20,13 @@ deepdoctection/datapoint/annotation.py,sha256=FEgz4COxVDfjic0gG7kS6iHnWLBIgFnquQ
20
20
  deepdoctection/datapoint/box.py,sha256=UAdSnLexvFyg4KK1u9kXdJxhaWTwRxTU-cnQcvl37Q8,23410
21
21
  deepdoctection/datapoint/convert.py,sha256=gJbHY2V8nlMht1N5VdxTmWSsOeydpFPTJsaJHp6XGgE,7516
22
22
  deepdoctection/datapoint/image.py,sha256=uGmlgF6zGptvNowZTqf-io4hbd8aFFngAvQqgdEQ5Kw,34040
23
- deepdoctection/datapoint/view.py,sha256=mReVQHX1PFGEma5n1-yOrNhp0E6aHaDMOpgtdt7wsm8,50790
23
+ deepdoctection/datapoint/view.py,sha256=sK6Ta9R6jdOS7iwF05-uPjL2wSz8wHQ5RIGCatw7i2M,50774
24
24
  deepdoctection/datasets/__init__.py,sha256=-A3aR90aDsHPmVM35JavfnQ2itYSCn3ujl4krRni1QU,1076
25
25
  deepdoctection/datasets/adapter.py,sha256=Ly_vbOAgVI73V41FUccnSX1ECTOyesW_qsuvQuvOZbw,7796
26
26
  deepdoctection/datasets/base.py,sha256=AZx-hw8Mchzb7FiOASt7zCbiybFNsM_diBzKXyC-auU,22618
27
27
  deepdoctection/datasets/dataflow_builder.py,sha256=cYU2zV3gZW2bFvMHimlO9VIl3BAUaCwML08cCIQ8Em4,4107
28
28
  deepdoctection/datasets/info.py,sha256=sC1QCOdLWFMooVmiShZ43sLUpAi3FK4d0fsLyl_9-gA,20548
29
- deepdoctection/datasets/registry.py,sha256=j0dqdemhbQNccjZEI33uqeJH5mkHn6psKgKGX71IwVc,3277
29
+ deepdoctection/datasets/registry.py,sha256=K6ZHCSIHuElOMWWN_KJjicHP-BUhNWBHBSOFbCGuvRg,3388
30
30
  deepdoctection/datasets/save.py,sha256=Y9508Qqp8gIGN7pbGgVBBnkiC6NdCb9L2YR4wVvEUxM,3350
31
31
  deepdoctection/datasets/instances/__init__.py,sha256=XEc_4vT5lDn6bbZID9ujDEumWu8Ec2W-QS4pI_bfWWE,1388
32
32
  deepdoctection/datasets/instances/doclaynet.py,sha256=Az7USCqF0lMk1n1Dk59uUrBgBNAbKEjtUvZnCgdUH70,12286
@@ -141,8 +141,8 @@ deepdoctection/utils/transform.py,sha256=3kCgsEeRkG1efCdkfvj7tUFMs-e2jbjbflq826F
141
141
  deepdoctection/utils/types.py,sha256=_3dmPdCIZNLbgU5QP5k_c5phDf18xLe1kYL6t2nM45s,2953
142
142
  deepdoctection/utils/utils.py,sha256=csVs_VvCq4QBETPoE2JdTTL4MFYnD4xh-Js5vRb612g,6492
143
143
  deepdoctection/utils/viz.py,sha256=Jf8ePNYWlpuyaS6SeTYQ4OyA3eNhtgjvAQZnGNdgHC0,27051
144
- deepdoctection-0.39.5.dist-info/LICENSE,sha256=GQ0rUvuGdrMNEI3iHK5UQx6dIMU1QwAuyXsxUHn5MEQ,11351
145
- deepdoctection-0.39.5.dist-info/METADATA,sha256=O4KmPHyqhJ44FTeO5OLq1M-5dgBjAQM38ts55lemEiA,19741
146
- deepdoctection-0.39.5.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
147
- deepdoctection-0.39.5.dist-info/top_level.txt,sha256=hs2DdoOL9h4mnHhmO82BT4pz4QATIoOZ20PZmlnxFI8,15
148
- deepdoctection-0.39.5.dist-info/RECORD,,
144
+ deepdoctection-0.39.6.dist-info/LICENSE,sha256=GQ0rUvuGdrMNEI3iHK5UQx6dIMU1QwAuyXsxUHn5MEQ,11351
145
+ deepdoctection-0.39.6.dist-info/METADATA,sha256=ezZIfdIjMmVp_60jLqco8OMeHQG_ksT4zEhflFLB5tI,19741
146
+ deepdoctection-0.39.6.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
147
+ deepdoctection-0.39.6.dist-info/top_level.txt,sha256=hs2DdoOL9h4mnHhmO82BT4pz4QATIoOZ20PZmlnxFI8,15
148
+ deepdoctection-0.39.6.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (76.0.0)
2
+ Generator: setuptools (76.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5