LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
feat: Improved logging for runner (#1209)
Chandrasekharan M0fdc2606d755
diff --git a/runner/entrypoint.sh b/runner/entrypoint.shindex 992a6bb83..5ec16a54d 100755--- a/runner/entrypoint.sh+++ b/runner/entrypoint.sh@@ -39,4 +39,4 @@ elsefi# Start Gunicorn-.venv/bin/gunicorn "${gunicorn_args[@]}" unstract.runner.main:app+.venv/bin/gunicorn "${gunicorn_args[@]}" unstract.runner:appdiff --git a/runner/pdm.lock b/runner/pdm.lockindex 8e0289af4..628d48e71 100644--- a/runner/pdm.lock+++ b/runner/pdm.lock@@ -2,17 +2,17 @@# It is not intended for manual editing.[metadata]-groups = ["default", "deploy", "dev"]+groups = ["default", "deploy", "dev", "test"]strategy = ["cross_platform", "inherit_metadata"]lock_version = "4.4.2"-content_hash = "sha256:a4b2472555d148a4c1c1c78b3adfba79babbd333b2c223dae5248224f2aec69d"+content_hash = "sha256:ee8fd8ae3a54863e4b497793c14e2118d2dcde95cb7acf820df719db35df552f"[[package]]name = "amqp"version = "5.3.1"requires_python = ">=3.6"summary = "Low-level AMQP client for Python (fork of amqplib)."-groups = ["default"]+groups = ["default", "dev"]dependencies = ["vine<6.0.0,>=5.0.0",]@@ -26,7 +26,7 @@ name = "async-timeout"version = "5.0.1"requires_python = ">=3.8"summary = "Timeout context manager for asyncio programs"-groups = ["default"]+groups = ["default", "dev"]marker = "python_full_version < \"3.11.3\""files = [{file = "async_timeout-5.0.1-py3-none-any.whl", hash = "sha256:39e3809566ff85354557ec2398b55e096c8364bacac9405a7a1fa429e77fe76c"},@@ -38,7 +38,7 @@ name = "blinker"version = "1.9.0"requires_python = ">=3.9"summary = "Fast, simple object-to-object and broadcast signaling"-groups = ["default"]+groups = ["default", "dev"]files = [{file = "blinker-1.9.0-py3-none-any.whl", hash = "sha256:ba0efaa9080b619ff2f3459d1d500c57bddea4a6b424b60a91141db6fd2f08bc"},{file = "blinker-1.9.0.tar.gz", hash = "sha256:b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf"},@@ -49,7 +49,7 @@ name = "certifi"version = "2025.1.31"requires_python = ">=3.6"summary = "Python package for providing Mozilla's CA Bundle."-groups = ["default"]+groups = ["default", "dev"]files = [{file = "certifi-2025.1.31-py3-none-any.whl", hash = "sha256:ca78db4565a652026a4db2bcdf68f2fb589ea80d0be70e03929ed730746b84fe"},{file = "certifi-2025.1.31.tar.gz", hash = "sha256:3d5da6925056f6f18f119200434a4780a94263f10d1c21d032a6f6b2baa20651"},@@ -110,7 +110,7 @@ name = "chardet"version = "5.2.0"requires_python = ">=3.7"summary = "Universal encoding detector for Python 3"-groups = ["dev"]+groups = ["test"]files = [{file = "chardet-5.2.0-py3-none-any.whl", hash = "sha256:e1cf59446890a00105fe7b7912492ea04b6e6f06d4b742b2c788469e34c82970"},{file = "chardet-5.2.0.tar.gz", hash = "sha256:1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7"},@@ -121,7 +121,7 @@ name = "charset-normalizer"version = "3.4.1"requires_python = ">=3.7"summary = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet."-groups = ["default"]+groups = ["default", "dev"]files = [{file = "charset_normalizer-3.4.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:91b36a978b5ae0ee86c394f5a54d6ef44db1de0815eb43de826d41d21e4af3de"},{file = "charset_normalizer-3.4.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7461baadb4dc00fd9e0acbe254e3d7d2112e7f92ced2adc96e54ef6501c5f176"},@@ -171,7 +171,7 @@ name = "click"version = "8.1.8"requires_python = ">=3.7"summary = "Composable command line interface toolkit"-groups = ["default"]+groups = ["default", "dev"]dependencies = ["colorama; platform_system == \"Windows\"",]@@ -185,7 +185,7 @@ name = "colorama"version = "0.4.6"requires_python = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7"summary = "Cross-platform colored terminal text."-groups = ["default", "dev"]+groups = ["default", "dev", "test"]marker = "sys_platform == \"win32\" or platform_system == \"Windows\""files = [{file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"},@@ -194,91 +194,91 @@ files = [[[package]]name = "coverage"-version = "7.7.0"+version = "7.7.1"requires_python = ">=3.9"summary = "Code coverage measurement for Python"-groups = ["dev"]+groups = ["test"]files = [- {file = "coverage-7.7.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:a538a23119d1e2e2ce077e902d02ea3d8e0641786ef6e0faf11ce82324743944"},- {file = "coverage-7.7.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:1586ad158523f4133499a4f322b230e2cfef9cc724820dbd58595a5a236186f4"},- {file = "coverage-7.7.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7b6c96d69928a3a6767fab8dc1ce8a02cf0156836ccb1e820c7f45a423570d98"},- {file = "coverage-7.7.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7f18d47641282664276977c604b5a261e51fefc2980f5271d547d706b06a837f"},- {file = "coverage-7.7.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f2a1e18a85bd066c7c556d85277a7adf4651f259b2579113844835ba1a74aafd"},- {file = "coverage-7.7.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:70f0925c4e2bfc965369f417e7cc72538fd1ba91639cf1e4ef4b1a6b50439b3b"},- {file = "coverage-7.7.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:b0fac2088ec4aaeb5468b814bd3ff5e5978364bfbce5e567c44c9e2854469f6c"},- {file = "coverage-7.7.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:b3e212a894d8ae07fde2ca8b43d666a6d49bbbddb10da0f6a74ca7bd31f20054"},- {file = "coverage-7.7.0-cp310-cp310-win32.whl", hash = "sha256:f32b165bf6dfea0846a9c9c38b7e1d68f313956d60a15cde5d1709fddcaf3bee"},- {file = "coverage-7.7.0-cp310-cp310-win_amd64.whl", hash = "sha256:a2454b12a3f12cc4698f3508912e6225ec63682e2ca5a96f80a2b93cef9e63f3"},- {file = "coverage-7.7.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:a0a207c87a9f743c8072d059b4711f8d13c456eb42dac778a7d2e5d4f3c253a7"},- {file = "coverage-7.7.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2d673e3add00048215c2cc507f1228a7523fd8bf34f279ac98334c9b07bd2656"},- {file = "coverage-7.7.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f81fe93dc1b8e5673f33443c0786c14b77e36f1025973b85e07c70353e46882b"},- {file = "coverage-7.7.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d8c7524779003d59948c51b4fcbf1ca4e27c26a7d75984f63488f3625c328b9b"},- {file = "coverage-7.7.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4c124025430249118d018dcedc8b7426f39373527c845093132196f2a483b6dd"},- {file = "coverage-7.7.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:e7f559c36d5cdc448ee13e7e56ed7b6b5d44a40a511d584d388a0f5d940977ba"},- {file = "coverage-7.7.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:37cbc7b0d93dfd133e33c7ec01123fbb90401dce174c3b6661d8d36fb1e30608"},- {file = "coverage-7.7.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:7d2a65876274acf544703e943c010b60bd79404e3623a1e5d52b64a6e2728de5"},- {file = "coverage-7.7.0-cp311-cp311-win32.whl", hash = "sha256:f5a2f71d6a91238e7628f23538c26aa464d390cbdedf12ee2a7a0fb92a24482a"},- {file = "coverage-7.7.0-cp311-cp311-win_amd64.whl", hash = "sha256:ae8006772c6b0fa53c33747913473e064985dac4d65f77fd2fdc6474e7cd54e4"},- {file = "coverage-7.7.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:1c8fbce80b2b8bf135d105aa8f5b36eae0c57d702a1cc3ebdea2a6f03f6cdde5"},- {file = "coverage-7.7.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:d9710521f07f526de30ccdead67e6b236fe996d214e1a7fba8b36e2ba2cd8261"},- {file = "coverage-7.7.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7789e700f33f2b133adae582c9f437523cd5db8de845774988a58c360fc88253"},- {file = "coverage-7.7.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b8c36093aca722db73633cf2359026ed7782a239eb1c6db2abcff876012dc4cf"},- {file = "coverage-7.7.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c075d167a6ec99b798c1fdf6e391a1d5a2d054caffe9593ba0f97e3df2c04f0e"},- {file = "coverage-7.7.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:d013c07061751ae81861cae6ec3a4fe04e84781b11fd4b6b4201590234b25c7b"},- {file = "coverage-7.7.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:104bf640f408f4e115b85110047c7f27377e1a8b7ba86f7db4fa47aa49dc9a8e"},- {file = "coverage-7.7.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:39abcacd1ed54e2c33c54bdc488b310e8ef6705833f7148b6eb9a547199d375d"},- {file = "coverage-7.7.0-cp39-cp39-win32.whl", hash = "sha256:8e336b56301774ace6be0017ff85c3566c556d938359b61b840796a0202f805c"},- {file = "coverage-7.7.0-cp39-cp39-win_amd64.whl", hash = "sha256:8c938c6ae59be67ac19a7204e079efc94b38222cd7d0269f96e45e18cddeaa59"},- {file = "coverage-7.7.0-pp39.pp310.pp311-none-any.whl", hash = "sha256:3b0e6e54591ae0d7427def8a4d40fca99df6b899d10354bab73cd5609807261c"},- {file = "coverage-7.7.0-py3-none-any.whl", hash = "sha256:708f0a1105ef2b11c79ed54ed31f17e6325ac936501fc373f24be3e6a578146a"},- {file = "coverage-7.7.0.tar.gz", hash = "sha256:cd879d4646055a573775a1cec863d00c9ff8c55860f8b17f6d8eee9140c06166"},+ {file = "coverage-7.7.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:553ba93f8e3c70e1b0031e4dfea36aba4e2b51fe5770db35e99af8dc5c5a9dfe"},+ {file = "coverage-7.7.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:44683f2556a56c9a6e673b583763096b8efbd2df022b02995609cf8e64fc8ae0"},+ {file = "coverage-7.7.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:02fad4f8faa4153db76f9246bc95c1d99f054f4e0a884175bff9155cf4f856cb"},+ {file = "coverage-7.7.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4c181ceba2e6808ede1e964f7bdc77bd8c7eb62f202c63a48cc541e5ffffccb6"},+ {file = "coverage-7.7.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:80b5b207a8b08c6a934b214e364cab2fa82663d4af18981a6c0a9e95f8df7602"},+ {file = "coverage-7.7.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:25fe40967717bad0ce628a0223f08a10d54c9d739e88c9cbb0f77b5959367542"},+ {file = "coverage-7.7.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:881cae0f9cbd928c9c001487bb3dcbfd0b0af3ef53ae92180878591053be0cb3"},+ {file = "coverage-7.7.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:c90e9141e9221dd6fbc16a2727a5703c19443a8d9bf7d634c792fa0287cee1ab"},+ {file = "coverage-7.7.1-cp310-cp310-win32.whl", hash = "sha256:ae13ed5bf5542d7d4a0a42ff5160e07e84adc44eda65ddaa635c484ff8e55917"},+ {file = "coverage-7.7.1-cp310-cp310-win_amd64.whl", hash = "sha256:171e9977c6a5d2b2be9efc7df1126fd525ce7cad0eb9904fe692da007ba90d81"},+ {file = "coverage-7.7.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:1165490be0069e34e4f99d08e9c5209c463de11b471709dfae31e2a98cbd49fd"},+ {file = "coverage-7.7.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:44af11c00fd3b19b8809487630f8a0039130d32363239dfd15238e6d37e41a48"},+ {file = "coverage-7.7.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fbba59022e7c20124d2f520842b75904c7b9f16c854233fa46575c69949fb5b9"},+ {file = "coverage-7.7.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:af94fb80e4f159f4d93fb411800448ad87b6039b0500849a403b73a0d36bb5ae"},+ {file = "coverage-7.7.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eae79f8e3501133aa0e220bbc29573910d096795882a70e6f6e6637b09522133"},+ {file = "coverage-7.7.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:e33426a5e1dc7743dd54dfd11d3a6c02c5d127abfaa2edd80a6e352b58347d1a"},+ {file = "coverage-7.7.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:b559adc22486937786731dac69e57296cb9aede7e2687dfc0d2696dbd3b1eb6b"},+ {file = "coverage-7.7.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:b838a91e84e1773c3436f6cc6996e000ed3ca5721799e7789be18830fad009a2"},+ {file = "coverage-7.7.1-cp311-cp311-win32.whl", hash = "sha256:2c492401bdb3a85824669d6a03f57b3dfadef0941b8541f035f83bbfc39d4282"},+ {file = "coverage-7.7.1-cp311-cp311-win_amd64.whl", hash = "sha256:1e6f867379fd033a0eeabb1be0cffa2bd660582b8b0c9478895c509d875a9d9e"},+ {file = "coverage-7.7.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:34a3bf6b92e6621fc4dcdaab353e173ccb0ca9e4bfbcf7e49a0134c86c9cd303"},+ {file = "coverage-7.7.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:d6874929d624d3a670f676efafbbc747f519a6121b581dd41d012109e70a5ebd"},+ {file = "coverage-7.7.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7ba5ff236c87a7b7aa1441a216caf44baee14cbfbd2256d306f926d16b026578"},+ {file = "coverage-7.7.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:452735fafe8ff5918236d5fe1feac322b359e57692269c75151f9b4ee4b7e1bc"},+ {file = "coverage-7.7.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f5f99a93cecf799738e211f9746dc83749b5693538fbfac279a61682ba309387"},+ {file = "coverage-7.7.1-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:11dd6f52c2a7ce8bf0a5f3b6e4a8eb60e157ffedc3c4b4314a41c1dfbd26ce58"},+ {file = "coverage-7.7.1-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:b52edb940d087e2a96e73c1523284a2e94a4e66fa2ea1e2e64dddc67173bad94"},+ {file = "coverage-7.7.1-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:d2e73e2ac468536197e6b3ab79bc4a5c9da0f078cd78cfcc7fe27cf5d1195ef0"},+ {file = "coverage-7.7.1-cp39-cp39-win32.whl", hash = "sha256:18f544356bceef17cc55fcf859e5664f06946c1b68efcea6acdc50f8f6a6e776"},+ {file = "coverage-7.7.1-cp39-cp39-win_amd64.whl", hash = "sha256:d66ff48ab3bb6f762a153e29c0fc1eb5a62a260217bc64470d7ba602f5886d20"},+ {file = "coverage-7.7.1-pp39.pp310.pp311-none-any.whl", hash = "sha256:5b7b02e50d54be6114cc4f6a3222fec83164f7c42772ba03b520138859b5fde1"},+ {file = "coverage-7.7.1-py3-none-any.whl", hash = "sha256:822fa99dd1ac686061e1219b67868e25d9757989cf2259f735a4802497d6da31"},+ {file = "coverage-7.7.1.tar.gz", hash = "sha256:199a1272e642266b90c9f40dec7fd3d307b51bf639fa0d15980dc0b3246c1393"},][[package]]name = "coverage"-version = "7.7.0"+version = "7.7.1"extras = ["toml"]requires_python = ">=3.9"summary = "Code coverage measurement for Python"-groups = ["dev"]+groups = ["test"]dependencies = [- "coverage==7.7.0",+ "coverage==7.7.1","tomli; python_full_version <= \"3.11.0a6\"",]files = [- {file = "coverage-7.7.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:a538a23119d1e2e2ce077e902d02ea3d8e0641786ef6e0faf11ce82324743944"},- {file = "coverage-7.7.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:1586ad158523f4133499a4f322b230e2cfef9cc724820dbd58595a5a236186f4"},- {file = "coverage-7.7.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7b6c96d69928a3a6767fab8dc1ce8a02cf0156836ccb1e820c7f45a423570d98"},- {file = "coverage-7.7.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7f18d47641282664276977c604b5a261e51fefc2980f5271d547d706b06a837f"},- {file = "coverage-7.7.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f2a1e18a85bd066c7c556d85277a7adf4651f259b2579113844835ba1a74aafd"},- {file = "coverage-7.7.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:70f0925c4e2bfc965369f417e7cc72538fd1ba91639cf1e4ef4b1a6b50439b3b"},- {file = "coverage-7.7.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:b0fac2088ec4aaeb5468b814bd3ff5e5978364bfbce5e567c44c9e2854469f6c"},- {file = "coverage-7.7.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:b3e212a894d8ae07fde2ca8b43d666a6d49bbbddb10da0f6a74ca7bd31f20054"},- {file = "coverage-7.7.0-cp310-cp310-win32.whl", hash = "sha256:f32b165bf6dfea0846a9c9c38b7e1d68f313956d60a15cde5d1709fddcaf3bee"},- {file = "coverage-7.7.0-cp310-cp310-win_amd64.whl", hash = "sha256:a2454b12a3f12cc4698f3508912e6225ec63682e2ca5a96f80a2b93cef9e63f3"},- {file = "coverage-7.7.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:a0a207c87a9f743c8072d059b4711f8d13c456eb42dac778a7d2e5d4f3c253a7"},- {file = "coverage-7.7.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2d673e3add00048215c2cc507f1228a7523fd8bf34f279ac98334c9b07bd2656"},- {file = "coverage-7.7.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f81fe93dc1b8e5673f33443c0786c14b77e36f1025973b85e07c70353e46882b"},- {file = "coverage-7.7.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d8c7524779003d59948c51b4fcbf1ca4e27c26a7d75984f63488f3625c328b9b"},- {file = "coverage-7.7.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4c124025430249118d018dcedc8b7426f39373527c845093132196f2a483b6dd"},- {file = "coverage-7.7.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:e7f559c36d5cdc448ee13e7e56ed7b6b5d44a40a511d584d388a0f5d940977ba"},- {file = "coverage-7.7.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:37cbc7b0d93dfd133e33c7ec01123fbb90401dce174c3b6661d8d36fb1e30608"},- {file = "coverage-7.7.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:7d2a65876274acf544703e943c010b60bd79404e3623a1e5d52b64a6e2728de5"},- {file = "coverage-7.7.0-cp311-cp311-win32.whl", hash = "sha256:f5a2f71d6a91238e7628f23538c26aa464d390cbdedf12ee2a7a0fb92a24482a"},- {file = "coverage-7.7.0-cp311-cp311-win_amd64.whl", hash = "sha256:ae8006772c6b0fa53c33747913473e064985dac4d65f77fd2fdc6474e7cd54e4"},- {file = "coverage-7.7.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:1c8fbce80b2b8bf135d105aa8f5b36eae0c57d702a1cc3ebdea2a6f03f6cdde5"},- {file = "coverage-7.7.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:d9710521f07f526de30ccdead67e6b236fe996d214e1a7fba8b36e2ba2cd8261"},- {file = "coverage-7.7.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7789e700f33f2b133adae582c9f437523cd5db8de845774988a58c360fc88253"},- {file = "coverage-7.7.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b8c36093aca722db73633cf2359026ed7782a239eb1c6db2abcff876012dc4cf"},- {file = "coverage-7.7.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c075d167a6ec99b798c1fdf6e391a1d5a2d054caffe9593ba0f97e3df2c04f0e"},- {file = "coverage-7.7.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:d013c07061751ae81861cae6ec3a4fe04e84781b11fd4b6b4201590234b25c7b"},- {file = "coverage-7.7.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:104bf640f408f4e115b85110047c7f27377e1a8b7ba86f7db4fa47aa49dc9a8e"},- {file = "coverage-7.7.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:39abcacd1ed54e2c33c54bdc488b310e8ef6705833f7148b6eb9a547199d375d"},- {file = "coverage-7.7.0-cp39-cp39-win32.whl", hash = "sha256:8e336b56301774ace6be0017ff85c3566c556d938359b61b840796a0202f805c"},- {file = "coverage-7.7.0-cp39-cp39-win_amd64.whl", hash = "sha256:8c938c6ae59be67ac19a7204e079efc94b38222cd7d0269f96e45e18cddeaa59"},- {file = "coverage-7.7.0-pp39.pp310.pp311-none-any.whl", hash = "sha256:3b0e6e54591ae0d7427def8a4d40fca99df6b899d10354bab73cd5609807261c"},- {file = "coverage-7.7.0-py3-none-any.whl", hash = "sha256:708f0a1105ef2b11c79ed54ed31f17e6325ac936501fc373f24be3e6a578146a"},- {file = "coverage-7.7.0.tar.gz", hash = "sha256:cd879d4646055a573775a1cec863d00c9ff8c55860f8b17f6d8eee9140c06166"},+ {file = "coverage-7.7.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:553ba93f8e3c70e1b0031e4dfea36aba4e2b51fe5770db35e99af8dc5c5a9dfe"},+ {file = "coverage-7.7.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:44683f2556a56c9a6e673b583763096b8efbd2df022b02995609cf8e64fc8ae0"},+ {file = "coverage-7.7.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:02fad4f8faa4153db76f9246bc95c1d99f054f4e0a884175bff9155cf4f856cb"},+ {file = "coverage-7.7.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4c181ceba2e6808ede1e964f7bdc77bd8c7eb62f202c63a48cc541e5ffffccb6"},+ {file = "coverage-7.7.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:80b5b207a8b08c6a934b214e364cab2fa82663d4af18981a6c0a9e95f8df7602"},+ {file = "coverage-7.7.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:25fe40967717bad0ce628a0223f08a10d54c9d739e88c9cbb0f77b5959367542"},+ {file = "coverage-7.7.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:881cae0f9cbd928c9c001487bb3dcbfd0b0af3ef53ae92180878591053be0cb3"},+ {file = "coverage-7.7.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:c90e9141e9221dd6fbc16a2727a5703c19443a8d9bf7d634c792fa0287cee1ab"},+ {file = "coverage-7.7.1-cp310-cp310-win32.whl", hash = "sha256:ae13ed5bf5542d7d4a0a42ff5160e07e84adc44eda65ddaa635c484ff8e55917"},+ {file = "coverage-7.7.1-cp310-cp310-win_amd64.whl", hash = "sha256:171e9977c6a5d2b2be9efc7df1126fd525ce7cad0eb9904fe692da007ba90d81"},+ {file = "coverage-7.7.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:1165490be0069e34e4f99d08e9c5209c463de11b471709dfae31e2a98cbd49fd"},+ {file = "coverage-7.7.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:44af11c00fd3b19b8809487630f8a0039130d32363239dfd15238e6d37e41a48"},+ {file = "coverage-7.7.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fbba59022e7c20124d2f520842b75904c7b9f16c854233fa46575c69949fb5b9"},+ {file = "coverage-7.7.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:af94fb80e4f159f4d93fb411800448ad87b6039b0500849a403b73a0d36bb5ae"},+ {file = "coverage-7.7.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eae79f8e3501133aa0e220bbc29573910d096795882a70e6f6e6637b09522133"},+ {file = "coverage-7.7.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:e33426a5e1dc7743dd54dfd11d3a6c02c5d127abfaa2edd80a6e352b58347d1a"},+ {file = "coverage-7.7.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:b559adc22486937786731dac69e57296cb9aede7e2687dfc0d2696dbd3b1eb6b"},+ {file = "coverage-7.7.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:b838a91e84e1773c3436f6cc6996e000ed3ca5721799e7789be18830fad009a2"},+ {file = "coverage-7.7.1-cp311-cp311-win32.whl", hash = "sha256:2c492401bdb3a85824669d6a03f57b3dfadef0941b8541f035f83bbfc39d4282"},+ {file = "coverage-7.7.1-cp311-cp311-win_amd64.whl", hash = "sha256:1e6f867379fd033a0eeabb1be0cffa2bd660582b8b0c9478895c509d875a9d9e"},+ {file = "coverage-7.7.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:34a3bf6b92e6621fc4dcdaab353e173ccb0ca9e4bfbcf7e49a0134c86c9cd303"},+ {file = "coverage-7.7.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:d6874929d624d3a670f676efafbbc747f519a6121b581dd41d012109e70a5ebd"},+ {file = "coverage-7.7.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7ba5ff236c87a7b7aa1441a216caf44baee14cbfbd2256d306f926d16b026578"},+ {file = "coverage-7.7.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:452735fafe8ff5918236d5fe1feac322b359e57692269c75151f9b4ee4b7e1bc"},+ {file = "coverage-7.7.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f5f99a93cecf799738e211f9746dc83749b5693538fbfac279a61682ba309387"},+ {file = "coverage-7.7.1-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:11dd6f52c2a7ce8bf0a5f3b6e4a8eb60e157ffedc3c4b4314a41c1dfbd26ce58"},+ {file = "coverage-7.7.1-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:b52edb940d087e2a96e73c1523284a2e94a4e66fa2ea1e2e64dddc67173bad94"},+ {file = "coverage-7.7.1-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:d2e73e2ac468536197e6b3ab79bc4a5c9da0f078cd78cfcc7fe27cf5d1195ef0"},+ {file = "coverage-7.7.1-cp39-cp39-win32.whl", hash = "sha256:18f544356bceef17cc55fcf859e5664f06946c1b68efcea6acdc50f8f6a6e776"},+ {file = "coverage-7.7.1-cp39-cp39-win_amd64.whl", hash = "sha256:d66ff48ab3bb6f762a153e29c0fc1eb5a62a260217bc64470d7ba602f5886d20"},+ {file = "coverage-7.7.1-pp39.pp310.pp311-none-any.whl", hash = "sha256:5b7b02e50d54be6114cc4f6a3222fec83164f7c42772ba03b520138859b5fde1"},+ {file = "coverage-7.7.1-py3-none-any.whl", hash = "sha256:822fa99dd1ac686061e1219b67868e25d9757989cf2259f735a4802497d6da31"},+ {file = "coverage-7.7.1.tar.gz", hash = "sha256:199a1272e642266b90c9f40dec7fd3d307b51bf639fa0d15980dc0b3246c1393"},][[package]]@@ -286,7 +286,7 @@ name = "dataproperty"version = "1.1.0"requires_python = ">=3.9"summary = "Python library for extract property from data."-groups = ["dev"]+groups = ["test"]dependencies = ["mbstrdecoder<2,>=1.0.0","typepy[datetime]<2,>=1.3.2",@@ -319,7 +319,7 @@ name = "exceptiongroup"version = "1.2.2"requires_python = ">=3.7"summary = "Backport of PEP 654 (exception groups)"-groups = ["dev"]+groups = ["test"]marker = "python_version < \"3.11\""files = [{file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"},@@ -328,21 +328,21 @@ files = [[[package]]name = "flask"-version = "3.0.3"-requires_python = ">=3.8"+version = "3.1.0"+requires_python = ">=3.9"summary = "A simple framework for building complex web applications."-groups = ["default"]+groups = ["default", "dev"]dependencies = ["Jinja2>=3.1.2",- "Werkzeug>=3.0.0",- "blinker>=1.6.2",+ "Werkzeug>=3.1",+ "blinker>=1.9","click>=8.1.3",- "importlib-metadata>=3.6.0; python_version < \"3.10\"",- "itsdangerous>=2.1.2",+ "importlib-metadata>=3.6; python_version < \"3.10\"",+ "itsdangerous>=2.2",]files = [- {file = "flask-3.0.3-py3-none-any.whl", hash = "sha256:34e815dfaa43340d1d15a5c3a02b8476004037eb4840b34910c6e21679d288f3"},- {file = "flask-3.0.3.tar.gz", hash = "sha256:ceb27b0af3823ea2737928a4d99d125a06175b8512c445cbd9a9ce200ef76842"},+ {file = "flask-3.1.0-py3-none-any.whl", hash = "sha256:d667207822eb83f1c4b50949b1623c8fc8d51f2341d65f72e1a1815397551136"},+ {file = "flask-3.1.0.tar.gz", hash = "sha256:5f873c5184c897c8d9d1b05df1e3d01b14910ce69607a117bd3277098a5836ac"},][[package]]@@ -535,7 +535,7 @@ name = "idna"version = "3.10"requires_python = ">=3.6"summary = "Internationalized Domain Names in Applications (IDNA)"-groups = ["default"]+groups = ["default", "dev"]files = [{file = "idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3"},{file = "idna-3.10.tar.gz", hash = "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9"},@@ -546,7 +546,7 @@ name = "importlib-metadata"version = "8.6.1"requires_python = ">=3.9"summary = "Read metadata from Python packages"-groups = ["default"]+groups = ["default", "dev"]marker = "python_version < \"3.10\""dependencies = ["zipp>=3.20",@@ -561,7 +561,7 @@ name = "iniconfig"version = "2.1.0"requires_python = ">=3.8"summary = "brain-dead simple config-ini parsing"-groups = ["dev"]+groups = ["test"]files = [{file = "iniconfig-2.1.0-py3-none-any.whl", hash = "sha256:9deba5723312380e77435581c6bf4935c94cbfab9b1ed33ef8d238ea168eb760"},{file = "iniconfig-2.1.0.tar.gz", hash = "sha256:3abbd2e30b36733fee78f9c7f7308f2d0050e88f0087fd25c2645f63c773e1c7"},@@ -572,7 +572,7 @@ name = "itsdangerous"version = "2.2.0"requires_python = ">=3.8"summary = "Safely pass data to untrusted environments and back."-groups = ["default"]+groups = ["default", "dev"]files = [{file = "itsdangerous-2.2.0-py3-none-any.whl", hash = "sha256:c6242fc49e35958c8b15141343aa660db5fc54d4f13a1db01a3f5891b98700ef"},{file = "itsdangerous-2.2.0.tar.gz", hash = "sha256:e0050c0b7da1eea53ffaf149c0cfbb5c6e2e2b69c4bef22c81fa6eb73e5f6173"},@@ -583,7 +583,7 @@ name = "jinja2"version = "3.1.6"requires_python = ">=3.7"summary = "A very fast and expressive template engine."-groups = ["default"]+groups = ["default", "dev"]dependencies = ["MarkupSafe>=2.0",]@@ -597,7 +597,7 @@ name = "kombu"version = "5.3.7"requires_python = ">=3.8"summary = "Messaging library for Python."-groups = ["default"]+groups = ["default", "dev"]dependencies = ["amqp<6.0.0,>=5.1.1","typing-extensions; python_version < \"3.10\"",@@ -613,7 +613,7 @@ name = "markupsafe"version = "3.0.2"requires_python = ">=3.9"summary = "Safely add untrusted strings to HTML/XML markup."-groups = ["default"]+groups = ["default", "dev"]files = [{file = "MarkupSafe-3.0.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:7e94c425039cde14257288fd61dcfb01963e658efbc0ff54f5306b06054700f8"},{file = "MarkupSafe-3.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9e2d922824181480953426608b81967de705c3cef4d1af983af849d7bd619158"},@@ -653,7 +653,7 @@ name = "mbstrdecoder"version = "1.1.4"requires_python = ">=3.9"summary = "mbstrdecoder is a Python library for multi-byte character string decoder"-groups = ["dev"]+groups = ["test"]dependencies = ["chardet<6,>=3.0.4",]@@ -667,7 +667,7 @@ name = "packaging"version = "24.2"requires_python = ">=3.8"summary = "Core utilities for Python packages"-groups = ["default", "deploy", "dev"]+groups = ["default", "deploy", "test"]files = [{file = "packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759"},{file = "packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f"},@@ -678,7 +678,7 @@ name = "pathvalidate"version = "3.2.3"requires_python = ">=3.9"summary = "pathvalidate is a Python library to sanitize/validate a string such as filenames/file-paths/etc."-groups = ["dev"]+groups = ["test"]files = [{file = "pathvalidate-3.2.3-py3-none-any.whl", hash = "sha256:5eaf0562e345d4b6d0c0239d0f690c3bd84d2a9a3c4c73b99ea667401b27bee1"},{file = "pathvalidate-3.2.3.tar.gz", hash = "sha256:59b5b9278e30382d6d213497623043ebe63f10e29055be4419a9c04c721739cb"},@@ -689,7 +689,7 @@ name = "pluggy"version = "1.5.0"requires_python = ">=3.8"summary = "plugin and hook calling mechanisms for python"-groups = ["dev"]+groups = ["test"]files = [{file = "pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669"},{file = "pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1"},@@ -730,7 +730,7 @@ name = "pytablewriter"version = "1.2.1"requires_python = ">=3.9"summary = "pytablewriter is a Python library to write a table in various formats: AsciiDoc / CSV / Elasticsearch / HTML / JavaScript / JSON / LaTeX / LDJSON / LTSV / Markdown / MediaWiki / NumPy / Excel / Pandas / Python / reStructuredText / SQLite / TOML / TSV / YAML."-groups = ["dev"]+groups = ["test"]dependencies = ["DataProperty<2,>=1.1.0","mbstrdecoder<2,>=1.0.0",@@ -750,7 +750,7 @@ name = "pytest"version = "8.3.5"requires_python = ">=3.8"summary = "pytest: simple powerful testing with Python"-groups = ["dev"]+groups = ["test"]dependencies = ["colorama; sys_platform == \"win32\"","exceptiongroup>=1.0.0rc8; python_version < \"3.11\"",@@ -769,7 +769,7 @@ name = "pytest-cov"version = "6.0.0"requires_python = ">=3.9"summary = "Pytest plugin for measuring coverage."-groups = ["dev"]+groups = ["test"]dependencies = ["coverage[toml]>=7.5","pytest>=4.6",@@ -784,7 +784,7 @@ name = "pytest-md-report"version = "0.6.3"requires_python = ">=3.9"summary = "A pytest plugin to generate test outcomes reports with markdown table format."-groups = ["dev"]+groups = ["test"]dependencies = ["pytablewriter<2,>=1.2.0","pytest!=6.0.0,<9,>=3.3.2",@@ -801,7 +801,7 @@ name = "pytest-mock"version = "3.14.0"requires_python = ">=3.8"summary = "Thin-wrapper around the mock package for easier use with pytest"-groups = ["dev"]+groups = ["test"]dependencies = ["pytest>=6.2.5",]@@ -815,7 +815,7 @@ name = "python-dateutil"version = "2.9.0.post0"requires_python = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7"summary = "Extensions to the standard Python datetime module"-groups = ["dev"]+groups = ["test"]dependencies = ["six>=1.5",]@@ -826,23 +826,23 @@ files = [[[package]]name = "python-dotenv"-version = "1.0.0"+version = "1.0.1"requires_python = ">=3.8"summary = "Read key-value pairs from a .env file and set them as environment variables"groups = ["default"]files = [- {file = "python-dotenv-1.0.0.tar.gz", hash = "sha256:a8df96034aae6d2d50a4ebe8216326c61c3eb64836776504fcca410e5937a3ba"},- {file = "python_dotenv-1.0.0-py3-none-any.whl", hash = "sha256:f5971a9226b701070a4bf2c38c89e5a3f0d64de8debda981d1db98583009122a"},+ {file = "python-dotenv-1.0.1.tar.gz", hash = "sha256:e324ee90a023d808f1959c46bcbc04446a10ced277783dc6ee09987c37ec10ca"},+ {file = "python_dotenv-1.0.1-py3-none-any.whl", hash = "sha256:f7b63ef50f1b690dddf550d03497b66d609393b40b564ed0d674909a68ebf16a"},][[package]]name = "pytz"-version = "2025.1"+version = "2025.2"summary = "World timezone definitions, modern and historical"-groups = ["dev"]+groups = ["test"]files = [- {file = "pytz-2025.1-py2.py3-none-any.whl", hash = "sha256:89dd22dca55b46eac6eda23b2d72721bf1bdfef212645d81513ef5d03038de57"},- {file = "pytz-2025.1.tar.gz", hash = "sha256:c2db42be2a2518b28e65f9207c4d05e6ff547d1efa4086469ef855e4ab70178e"},+ {file = "pytz-2025.2-py2.py3-none-any.whl", hash = "sha256:5ddf76296dd8c44c26eb8f4b6f35488f3ccbf6fbbd7adee0b7262d43f0ec2f00"},+ {file = "pytz-2025.2.tar.gz", hash = "sha256:360b9e3dbb49a209c21ad61809c7fb453643e048b38924c765813546746e81c3"},][[package]]@@ -867,7 +867,7 @@ name = "redis"version = "5.2.1"requires_python = ">=3.8"summary = "Python client for Redis database and key-value store"-groups = ["default"]+groups = ["default", "dev"]dependencies = ["async-timeout>=4.0.3; python_full_version < \"3.11.3\"",]@@ -881,7 +881,7 @@ name = "requests"version = "2.31.0"requires_python = ">=3.7"summary = "Python HTTP for Humans."-groups = ["default"]+groups = ["default", "dev"]dependencies = ["certifi>=2017.4.17","charset-normalizer<4,>=2",@@ -895,13 +895,13 @@ files = [[[package]]name = "setuptools"-version = "77.0.3"+version = "78.0.2"requires_python = ">=3.9"summary = "Easily download, build, install, upgrade, and uninstall Python packages"-groups = ["default", "deploy", "dev"]+groups = ["default", "deploy", "test"]files = [- {file = "setuptools-77.0.3-py3-none-any.whl", hash = "sha256:67122e78221da5cf550ddd04cf8742c8fe12094483749a792d56cd669d6cf58c"},- {file = "setuptools-77.0.3.tar.gz", hash = "sha256:583b361c8da8de57403743e756609670de6fb2345920e36dc5c2d914c319c945"},+ {file = "setuptools-78.0.2-py3-none-any.whl", hash = "sha256:4a612c80e1f1d71b80e4906ce730152e8dec23df439f82731d9d0b608d7b700d"},+ {file = "setuptools-78.0.2.tar.gz", hash = "sha256:137525e6afb9022f019d6e884a319017f9bf879a0d8783985d32cbc8683cab93"},][[package]]@@ -909,7 +909,7 @@ name = "six"version = "1.17.0"requires_python = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7"summary = "Python 2 and 3 compatibility utilities"-groups = ["dev"]+groups = ["test"]files = [{file = "six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274"},{file = "six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81"},@@ -920,7 +920,7 @@ name = "tabledata"version = "1.3.4"requires_python = ">=3.9"summary = "tabledata is a Python library to represent tabular data. Used for pytablewriter/pytablereader/SimpleSQLite/etc."-groups = ["dev"]+groups = ["test"]dependencies = ["DataProperty<2,>=1.0.1","typepy<2,>=1.2.0",@@ -935,7 +935,7 @@ name = "tcolorpy"version = "0.1.7"requires_python = ">=3.9"summary = "tcolopy is a Python library to apply true color for terminal text."-groups = ["dev"]+groups = ["test"]files = [{file = "tcolorpy-0.1.7-py3-none-any.whl", hash = "sha256:26a59d52027e175a37e0aba72efc99dda43f074db71f55b316d3de37d3251378"},{file = "tcolorpy-0.1.7.tar.gz", hash = "sha256:0fbf6bf238890bbc2e32662aa25736769a29bf6d880328f310c910a327632614"},@@ -946,7 +946,7 @@ name = "tomli"version = "2.2.1"requires_python = ">=3.8"summary = "A lil' TOML parser"-groups = ["dev"]+groups = ["test"]marker = "python_version < \"3.11\""files = [{file = "tomli-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:678e4fa69e4575eb77d103de3df8a895e1591b48e740211bd1067378c69e8249"},@@ -968,7 +968,7 @@ name = "typepy"version = "1.3.4"requires_python = ">=3.9"summary = "typepy is a Python library for variable type checker/validator/converter at a run time."-groups = ["dev"]+groups = ["test"]dependencies = ["mbstrdecoder<2,>=1.0.0",]@@ -983,7 +983,7 @@ version = "1.3.4"extras = ["datetime"]requires_python = ">=3.9"summary = "typepy is a Python library for variable type checker/validator/converter at a run time."-groups = ["dev"]+groups = ["test"]dependencies = ["packaging","python-dateutil<3.0.0,>=2.8.0",@@ -1000,7 +1000,7 @@ name = "typing-extensions"version = "4.12.2"requires_python = ">=3.8"summary = "Backported and Experimental Type Hints for Python 3.8+"-groups = ["default"]+groups = ["default", "dev"]marker = "python_version < \"3.10\""files = [{file = "typing_extensions-4.12.2-py3-none-any.whl", hash = "sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d"},@@ -1011,15 +1011,30 @@ files = [name = "unstract-core"version = "0.0.1"requires_python = ">=3.9,<3.11.1"+editable = truepath = "../unstract/core"summary = "Core library that helps with executing workflows."-groups = ["default"]+groups = ["default", "dev"]dependencies = ["kombu==5.3.7","redis~=5.2.1","requests==2.31.0",]+[[package]]+name = "unstract-core"+version = "0.0.1"+extras = ["flask"]+requires_python = ">=3.9,<3.11.1"+editable = true+path = "../unstract/core"+summary = "Core library that helps with executing workflows."+groups = ["default", "dev"]+dependencies = [+ "-e file:///${PROJECT_ROOT}/../unstract/core#egg=unstract-core",+ "flask~=3.1.0",+]+[[package]]name = "unstract-flags"version = "0.0.1"@@ -1037,7 +1052,7 @@ name = "urllib3"version = "2.3.0"requires_python = ">=3.9"summary = "HTTP library with thread-safe connection pooling, file post, and more."-groups = ["default"]+groups = ["default", "dev"]files = [{file = "urllib3-2.3.0-py3-none-any.whl", hash = "sha256:1cee9ad369867bfdbbb48b7dd50374c0967a0bb7710050facf0dd6911440e3df"},{file = "urllib3-2.3.0.tar.gz", hash = "sha256:f8c5449b3cf0861679ce7e0503c7b44b5ec981bec0d1d3795a07f1ba96f0204d"},@@ -1048,7 +1063,7 @@ name = "vine"version = "5.1.0"requires_python = ">=3.6"summary = "Python promises."-groups = ["default"]+groups = ["default", "dev"]files = [{file = "vine-5.1.0-py3-none-any.whl", hash = "sha256:40fdf3c48b2cfe1c38a49e9ae2da6fda88e4794c810050a728bd7413811fb1dc"},{file = "vine-5.1.0.tar.gz", hash = "sha256:8b62e981d35c41049211cf62a0a1242d8c1ee9bd15bb196ce38aefd6799e61e0"},@@ -1070,7 +1085,7 @@ name = "werkzeug"version = "3.1.3"requires_python = ">=3.9"summary = "The comprehensive WSGI web application library."-groups = ["default"]+groups = ["default", "dev"]dependencies = ["MarkupSafe>=2.1.1",]@@ -1084,7 +1099,7 @@ name = "zipp"version = "3.21.0"requires_python = ">=3.9"summary = "Backport of pathlib-compatible object wrapper for zip files"-groups = ["default"]+groups = ["default", "dev"]marker = "python_version < \"3.10\""files = [{file = "zipp-3.21.0-py3-none-any.whl", hash = "sha256:ac1bbe05fd2991f160ebce24ffbac5f6d11d83dc90891255885223d42b3cd931"},diff --git a/runner/pyproject.toml b/runner/pyproject.tomlindex 0468e4eb7..71d861625 100644--- a/runner/pyproject.toml+++ b/runner/pyproject.toml@@ -7,10 +7,10 @@ authors = []dependencies = ["docker==6.1.3",- "flask~=3.0.0",- "python-dotenv==1.0.0",+ "flask~=3.1.0",+ "python-dotenv>=1.0.0","redis~=5.2.1",- "unstract-core @ file:///${PROJECT_ROOT}/../unstract/core",+ "unstract-core[flask] @ file:///${PROJECT_ROOT}/../unstract/core","unstract-flags @ file:///${PROJECT_ROOT}/../unstract/flags",]requires-python = ">=3.9,<3.11.1"@@ -30,12 +30,15 @@ deploy = ["gunicorn[gevent]>=21.2.0",]-dev = [+test = ["pytest>=8.2.2","pytest-mock>=3.14.0","pytest-cov>=5.0.0","pytest-md-report>=0.6.2",]+dev = [+ "-e unstract-core[flask] @ file:///${PROJECT_ROOT}/../unstract/core",+][tool.pdm.scripts]@@ -44,7 +47,7 @@ runner.cmd = "./entrypoint.sh"runner.env_file = ".env"runner.help = "Runs the Unstract tool runner (Gunicorn)"# Runs the service with flask-runner-flask.cmd = "flask --app src/unstract/runner/main.py run --port 5002"+runner-flask.cmd = "flask run"runner-flask.env_file = ".env"runner-flask.help = "Runs the Unstract tool runner (Flask)"# Run tests for this servicediff --git a/runner/sample.env b/runner/sample.envindex 628070ec7..67659df86 100644--- a/runner/sample.env+++ b/runner/sample.env@@ -32,3 +32,16 @@ WORKFLOW_EXECUTION_DIR_PREFIX="unstract/execution"# Storage Provider for Workflow Execution# Valid options: MINIO, S3, etc..WORKFLOW_EXECUTION_FILE_STORAGE_CREDENTIALS='{"provider": "minio", "credentials": {"endpoint_url": "http://unstract-minio:9000", "key": "minio", "secret": "minio123"}}'++# For unified notification+REDIS_HOST=unstract-redis+REDIS_PORT=6379+REDIS_USER=default+REDIS_PASSWORD=++# Flask related envs+# Can be 'production' or 'development'+FLASK_ENV=production+FLASK_RUN_HOST=0.0.0.0+FLASK_RUN_PORT=5002+FLASK_APP=unstract.runner:appdiff --git a/runner/src/unstract/runner/__init__.py b/runner/src/unstract/runner/__init__.pyindex 12c3e4055..ed26fc9c9 100644--- a/runner/src/unstract/runner/__init__.py+++ b/runner/src/unstract/runner/__init__.py@@ -1,3 +1,29 @@-from .runner import UnstractRunner+import logging+import os++from flask import Flask+from unstract.runner.constants import LogLevel+from unstract.runner.runner import UnstractRunner++from unstract.core.flask import register_error_handlers, register_request_id_middleware+from unstract.core.flask.logging import setup_logging++from .controller import api++app = Flask(__name__)++# Configure logging+log_level = os.getenv("LOG_LEVEL", LogLevel.INFO).upper()+log_level = getattr(logging, log_level, logging.INFO)+setup_logging(log_level)++# Register error handlers+register_error_handlers(app)++# Register middleware+register_request_id_middleware(app)++# Register URL routes+app.register_blueprint(api)__all__ = ["UnstractRunner"]diff --git a/runner/src/unstract/runner/controller/__init__.py b/runner/src/unstract/runner/controller/__init__.pynew file mode 100644index 000000000..c80b8e8ee--- /dev/null+++ b/runner/src/unstract/runner/controller/__init__.py@@ -0,0 +1,9 @@+from flask import Blueprint++from .health import health_bp+from .run import run_bp++api = Blueprint("api", __name__)++api.register_blueprint(blueprint=health_bp, url_prefix="/v1/api")+api.register_blueprint(blueprint=run_bp, url_prefix="/v1/api")diff --git a/runner/src/unstract/runner/controller/health.py b/runner/src/unstract/runner/controller/health.pynew file mode 100644index 000000000..1bacc15ea--- /dev/null+++ b/runner/src/unstract/runner/controller/health.py@@ -0,0 +1,15 @@+import logging++from flask import Blueprint, Response, jsonify++logger = logging.getLogger(__name__)++# Define a Blueprint with a root URL path+health_bp = Blueprint("health", __name__)+++# Define a route to ping test+@health_bp.route("/ping", methods=["GET"])+def ping() -> Response:+ logger.info("Ping request received")+ return jsonify({"message": "pong!!!"})diff --git a/runner/src/unstract/runner/main.py b/runner/src/unstract/runner/controller/run.pysimilarity index 70%rename from runner/src/unstract/runner/main.pyrename to runner/src/unstract/runner/controller/run.pyindex 43dd1dcb9..8d2188cce 100644--- a/runner/src/unstract/runner/main.py+++ b/runner/src/unstract/runner/controller/run.py@@ -1,26 +1,16 @@from typing import Any, Optional-from flask import Blueprint, Flask, Response, abort, jsonify, request-from unstract.runner import UnstractRunner-from unstract.runner.utils import Utils--app = Flask(__name__)--log_level = Utils.get_log_level()-app.logger.setLevel(log_level.value)+from flask import Blueprint, abort+from flask import current_app as app+from flask import request+from unstract.runner.runner import UnstractRunner# Define a Blueprint with a root URL path-bp = Blueprint("v1", __name__, url_prefix="/v1/api")---# Define a route to ping test[email protected]("/ping", methods=["GET"])-def get_items() -> Response:- return jsonify({"message": "pong!!!"})+run_bp = Blueprint("run", __name__)# Run container[email protected]("container/run", methods=["POST"])+@run_bp.route("container/run", methods=["POST"])def run_container() -> Optional[Any]:data = request.get_json()image_name = data["image_name"]@@ -48,7 +38,7 @@ def run_container() -> Optional[Any]:return result[email protected]("container/<command>", methods=["GET"])+@run_bp.route("container/<command>", methods=["GET"])def run_command(command: str) -> Optional[Any]:"""Endpoint which will can execute any of the below commands.@@ -66,10 +56,3 @@ def run_command(command: str) -> Optional[Any]:runner = UnstractRunner(image_name, image_tag, app)return runner.run_command(command)---# Register the Blueprint with the Flask app-app.register_blueprint(bp)--if __name__ == "__main__":- app.run(debug=True)diff --git a/runner/src/unstract/runner/routes.py b/runner/src/unstract/runner/routes.pynew file mode 100644index 000000000..89bed5ad1--- /dev/null+++ b/runner/src/unstract/runner/routes.py@@ -0,0 +1,8 @@+from flask import Flask++from .controller import health_bp, run_bp+++def register_blueprints(app: Flask):+ app.register_blueprint(blueprint=health_bp, url_prefix="/v1/api")+ app.register_blueprint(blueprint=run_bp, url_prefix="/v1/api")diff --git a/unstract/core/src/unstract/core/flask/logging.py b/unstract/core/src/unstract/core/flask/logging.pyindex 9fbf0a557..852eaef0f 100644--- a/unstract/core/src/unstract/core/flask/logging.py+++ b/unstract/core/src/unstract/core/flask/logging.py@@ -1,4 +1,5 @@import logging+from logging.config import dictConfigfrom flask import g@@ -17,7 +18,7 @@ def setup_logging(log_level: str):log_level (str): Log level to use. Can be one ofINFO, DEBUG, WARNING, ERROR"""- logging.config.dictConfig(+ dictConfig({"version": 1,"disable_existing_loggers": False,diff --git a/unstract/tool-sandbox/src/unstract/tool_sandbox/helper.py b/unstract/tool-sandbox/src/unstract/tool_sandbox/helper.pyindex 39a3887bf..842baa4ef 100644--- a/unstract/tool-sandbox/src/unstract/tool_sandbox/helper.py+++ b/unstract/tool-sandbox/src/unstract/tool_sandbox/helper.py@@ -89,11 +89,14 @@ class ToolSandboxHelper:Optional[dict[str, Any]]: tool response"""url = f"{self.base_url}{UnstractRunner.RUN_API_ENDPOINT}"+ headers = {+ "X-Request-ID": file_execution_id,+ }data = self.create_tool_request_data(file_execution_id, image_name, image_tag, settings, retry_count)- response = requests.post(url, json=data)+ response = requests.post(url, headers=headers, json=data)result: Optional[dict[str, Any]] = Noneif response.status_code == 200:result = response.json()