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.
Files changed (68) hide show
  1. {tabula_py-2.9.2 → tabula_py-2.9.3}/PKG-INFO +1 -1
  2. {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula/io.py +17 -13
  3. {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula_py.egg-info/PKG-INFO +1 -1
  4. {tabula_py-2.9.2 → tabula_py-2.9.3}/.github/CONTRIBUTING.md +0 -0
  5. {tabula_py-2.9.2 → tabula_py-2.9.3}/.github/FUNDING.yml +0 -0
  6. {tabula_py-2.9.2 → tabula_py-2.9.3}/.github/ISSUE_TEMPLATE/Bug_report.yaml +0 -0
  7. {tabula_py-2.9.2 → tabula_py-2.9.3}/.github/ISSUE_TEMPLATE/Custom.md +0 -0
  8. {tabula_py-2.9.2 → tabula_py-2.9.3}/.github/ISSUE_TEMPLATE/Feature_request.yaml +0 -0
  9. {tabula_py-2.9.2 → tabula_py-2.9.3}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  10. {tabula_py-2.9.2 → tabula_py-2.9.3}/.github/workflows/pythonpublish.yml +0 -0
  11. {tabula_py-2.9.2 → tabula_py-2.9.3}/.github/workflows/pythontest.yml +0 -0
  12. {tabula_py-2.9.2 → tabula_py-2.9.3}/.gitignore +0 -0
  13. {tabula_py-2.9.2 → tabula_py-2.9.3}/.pre-commit-config.yaml +0 -0
  14. {tabula_py-2.9.2 → tabula_py-2.9.3}/LICENSE +0 -0
  15. {tabula_py-2.9.2 → tabula_py-2.9.3}/MANIFEST.in +0 -0
  16. {tabula_py-2.9.2 → tabula_py-2.9.3}/README.md +0 -0
  17. {tabula_py-2.9.2 → tabula_py-2.9.3}/docs/Makefile +0 -0
  18. {tabula_py-2.9.2 → tabula_py-2.9.3}/docs/conf.py +0 -0
  19. {tabula_py-2.9.2 → tabula_py-2.9.3}/docs/contributing.rst +0 -0
  20. {tabula_py-2.9.2 → tabula_py-2.9.3}/docs/faq.rst +0 -0
  21. {tabula_py-2.9.2 → tabula_py-2.9.3}/docs/getting_started.rst +0 -0
  22. {tabula_py-2.9.2 → tabula_py-2.9.3}/docs/index.rst +0 -0
  23. {tabula_py-2.9.2 → tabula_py-2.9.3}/docs/make.bat +0 -0
  24. {tabula_py-2.9.2 → tabula_py-2.9.3}/docs/tabula.errors.rst +0 -0
  25. {tabula_py-2.9.2 → tabula_py-2.9.3}/docs/tabula.rst +0 -0
  26. {tabula_py-2.9.2 → tabula_py-2.9.3}/example.png +0 -0
  27. {tabula_py-2.9.2 → tabula_py-2.9.3}/examples/data.pdf +0 -0
  28. {tabula_py-2.9.2 → tabula_py-2.9.3}/examples/data.tabula-template.json +0 -0
  29. {tabula_py-2.9.2 → tabula_py-2.9.3}/examples/tabula_example.ipynb +0 -0
  30. {tabula_py-2.9.2 → tabula_py-2.9.3}/examples/test.csv +0 -0
  31. {tabula_py-2.9.2 → tabula_py-2.9.3}/examples/test.json +0 -0
  32. {tabula_py-2.9.2 → tabula_py-2.9.3}/examples/test.tsv +0 -0
  33. {tabula_py-2.9.2 → tabula_py-2.9.3}/noxfile.py +0 -0
  34. {tabula_py-2.9.2 → tabula_py-2.9.3}/pyproject.toml +0 -0
  35. {tabula_py-2.9.2 → tabula_py-2.9.3}/readthedocs.yaml +0 -0
  36. {tabula_py-2.9.2 → tabula_py-2.9.3}/setup.cfg +0 -0
  37. {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula/__init__.py +0 -0
  38. {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula/backend.py +0 -0
  39. {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula/errors/__init__.py +0 -0
  40. {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula/file_util.py +0 -0
  41. {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula/py.typed +0 -0
  42. {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula/tabula-1.0.5-jar-with-dependencies.jar +0 -0
  43. {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula/template.py +0 -0
  44. {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula/util.py +0 -0
  45. {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula_py.egg-info/SOURCES.txt +0 -0
  46. {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula_py.egg-info/dependency_links.txt +0 -0
  47. {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula_py.egg-info/requires.txt +0 -0
  48. {tabula_py-2.9.2 → tabula_py-2.9.3}/tabula_py.egg-info/top_level.txt +0 -0
  49. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/12s0324.pdf +0 -0
  50. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/MultiColumn.csv +0 -0
  51. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/MultiColumn.pdf +0 -0
  52. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/campaign_donors.csv +0 -0
  53. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/campaign_donors.pdf +0 -0
  54. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data.pdf +0 -0
  55. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data.tabula-template.json +0 -0
  56. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data_1-3.csv +0 -0
  57. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data_1.csv +0 -0
  58. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data_1.json +0 -0
  59. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data_1.tsv +0 -0
  60. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data_2-3.csv +0 -0
  61. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data_dtype.pdf +0 -0
  62. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data_dtype.tabula-template.json +0 -0
  63. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data_dtype_expected.csv +0 -0
  64. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/resources/data_dtype_template_expected.csv +0 -0
  65. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/test_read_pdf_jar_path.py +0 -0
  66. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/test_read_pdf_silent.py +0 -0
  67. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/test_read_pdf_table.py +0 -0
  68. {tabula_py-2.9.2 → tabula_py-2.9.3}/tests/test_util.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tabula-py
3
- Version: 2.9.2
3
+ Version: 2.9.3
4
4
  Summary: Simple wrapper for tabula-java, read tables from PDF into DataFrame
5
5
  Author-email: Aki Ariga <chezou@gmail.com>
6
6
  Maintainer-email: Aki Ariga <chezou@gmail.com>
@@ -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[Iterable[float]] = None,
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 (iterable, optional):
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[List[float]] = None,
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 (iterable, optional):
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[Iterable[float]] = None,
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 (iterable, optional):
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[Iterable[float]] = None,
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 (iterable, optional):
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]``
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tabula-py
3
- Version: 2.9.2
3
+ Version: 2.9.3
4
4
  Summary: Simple wrapper for tabula-java, read tables from PDF into DataFrame
5
5
  Author-email: Aki Ariga <chezou@gmail.com>
6
6
  Maintainer-email: Aki Ariga <chezou@gmail.com>
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