From 6ce520e72ef7a914c4be711adb06364e028908d6 Mon Sep 17 00:00:00 2001 From: 4gac Date: Tue, 10 Dec 2024 20:23:30 +0100 Subject: [PATCH] chore: update deps --- requirements.txt | 109 ++++++++------------------------------------- src/process_pdf.py | 2 +- 2 files changed, 19 insertions(+), 92 deletions(-) diff --git a/requirements.txt b/requirements.txt index 3aeaa49..215e714 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,91 +1,18 @@ -argcomplete==2.0.0 -attrs==22.2.0 -Babel==2.10.3 -black==23.1.0 -blinker==1.5 -Brlapi==0.8.4 -certifi==2022.9.24 -chardet==5.1.0 -charset-normalizer==3.0.1 -click==8.1.3 -colorama==0.4.6 -cryptography==38.0.4 -cupshelpers==1.0 -dbus-python==1.3.2 -distro==1.8.0 -docstring-to-markdown==0.11 -evdev==1.6.1 -fuse-python==1.0.5 -ghp-import==2.1.0 -gpg==1.18.0 -httplib2==0.20.4 -idna==3.3 -iniconfig==1.1.1 -jedi==0.18.2 -Jinja2==3.1.2 -joblib==1.2.0 -lazr.restfulclient==0.14.5 -lazr.uri==1.0.6 -livereload==2.6.3 -louis==3.24.0 -lunr==0.6.2 -Markdown==3.4.1 -MarkupSafe==2.1.2 -mergedeep==1.3.4 -mkdocs==1.4.2 -more-itertools==8.10.0 -mypy-extensions==0.4.3 -nltk==3.8 -numpy==1.24.2 -oauthlib==3.2.2 -packaging==23.0 -parso==0.8.3 -pathspec==0.11.0 -pipx==1.1.0 -platformdirs==2.6.0 -pluggy==1.0.0+repack -psutil==5.9.4 -py==1.11.0 -pycairo==1.20.1 -pycups==2.0.1 -pycurl==7.45.2 -Pygments==2.14.0 -PyGObject==3.42.2 -pyinotify==0.9.6 -PyJWT==2.6.0 -pylibacl==0.7.0 -pyparsing==3.0.9 -PyQt5==5.15.9 -PyQt5-sip==12.11.1 -PySimpleSOAP==1.16.2 -pysmbc==1.0.23 -pytest==7.2.1 -python-apt==2.6.0 -python-dateutil==2.8.2 -python-debian==0.1.49 -python-debianbts==4.0.1 -python-lsp-black==1.2.1 -python-lsp-jsonrpc==1.0.0 -python-lsp-server==1.7.1 -python-xlib==0.33 -pytz==2022.7.1 -pyudev==0.24.0 -pyxattr==0.8.1 -pyxdg==0.28 -PyYAML==6.0 -pyyaml_env_tag==0.1 -regex==2022.10.31 -reportbug==12.0.0 -requests==2.28.1 -simplejson==3.18.3 -six==1.16.0 -toml==0.10.2 -tornado==6.2 -tqdm==4.64.1 -ujson==5.7.0 -urllib3==1.26.12 -userpath==1.8.0 -vboxapi==1.0 -wadllib==1.3.6 -watchdog==2.2.1 -xdg==5 +annotated-types==0.7.0 +anyio==4.4.0 +certifi==2024.7.4 +charset-normalizer==3.3.2 +distro==1.9.0 +h11==0.14.0 +httpcore==1.0.5 +httpx==0.27.0 +idna==3.7 +openai==1.37.0 +pdfix-sdk==8.2.0 +pydantic==2.8.2 +pydantic_core==2.20.1 +requests==2.32.3 +sniffio==1.3.1 +tqdm==4.66.4 +typing_extensions==4.12.2 +urllib3==2.2.2 diff --git a/src/process_pdf.py b/src/process_pdf.py index e5475d1..4d7a74b 100644 --- a/src/process_pdf.py +++ b/src/process_pdf.py @@ -75,7 +75,7 @@ def update_table_sum( # check bounding box if bbox.left == bbox.right or bbox.top == bbox.bottom: - print("[" + img + "] image found but no BBox attribute was set") + print("[" + img + "] table found but no BBox attribute was set") return # get the object page number (it may be written in child objects)