tabula-py 2.9.2__tar.gz → 2.9.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.
- {tabula_py-2.9.2 → tabula_py-2.9.3}/PKG-INFO +1 -1
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula/io.py +17 -13
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula_py.egg-info/PKG-INFO +1 -1
- {tabula_py-2.9.2 → tabula_py-2.9.3}/.github/CONTRIBUTING.md +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/.github/FUNDING.yml +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/.github/ISSUE_TEMPLATE/Bug_report.yaml +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/.github/ISSUE_TEMPLATE/Custom.md +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/.github/ISSUE_TEMPLATE/Feature_request.yaml +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/.github/workflows/pythonpublish.yml +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/.github/workflows/pythontest.yml +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/.gitignore +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/.pre-commit-config.yaml +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/LICENSE +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/MANIFEST.in +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/README.md +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/docs/Makefile +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/docs/conf.py +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/docs/contributing.rst +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/docs/faq.rst +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/docs/getting_started.rst +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/docs/index.rst +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/docs/make.bat +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/docs/tabula.errors.rst +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/docs/tabula.rst +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/example.png +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/examples/data.pdf +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/examples/data.tabula-template.json +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/examples/tabula_example.ipynb +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/examples/test.csv +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/examples/test.json +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/examples/test.tsv +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/noxfile.py +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/pyproject.toml +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/readthedocs.yaml +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/setup.cfg +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula/__init__.py +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula/backend.py +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula/errors/__init__.py +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula/file_util.py +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula/py.typed +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula/tabula-1.0.5-jar-with-dependencies.jar +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula/template.py +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula/util.py +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula_py.egg-info/SOURCES.txt +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula_py.egg-info/dependency_links.txt +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula_py.egg-info/requires.txt +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula_py.egg-info/top_level.txt +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/12s0324.pdf +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/MultiColumn.csv +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/MultiColumn.pdf +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/campaign_donors.csv +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/campaign_donors.pdf +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data.pdf +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data.tabula-template.json +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data_1-3.csv +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data_1.csv +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data_1.json +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data_1.tsv +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data_2-3.csv +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data_dtype.pdf +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data_dtype.tabula-template.json +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data_dtype_expected.csv +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data_dtype_template_expected.csv +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/test_read_pdf_jar_path.py +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/test_read_pdf_silent.py +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/test_read_pdf_table.py +0 -0
- {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/test_util.py +0 -0
|
@@ -26,7 +26,7 @@ from collections import defaultdict
|
|
|
26
26
|
from copy import deepcopy
|
|
27
27
|
from dataclasses import asdict
|
|
28
28
|
from logging import getLogger
|
|
29
|
-
from typing import Any, Dict, Iterable, List, Optional, Tuple, Union
|
|
29
|
+
from typing import Any, Dict, Iterable, List, Optional, Sequence, Tuple, Union
|
|
30
30
|
|
|
31
31
|
import numpy as np
|
|
32
32
|
import pandas as pd
|
|
@@ -103,7 +103,7 @@ def read_pdf(
|
|
|
103
103
|
stream: bool = False,
|
|
104
104
|
password: Optional[str] = None,
|
|
105
105
|
silent: Optional[bool] = None,
|
|
106
|
-
columns: Optional[
|
|
106
|
+
columns: Optional[Sequence[float]] = None,
|
|
107
107
|
relative_columns: bool = False,
|
|
108
108
|
format: Optional[str] = None,
|
|
109
109
|
batch: Optional[str] = None,
|
|
@@ -193,8 +193,9 @@ def read_pdf(
|
|
|
193
193
|
Password to decrypt document. Default: empty
|
|
194
194
|
silent (bool, optional):
|
|
195
195
|
Suppress all stderr output.
|
|
196
|
-
columns (
|
|
197
|
-
X coordinates of column boundaries.
|
|
196
|
+
columns (Sequence, optional):
|
|
197
|
+
X coordinates of column boundaries. Must be sorted and of a datatype that
|
|
198
|
+
preserves order, e.g. tuple or list
|
|
198
199
|
|
|
199
200
|
Example:
|
|
200
201
|
``[10.1, 20.2, 30.3]``
|
|
@@ -454,7 +455,7 @@ def read_pdf_with_template(
|
|
|
454
455
|
stream: bool = False,
|
|
455
456
|
password: Optional[str] = None,
|
|
456
457
|
silent: Optional[bool] = None,
|
|
457
|
-
columns: Optional[
|
|
458
|
+
columns: Optional[Sequence[float]] = None,
|
|
458
459
|
relative_columns: bool = False,
|
|
459
460
|
format: Optional[str] = None,
|
|
460
461
|
batch: Optional[str] = None,
|
|
@@ -527,8 +528,9 @@ def read_pdf_with_template(
|
|
|
527
528
|
Password to decrypt document. Default: empty
|
|
528
529
|
silent (bool, optional):
|
|
529
530
|
Suppress all stderr output.
|
|
530
|
-
columns (
|
|
531
|
-
X coordinates of column boundaries.
|
|
531
|
+
columns (Sequence, optional):
|
|
532
|
+
X coordinates of column boundaries. Must be sorted and of a datatype that
|
|
533
|
+
preserves order, e.g. tuple or list
|
|
532
534
|
|
|
533
535
|
Example:
|
|
534
536
|
``[10.1, 20.2, 30.3]``
|
|
@@ -700,7 +702,7 @@ def convert_into(
|
|
|
700
702
|
stream: bool = False,
|
|
701
703
|
password: Optional[str] = None,
|
|
702
704
|
silent: Optional[bool] = None,
|
|
703
|
-
columns: Optional[
|
|
705
|
+
columns: Optional[Sequence[float]] = None,
|
|
704
706
|
relative_columns: bool = False,
|
|
705
707
|
format: Optional[str] = None,
|
|
706
708
|
batch: Optional[str] = None,
|
|
@@ -766,8 +768,9 @@ def convert_into(
|
|
|
766
768
|
Password to decrypt document. Default: empty
|
|
767
769
|
silent (bool, optional):
|
|
768
770
|
Suppress all stderr output.
|
|
769
|
-
columns (
|
|
770
|
-
X coordinates of column boundaries.
|
|
771
|
+
columns (Sequence, optional):
|
|
772
|
+
X coordinates of column boundaries. Must be sorted and of a datatype that
|
|
773
|
+
preserves order, e.g. tuple or list
|
|
771
774
|
|
|
772
775
|
Example:
|
|
773
776
|
``[10.1, 20.2, 30.3]``
|
|
@@ -847,7 +850,7 @@ def convert_into_by_batch(
|
|
|
847
850
|
stream: bool = False,
|
|
848
851
|
password: Optional[str] = None,
|
|
849
852
|
silent: Optional[bool] = None,
|
|
850
|
-
columns: Optional[
|
|
853
|
+
columns: Optional[Sequence[float]] = None,
|
|
851
854
|
relative_columns: bool = False,
|
|
852
855
|
format: Optional[str] = None,
|
|
853
856
|
output_path: Optional[str] = None,
|
|
@@ -907,8 +910,9 @@ def convert_into_by_batch(
|
|
|
907
910
|
Password to decrypt document. Default: empty
|
|
908
911
|
silent (bool, optional):
|
|
909
912
|
Suppress all stderr output.
|
|
910
|
-
columns (
|
|
911
|
-
X coordinates of column boundaries.
|
|
913
|
+
columns (Sequence, optional):
|
|
914
|
+
X coordinates of column boundaries. Must be sorted and of a datatype that
|
|
915
|
+
preserves order, e.g. tuple or list
|
|
912
916
|
|
|
913
917
|
Example:
|
|
914
918
|
``[10.1, 20.2, 30.3]``
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|