Excalibur-PDF中提取表格数据
Excalibur: 一个用于从PDF中提取表格数据的Web界面,基于Camelot,采用Python 3开发。Excalibur仅适用于基于文本的PDF而不适用于扫描的文档,目前也不支持带交互的pdf
安装ghostscript
yum install ghostscript python3-tk
pip安装ghostscript
pip install excalibur-py
ImportError: libGL.so.1: cannot open shared object file
yum install mesa-libGL.x86_64
安装Excalibur
excalibur initdb
cat /root/excalibur/excalibur.cfg
vi /root/excalibur/excalibur.cfg
web_server_host = 0.0.0.0
wq
excalibur webserver
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!