py-pdf / pypdf_table_extraction

A Python library to extract tabular data from PDFs
https://camelot-py.readthedocs.io
MIT License
15 stars 7 forks source link

Reflect camelot in pypdf_table_extraction namespace #11

Open foarsitter opened 4 months ago

foarsitter commented 4 months ago

This is the elaboration of #9 and the first step in rebranding.

I copied the file structure to /pypdf_table_extraction and imported all the objects from camelot where needed. This way I tried to achieve to be completely backwards compatible.

from camelot.backends.poppler_backend import PopplerBackend
from pypdf_table_extraction.backends.poppler_backend import PopplerBackend

from camelot.handlers import Lattice,Stream
from pypdf_table_extraction.parsers import Lattice,Stream
foarsitter commented 4 months ago

@MartinThoma can I have your opinion here?