Skip to content
This repository was archived by the owner on Apr 11, 2025. It is now read-only.

Commit d2a44e9

Browse files
foarsitterbosd
authored andcommitted
Reflect camelot packing in pypdf_table_extraction
1 parent 2ca41d8 commit d2a44e9

21 files changed

+101
-0
lines changed

pypdf_table_extraction/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from camelot import __version__ # noqa: F401
2+
from camelot import format_string # noqa F401
3+
from camelot import formatter # noqa F401
4+
from camelot import handler # noqa F401
5+
from camelot import logger # noqa F401
6+
from camelot import plot # noqa F401

pypdf_table_extraction/__main__.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
__all__ = ("main",)
2+
3+
4+
def main():
5+
from camelot.cli import cli
6+
7+
cli()
8+
9+
10+
if __name__ == "__main__":
11+
main()
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
from camelot.__version__ import PRERELEASE # noqa: F401
2+
from camelot.__version__ import REVISION # noqa F401
3+
from camelot.__version__ import VERSION # noqa F401
4+
from camelot.__version__ import __author__ # noqa F401
5+
from camelot.__version__ import __author_email__ # noqa F401
6+
from camelot.__version__ import __description__ # noqa F401
7+
from camelot.__version__ import __license__ # noqa F401
8+
from camelot.__version__ import __title__ # noqa F401
9+
from camelot.__version__ import __url__ # noqa F401
10+
from camelot.__version__ import __version__ # noqa F401
11+
from camelot.__version__ import generate_version # noqa F401
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from .image_conversion import ImageConversionBackend # noqa: F401
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from camelot.backends.ghostscript import Ghostscript # noqa: F401
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
from camelot.backends.image_conversion import BACKENDS # noqa: F401
2+
from camelot.backends.image_conversion import ImageConversionBackend # noqa: F401
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from camelot.backends.poppler_backend import PopplerBackend # noqa: F401

pypdf_table_extraction/cli.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from camelot.cli import Config # noqa: F401
2+
from camelot.cli import cli # noqa F401
3+
from camelot.cli import lattice # noqa F401
4+
from camelot.cli import logger # noqa F401
5+
from camelot.cli import pass_config # noqa F401
6+
from camelot.cli import stream # noqa F401

pypdf_table_extraction/core.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from camelot.core import TABLE_AREA_PADDING # noqa: F401
2+
from camelot.core import TEXTEDGE_REQUIRED_ELEMENTS # noqa F401
3+
from camelot.core import Cell # noqa F401
4+
from camelot.core import Table # noqa F401
5+
from camelot.core import TableList # noqa F401
6+
from camelot.core import TextEdge # noqa F401
7+
from camelot.core import TextEdges # noqa F401

pypdf_table_extraction/handlers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from camelot.handlers import PDFHandler # noqa: F401

0 commit comments

Comments
 (0)