diff --git a/.gitattributes b/.gitattributes index 0e2342d3e994e9109f97cf725068a5b7d6a04272..1e24d293baf0ed34e434b18cf666c4b41dfb6edb 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4052,3 +4052,6 @@ tool_server/.venv/lib/python3.12/site-packages/pycountry/locales/uk/LC_MESSAGES/ tool_server/.venv/lib/python3.12/site-packages/pycountry/locales/vi/LC_MESSAGES/iso3166-2.mo filter=lfs diff=lfs merge=lfs -text tool_server/.venv/lib/python3.12/site-packages/pycountry/locales/zh_CN/LC_MESSAGES/iso3166-2.mo filter=lfs diff=lfs merge=lfs -text tool_server/.venv/lib/python3.12/site-packages/google/_upb/_message.abi3.so filter=lfs diff=lfs merge=lfs -text +tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/descriptor_pb2.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text +tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/Image.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text +tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/TiffImagePlugin.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/AvifImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/AvifImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ecff5f5b03e468742de461b2f6bc09345938070d Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/AvifImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/BdfFontFile.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/BdfFontFile.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bb5317062d8245b7297e0d8e1227c0ce40fdd7c6 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/BdfFontFile.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/BlpImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/BlpImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5abb9ea13217baf8abd7a4a8565e8d73bfb08e2a Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/BlpImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/BmpImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/BmpImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5105b29dfe02076ca87a1dba64cbe5fc202e9234 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/BmpImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/BufrStubImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/BufrStubImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d8dd5b964bb7b74ec05db718167f06ebd2c76b84 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/BufrStubImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ContainerIO.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ContainerIO.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5bdac813c3cfb501fbdb8281d829c6ed9c11e07d Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ContainerIO.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/CurImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/CurImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bade3b585e96c1e3895ddc031c0b356a005c72a4 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/CurImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/DcxImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/DcxImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8e07b01ea2636ef2a08a6f9150aeeffb88595f38 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/DcxImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/DdsImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/DdsImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5e6e9a3596712b8aa163c7773332f2eeb7be88dd Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/DdsImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/EpsImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/EpsImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4cab91b20d5514711a8cd2d30bcb574753cfbb28 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/EpsImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ExifTags.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ExifTags.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f89ecaf51d6e5777dd83a88486500170febb6d31 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ExifTags.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/FitsImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/FitsImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..858be167d9c2770099c57d999ddfdd448c576340 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/FitsImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/FliImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/FliImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..59f1842e8ca71ddfba2fb229ceba5f4c4fa2f8c7 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/FliImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/FontFile.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/FontFile.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f81f7748dd2e381e90f1fe1da0a3db6e5ca9495c Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/FontFile.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/FpxImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/FpxImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..29b716125a5800dc93ab2777c50ad57d18702c29 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/FpxImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/FtexImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/FtexImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4c80760767afb1a227a2525cb19c4bce263f7f86 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/FtexImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/GbrImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/GbrImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d7c423a1a3de576d415bd95cacdad0d074c64517 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/GbrImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/GdImageFile.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/GdImageFile.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4aa1a0a79a612a570caca8f71820363bf26df0d0 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/GdImageFile.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/GifImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/GifImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a4c6f3ae5b2daa71a3de5b554e7d9bbe027003f1 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/GifImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/GimpGradientFile.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/GimpGradientFile.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..54a0e42e537650c61d76f2d42c265cc22c18a743 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/GimpGradientFile.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/GimpPaletteFile.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/GimpPaletteFile.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..50b3b802114c0179da3de0872db181a317a74b01 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/GimpPaletteFile.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/GribStubImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/GribStubImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8a598f6616508ee24effebc8792599409e27597a Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/GribStubImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/Hdf5StubImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/Hdf5StubImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e6ebbcadd303bf7657a4d3762d3a25ef8ae86664 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/Hdf5StubImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/IcnsImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/IcnsImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..14cdc862693709ea3c7667b861c95e863685bc4a Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/IcnsImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/IcoImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/IcoImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c3c2a45d8ba98788e24fa06573a4fe7230f4a75e Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/IcoImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e3b2cf69a4a9b51a11ba5e53aaeba092ab8987ee Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/Image.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/Image.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..10e7cb928e265df48618cd80ca239e8624c2eaf3 --- /dev/null +++ b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/Image.cpython-312.pyc @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6673ae41f90e7c04f9e07366e4a56562c301cdc5a6393c0c63d54462007fccc9 +size 175500 diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageChops.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageChops.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f8bdf40a5ccece3fbcd333dd6faadbf3ab34d52c Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageChops.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageCms.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageCms.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a003a8907d14a99cc2bc2f6e15eab2fbe2cc45e1 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageCms.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageColor.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageColor.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2b181ed7091fab663adf255c53c5ef0c05377b40 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageColor.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageDraw.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageDraw.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5ba2156dac733631e79163e4d7da630f0d8abfbf Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageDraw.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageDraw2.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageDraw2.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b06dc2209945c4fad5b391b981be70578918ca98 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageDraw2.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageEnhance.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageEnhance.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8f7897f07995d1868207e0ad7436bf040ba9f291 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageEnhance.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageFile.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageFile.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..505e3b342c9158b7f2b52345a57660d3c1586ef1 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageFile.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageFilter.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageFilter.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3672f33e0394b68b0c52a0ea26220fd37ffdc573 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageFilter.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageFont.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageFont.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..310642f7d765b9876b355fce2535406565bdaf29 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageFont.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageGrab.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageGrab.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c4f9784f6924a1fa87a3eefa94c34f2aad968e16 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageGrab.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageMath.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageMath.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5f1f064e05f2f361b5b835eebf8c393a8e4ff585 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageMath.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageMode.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageMode.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9d13cd7c3f1178e96f811a5d3e6a64fc1ed4f63e Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageMode.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageMorph.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageMorph.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..01c6f776351bd51852a49d49b160b54f569396e2 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageMorph.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageOps.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageOps.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1b7a65ac99567907c991dd748287758fadfa0613 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageOps.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImagePalette.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImagePalette.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..693004b560c8b2914d66e6ce1bb6587c0ac335dc Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImagePalette.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImagePath.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImagePath.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0f5fce882cea4a8f75375436b6b9c9fbc8cbdeaf Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImagePath.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageQt.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageQt.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..16a81ca236b030b211ec8ea5b288f2376c6d8983 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageQt.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageSequence.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageSequence.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e1f306a40a334bc055d66acba901e81df6483d5f Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageSequence.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageShow.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageShow.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..91eaf4897923f0d23e187af3e79f797554fc6402 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageShow.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageStat.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageStat.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2f5b260eeb9b78e09a91917cf2b179f2c813fa5f Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageStat.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageTk.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageTk.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..09d6103c8acb7638a1e9e02494f97a1541eca39e Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageTk.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageTransform.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageTransform.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ad602a488db659b6bfe9c15fd794f8d227451a2b Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageTransform.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageWin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageWin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d1ca162728afd8b47ead4af55e4dbe787b03bbce Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImageWin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImtImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImtImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..71cc1a5c9552de6a64fa76b76084fa73a29c2eee Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/ImtImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/IptcImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/IptcImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b1cb7f3f5fe2dff930fcc41b626160834196c808 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/IptcImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/Jpeg2KImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/Jpeg2KImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3eaf23716ef1fcb5a3caf7b0ed2bd6b6ddb21942 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/Jpeg2KImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/JpegImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/JpegImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..be416abaabcdbf139d1b2fa68fb93600e3dfcf8d Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/JpegImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/JpegPresets.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/JpegPresets.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5a33d3f5fbab3f4b98cf34068e858ec33c1cce37 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/JpegPresets.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/McIdasImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/McIdasImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..973daf6c4f80339ad96d28a09c2f2aca2807b744 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/McIdasImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/MicImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/MicImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1f3869f17bfc40f23e65f033e0922c02bf91f4b0 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/MicImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/MpegImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/MpegImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e42c07e220068f42879d3d18b3fa4d1d62548dd0 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/MpegImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/MpoImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/MpoImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bbbb41d14cc8e70d493aa621d27994cb8768e811 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/MpoImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/MspImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/MspImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9e267e983de2ffea4a8653df465da608b3ed637e Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/MspImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PSDraw.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PSDraw.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1d139d7bfcb71a0b3aae55f5cf55c3ca977c6aa8 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PSDraw.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PaletteFile.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PaletteFile.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..563ff63d409d4193b363234a4c623501b7f6b27c Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PaletteFile.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PalmImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PalmImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1698da8e980f8ec5ee4de6c2504be3ef9f53aedf Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PalmImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PcdImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PcdImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..688db123e978efce49bf5324e3f5c8d6523c3729 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PcdImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PcfFontFile.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PcfFontFile.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..646dde4ea7ba4f57efa8b6d64c47a46be595dee8 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PcfFontFile.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PcxImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PcxImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7c1db32afcd626d55ae3b91fe929d1cdffc8ba9d Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PcxImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PdfImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PdfImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..97cc85798dc2db62e5907db14453620805dbea23 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PdfImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PdfParser.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PdfParser.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..97dfd8873466532e37318e5bdcf1f21ac3fd418e Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PdfParser.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PixarImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PixarImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a0008df3eb7aa03e34e7c32f2eb48c07d0d843c9 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PixarImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PngImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PngImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1b8181c8db89ff37694b01b3c1e9ac3c7f161957 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PngImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PpmImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PpmImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..df7156c4511b3f5daf355f670f96c9cb0330a1b2 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PpmImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PsdImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PsdImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9aafc97a2c61f9eda118cee328bbf51a6d944d7a Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/PsdImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/QoiImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/QoiImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..43ae70f000e83a81c6c9400b97c038f4468ccdbe Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/QoiImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/SgiImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/SgiImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..20834844ab7b8e41f3327570940e7607e889e933 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/SgiImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/SpiderImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/SpiderImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..76c1720f99348eed7bc4bd3137994cc907691299 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/SpiderImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/SunImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/SunImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b553013f2037f712fad57e6d9cd4aeda66203052 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/SunImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/TarIO.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/TarIO.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5364375b09b8d0829cbd3b013ea19a55ed4f234d Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/TarIO.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/TgaImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/TgaImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8f5a3d708c5fed0a4b6af360f29ed90625098356 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/TgaImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/TiffImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/TiffImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c7cac46eb7b7764efde5581bd6f60d60313cedcc --- /dev/null +++ b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/TiffImagePlugin.cpython-312.pyc @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:806bcee995d82f8216e9c173b1345b551092de5551a9f0bba7418059184d54c6 +size 101579 diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/TiffTags.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/TiffTags.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..207e2436f9137de0663f049ee55cd8fd76502a29 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/TiffTags.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/WalImageFile.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/WalImageFile.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ca52995f5cfcf8f9f0139419e3abd7c9336d63d4 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/WalImageFile.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/WebPImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/WebPImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4eaa9775719b87e6e63f0901ca2e6b414dc69d3a Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/WebPImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/WmfImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/WmfImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e9726a3b9223889593ed2850df93751e6ae9b307 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/WmfImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/XVThumbImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/XVThumbImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2d34417e7e1153a7050898248a656e71cac796ef Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/XVThumbImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/XbmImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/XbmImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..aa5b04a4cd3ef7ebc574865a5d709b49bab141f3 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/XbmImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/XpmImagePlugin.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/XpmImagePlugin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d021e22c997c7d63120eb56c4ef894d273edfff3 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/XpmImagePlugin.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/__init__.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d39df9503174655c2a8e4dd561e6ceddc5778c49 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/__init__.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/__main__.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/__main__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..83ae3dbbf1a6ada2163a76bbc19d80e23aee0eb1 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/__main__.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/_binary.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/_binary.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9d5156a80088bdea83e37ec4fbb7648c04872cf9 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/_binary.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/_deprecate.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/_deprecate.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ab91c23255f57f273ebf6fca49febf90f0d5ab12 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/_deprecate.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/_tkinter_finder.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/_tkinter_finder.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2adfd53378f65abeb1d764977b1be77a0bfe4601 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/_tkinter_finder.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/_typing.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/_typing.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..788b7e31699ccbd55e4c32976db32a4f42ed6a2f Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/_typing.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/_util.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/_util.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0504351aadbf0d4b8a6ab0944512d26d6593673e Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/_util.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/_version.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/_version.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3938c4b62b25edc9fad68cf4bee2bdde849f9a88 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/_version.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/features.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/features.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a1e9ccb5925229b7720d299a6cab78c326fb2534 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/features.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/report.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/report.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1a3ceb431d83c5e67143ff652d5950ebb3bfa3d8 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/PIL/__pycache__/report.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/__init__.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d2beb414682d5f46bbe16973497c01a8d4776fe6 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/__init__.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/any.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/any.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..026e43da60cb5bd5842eb73f1c787aa9e532f541 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/any.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/any_pb2.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/any_pb2.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c8793cb867ed142325c1f4f4fc5f61a1d7cbc8ce Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/any_pb2.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/api_pb2.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/api_pb2.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ed346c5772522efc1880f9fce78dd624053ccb0c Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/api_pb2.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/descriptor.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/descriptor.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8530f2d68ee5cd03f2bf6019cd09aca44d5009d1 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/descriptor.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/descriptor_database.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/descriptor_database.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6c8daf517e4f98445a84173a16b37d8f1001c258 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/descriptor_database.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/descriptor_pb2.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/descriptor_pb2.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..512b0f519f3a3b6cee8de4929f9e087ac9361634 --- /dev/null +++ b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/descriptor_pb2.cpython-312.pyc @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8d9b4fdd5007aa25c2f56c3423476d9c1e0beb4a4823d5cb2e48f8ec9051cf8 +size 342879 diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/descriptor_pool.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/descriptor_pool.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3ee582762f5829b7791cf01bd686543ea027be91 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/descriptor_pool.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/duration.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/duration.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e362d1d3e27cc579a06d88259231ce7fdbbc5c63 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/duration.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/duration_pb2.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/duration_pb2.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..18c8790285e8f576674d4a2a765143a30d5a61c9 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/duration_pb2.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/empty_pb2.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/empty_pb2.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b2cb68ce441f1274317d86d8f5f61812153f8f3a Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/empty_pb2.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/field_mask_pb2.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/field_mask_pb2.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a321f073208d55f4080991fbda3da14b1b7f5949 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/field_mask_pb2.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/json_format.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/json_format.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..106abaaed68cbfa9e15f09de00f199c31aa9f462 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/json_format.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/message.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/message.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..60263516954ca43f5f9d71d416df236b92a2fe66 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/message.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/message_factory.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/message_factory.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7b6421fc6f8d7315650cf0f0d31403575837276d Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/message_factory.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/proto.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/proto.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..afe1efef68784f71f7bcc4a589bc3f4742d30f8b Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/proto.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/proto_builder.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/proto_builder.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e5e506c0e104a34f343ad244b9a393efb2b7b26b Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/proto_builder.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/proto_json.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/proto_json.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..685b2df6d7148b7212f0a4ffb9e50da9c408c497 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/proto_json.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/proto_text.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/proto_text.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b0bab19ec503d2ac3e9a064da3180f762440e8cd Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/proto_text.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/reflection.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/reflection.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..23b5b29dabb8133c200e54cfffba26152851f774 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/reflection.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/runtime_version.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/runtime_version.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d70f708754345c41ae292bb8a425188be857809f Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/runtime_version.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/service_reflection.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/service_reflection.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3d17f2e509ee85f2a4bf57582ad3f81ee9c3eb83 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/service_reflection.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/source_context_pb2.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/source_context_pb2.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5409406af6dea4802c59248ba876b39ba974336c Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/source_context_pb2.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/struct_pb2.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/struct_pb2.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..910a23195faabcf12987b2a128c70718f9b61b08 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/struct_pb2.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/symbol_database.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/symbol_database.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1427e4667440fac834b2152fdae5402b4a96bc1a Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/symbol_database.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/text_encoding.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/text_encoding.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..91893a2cc34073eda19b6183f155e1d4992e9ab1 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/text_encoding.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/text_format.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/text_format.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b00a9fee700834200b030c01a7b69efc75bfe0c2 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/text_format.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/timestamp.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/timestamp.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..72878fc5089f7baec597434d04a68ca654ba14d7 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/timestamp.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/timestamp_pb2.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/timestamp_pb2.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..66251b86b82616162bfaab3eec90b7a04e95d815 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/timestamp_pb2.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/type_pb2.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/type_pb2.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bd63002826c44b0f35991c29d55bb5bd8b002910 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/type_pb2.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/unknown_fields.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/unknown_fields.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6316da1bd33c7ed0e8470a23c9a9286f66ae6863 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/unknown_fields.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/wrappers_pb2.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/wrappers_pb2.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fbd6620e74e6eece26902e43d43aa6cc8efd0b16 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/__pycache__/wrappers_pb2.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/compiler/__pycache__/__init__.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/compiler/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b7b6f3c9ec7c494030743a8470ba28a2b6701e39 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/compiler/__pycache__/__init__.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/compiler/__pycache__/plugin_pb2.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/compiler/__pycache__/plugin_pb2.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..07fdd26ca6f55eb204dfca9e6f8ce110e3d2deaa Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/compiler/__pycache__/plugin_pb2.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/__init__.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..335f8b81e6d9245411c30413b7de8ecd1e8114f0 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/__init__.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/api_implementation.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/api_implementation.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3f5e38ccd8e28e1552a1660f9ed7ba0b76d6ae8d Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/api_implementation.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/builder.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/builder.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c065fc26116b6b69f6c0705705706eb24bdfc956 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/builder.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/containers.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/containers.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d56b684d8f34b0f60210740df639052d31b6003a Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/containers.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/decoder.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/decoder.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4601cbc50bb0ab841f92e0ce068cd43c07464f00 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/decoder.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/encoder.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/encoder.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7cbc92f26c7b1ad77488bfba7aa2ef929d6df9b2 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/encoder.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/enum_type_wrapper.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/enum_type_wrapper.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fff02ef05a0c8e3668d94750e857c5910a76a764 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/enum_type_wrapper.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/extension_dict.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/extension_dict.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..309c46a5293817a12a8accf44dd339eaef4526f4 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/extension_dict.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/field_mask.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/field_mask.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a5867b526b4945fd346a213de06cd4ceef350307 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/field_mask.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/message_listener.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/message_listener.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..84c655821d57114d683df3af1f3fe784296b7a82 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/message_listener.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/python_edition_defaults.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/python_edition_defaults.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a455009bd7050f960f46971b7375e3388dc94dab Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/python_edition_defaults.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/python_message.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/python_message.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c67ab29b608b787dd20e51a46cc3b0ecdc6159ba Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/python_message.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/testing_refleaks.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/testing_refleaks.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a7cae456e32dbba50ece048bd529edc34c8be900 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/testing_refleaks.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/type_checkers.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/type_checkers.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cf2a3fb6e37665af359dae22aacbb5c0354bbe8a Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/type_checkers.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/well_known_types.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/well_known_types.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fbaba19cab73bc33d1a1a52915bb4eb2adfc6eda Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/well_known_types.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/wire_format.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/wire_format.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..58b4e1111260ee387fd47da6b9b7b0b533602f31 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/internal/__pycache__/wire_format.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/pyext/__pycache__/__init__.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/pyext/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..79ac0f6c23936e655404c5f297b0da9ca03540a8 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/pyext/__pycache__/__init__.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/pyext/__pycache__/cpp_message.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/pyext/__pycache__/cpp_message.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7424a09583df7c5f80f0b84a93889c4ede711665 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/pyext/__pycache__/cpp_message.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/testdata/__pycache__/__init__.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/testdata/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..28f452069a12d95f7ec715e8d2dbb8fdbcaf337e Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/testdata/__pycache__/__init__.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/util/__pycache__/__init__.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/util/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ababf2d5a39b3b5647c76474fb41da00d943935c Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/google/protobuf/util/__pycache__/__init__.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser-0.2.1.1.post6.dist-info/licenses/LICENSE b/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser-0.2.1.1.post6.dist-info/licenses/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..bdb1a67c0a1cf079a7a4419cae14bc00ad98fe6f --- /dev/null +++ b/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser-0.2.1.1.post6.dist-info/licenses/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Promplate + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/__pycache__/__init__.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0bb80524ec1434b48ddbfc4554d21a02574e66e7 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/__pycache__/__init__.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/__pycache__/options.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/__pycache__/options.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e737f9bb0cce7b6c1b726a866cc1f8870ef3baec Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/__pycache__/options.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/core/api.py b/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/core/api.py new file mode 100644 index 0000000000000000000000000000000000000000..4587aff86b6aacb2d1c5ddd869755803795c3230 --- /dev/null +++ b/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/core/api.py @@ -0,0 +1,26 @@ +from typing import Callable, Dict, List, Optional, Union + +from .complete import fix +from .myelin import fix_fast +from .options import * + +Number = Union[int, float] +JSON = Union[str, bool, Number, List["JSON"], Dict[str, "JSON"], None] + + +def parse_json(json_string: str, allow_partial: Union[Allow, int] = ALL, parser: Optional[Callable[[str], JSON]] = None, use_fast_fix=True) -> JSON: + if parser is None: + from json import loads as parser + + return parser(ensure_json(json_string, allow_partial, use_fast_fix)) + + +def ensure_json(json_string: str, allow_partial: Union[Allow, int] = ALL, use_fast_fix=True) -> str: + """get the completed JSON string""" + + if use_fast_fix: + head, tail = fix_fast(json_string, allow_partial) + else: + head, tail = fix(json_string, allow_partial) + + return head + tail diff --git a/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/core/complete.py b/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/core/complete.py new file mode 100644 index 0000000000000000000000000000000000000000..98dba5bcb864d94eb8be5cb45fbe15506158e5b9 --- /dev/null +++ b/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/core/complete.py @@ -0,0 +1,237 @@ +from typing import TYPE_CHECKING, Tuple, Union + +from .exceptions import MalformedJSON, PartialJSON +from .options import * + +if TYPE_CHECKING: + from typing import Literal + +CompleteResult = Union[Tuple[int, Union[str, "Literal[True]"]], "Literal[False]"] # (length, complete_string / already completed) / partial + + +def fix(json_string: str, allow_partial: Union[Allow, int] = ALL): + """get the original slice and the trailing suffix separately""" + + return _fix(json_string, Allow(allow_partial), True) + + +def _fix(json_string: str, allow: Allow, is_top_level=False): + try: + result = complete_any(json_string.strip(), allow, is_top_level) + if result is False: + raise PartialJSON + + index, completion = result + return json_string[:index], ("" if completion is True else completion) + + except (AssertionError, IndexError) as err: + raise MalformedJSON(*err.args) from err + + +def skip_blank(text: str, index: int): + try: + while text[index].isspace(): + index += 1 + finally: + return index + + +def complete_any(json_string: str, allow: Allow, is_top_level=False) -> CompleteResult: + i = skip_blank(json_string, 0) + char = json_string[i] + + if char == '"': + return complete_str(json_string, allow) + + if char in "1234567890": + return complete_num(json_string, allow, is_top_level) + + if char == "[": + return complete_arr(json_string, allow) + + if char == "{": + return complete_obj(json_string, allow) + + if json_string.startswith("null"): + return (4, True) + if "null".startswith(json_string): + return (0, "null") if NULL in allow else False + + if json_string.startswith("true"): + return (4, True) + if "true".startswith(json_string): + return (0, "true") if BOOL in allow else False + + if json_string.startswith("false"): + return (5, True) + if "false".startswith(json_string): + return (0, "false") if BOOL in allow else False + + if json_string.startswith("Infinity"): + return (8, True) + if "Infinity".startswith(json_string): + return (0, "Infinity") if INFINITY in allow else False + + if char == "-": + if len(json_string) == 1: + return False + elif json_string[1] != "I": + return complete_num(json_string, allow, is_top_level) + + if json_string.startswith("-Infinity"): + return (9, True) + if "-Infinity".startswith(json_string): + return (0, "-Infinity") if _INFINITY in allow else False + + if json_string.startswith("NaN"): + return (3, True) + if "NaN".startswith(json_string): + return (0, "NaN") if NAN in allow else False + + raise MalformedJSON(f"Unexpected character {char}") + + +def complete_str(json_string: str, allow: Allow) -> CompleteResult: + assert json_string[0] == '"' + + length = len(json_string) + + i = 1 + + try: + while True: + char = json_string[i] + + if char == "\\": + if i + 1 == length: + raise IndexError + i += 2 + continue + if char == '"': + return i + 1, True + + i += 1 + + except IndexError: + if STR not in allow: + return False + + def not_escaped(index: int): + text_before = json_string[:index] + count = index - len(text_before.rstrip("\\")) + return count % 2 == 0 + + # \uXXXX + _u = json_string.rfind("\\u", max(0, i - 5), i) + if _u != -1 and not_escaped(_u): + return _u, '"' + + # \UXXXXXXXX + _U = json_string.rfind("\\U", max(0, i - 9), i) + if _U != -1 and not_escaped(_U): + return _U, '"' + + # \xXX + _x = json_string.rfind("\\x", max(0, i - 3), i) + if _x != -1 and not_escaped(_x): + return _x, '"' + + return i, '"' + + +def complete_arr(json_string: str, allow: Allow) -> CompleteResult: + assert json_string[0] == "[" + i = j = 1 + + try: + while True: + j = skip_blank(json_string, j) + + if json_string[j] == "]": + return j + 1, True + + result = complete_any(json_string[j:], allow) + + if result is False: # incomplete + return (i, "]") if ARR in allow else False + if result[1] is True: # complete + i = j = j + result[0] + else: # incomplete + return (j + result[0], result[1] + "]") if ARR in allow else False + + j = skip_blank(json_string, j) + + if json_string[j] == ",": + j += 1 + elif json_string[j] == "]": + return j + 1, True + else: + raise MalformedJSON(f"Expected ',' or ']', got {json_string[j]}") + except IndexError: + return (i, "]") if ARR in allow else False + + +def complete_obj(json_string: str, allow: Allow) -> CompleteResult: + assert json_string[0] == "{" + i = j = 1 + + try: + while True: + j = skip_blank(json_string, j) + + if json_string[j] == "}": + return j + 1, True + + result = complete_str(json_string[j:], allow) + if result and result[1] is True: # complete + j += result[0] + else: # incomplete + return (i, "}") if OBJ in allow else False + + j = skip_blank(json_string, j) + + if json_string[j] != ":": + raise MalformedJSON(f"Expected ':', got {json_string[j]}") + j += 1 + + j = skip_blank(json_string, j) + + result = complete_any(json_string[j:], allow) + if result is False: # incomplete + return (i, "}") if OBJ in allow else False + if result[1] is True: # complete + i = j = j + result[0] + else: # incomplete + return (j + result[0], result[1] + "}") if OBJ in allow else False + + j = skip_blank(json_string, j) + + if json_string[j] == ",": + j += 1 + elif json_string[j] == "}": + return j + 1, True + else: + raise MalformedJSON(f"Expected ',' or '}}', got {json_string[j]}") + except IndexError: + return (i, "}") if OBJ in allow else False + + +def complete_num(json_string: str, allow: Allow, is_top_level=False) -> CompleteResult: + i = 1 + length = len(json_string) + + # forward + while i < length and json_string[i] in "1234567890.-+eE": + i += 1 + + modified = False + + # backward + while json_string[i - 1] in ".-+eE": + modified = True + i -= 1 + + if modified or i == length and not is_top_level: + return (i, "") if NUM in allow else False + else: + return i, True diff --git a/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/core/exceptions.py b/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/core/exceptions.py new file mode 100644 index 0000000000000000000000000000000000000000..12f917e46abbad33b1a18e3408dd28866c20c5e6 --- /dev/null +++ b/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/core/exceptions.py @@ -0,0 +1,10 @@ +class JSONDecodeError(ValueError): + pass + + +class PartialJSON(JSONDecodeError): + pass + + +class MalformedJSON(JSONDecodeError): + pass diff --git a/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/core/myelin.py b/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/core/myelin.py new file mode 100644 index 0000000000000000000000000000000000000000..69bcd82c097caaf53c8a374818dacd06c290ac7a --- /dev/null +++ b/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/core/myelin.py @@ -0,0 +1,226 @@ +"""Myelin acts as the highway among neurons, epitomizing the leapfrog methodology within this algorithm.""" + +from re import compile +from typing import List, Tuple, Union + +from .complete import _fix +from .exceptions import PartialJSON +from .options import * + +finditer = compile(r'["\[\]{}]').finditer + + +def scan(json_string: str): + return [(match.start(), match.group()) for match in finditer(json_string)] + + +def join_closing_tokens(stack: List[Tuple[int, str]]): + return "".join("}" if char == "{" else "]" for _, char in reversed(stack)) + + +def fix_fast(json_string: str, allow_partial: Union[Allow, int] = ALL): + allow = Allow(allow_partial) + + def is_escaped(index: int): + text_before = json_string[:index] + count = index - len(text_before.rstrip("\\")) + return count % 2 + + stack = [] + in_string = False + last_string_start = -1 + last_string_end = -1 + + tokens = scan(json_string) + + if not tokens or tokens[0][1] == '"': + return _fix(json_string, allow, True) + + for i, char in tokens: + if char == '"': + if not in_string: + in_string = True + last_string_start = i + elif not is_escaped(i): + in_string = False + last_string_end = i + + elif not in_string: + if char == "}": + _i, _char = stack.pop() + assert _char == "{", f"Expected '{{' at index {_i}, got '{_char}'" + elif char == "]": + _i, _char = stack.pop() + assert _char == "[", f"Expected '[' at index {_i}, got '{_char}'" + else: + stack.append((i, char)) + + if not stack: + return json_string, "" + + # check if the opening tokens are allowed + + if (STR | COLLECTION) not in allow: + + def truncate_before_last_key_start(container_start: int, last_string_end: int, stack): + last_key_start = last_string_end # backtrace the last key's start and retry finding the last comma + while True: + last_key_start = json_string.rfind('"', container_start, last_key_start) + if last_key_start == -1: # this is the only key + # { "key": "v + return json_string[: container_start + 1], join_closing_tokens(stack) + if is_escaped(last_key_start): + last_key_start -= 1 + else: + last_comma = json_string.rfind(",", container_start, last_key_start) + if last_comma == -1: + # { "key": " + return json_string[: container_start + 1], join_closing_tokens(stack) + # # { ... "key": ... , " + return json_string[:last_comma], join_closing_tokens(stack) + + if COLLECTION not in allow: + for index, [_i, _char] in enumerate(stack): + if _char == "{" and OBJ not in allow or _char == "[" and ARR not in allow: + if index == 0: + raise PartialJSON + + # to truncate before the last container token and the last comma (if exists) of its parent container + + # reset `last_string_end` to before `_i` + if _i < last_string_start: + if last_string_start < _i: # ... { "k + last_string_end = json_string.rfind('"', last_string_end, _i) + else: # ... { "" ... + last_string_end = json_string.rfind('"', None, _i) + + last_comma = json_string.rfind(",", max(stack[index - 1][0], last_string_end) + 1, _i) + + if last_comma == -1: + if stack[index - 1][1] == "[": + # [ ... [ + return json_string[:_i], join_closing_tokens(stack[:index]) + + # { "key": [ 1, 2, "v + # { "key": [ 1, 2, "value" + if last_string_start > last_string_end: + return truncate_before_last_key_start(stack[index - 1][0], last_string_end, stack[:index]) + + last_comma = json_string.rfind(",", stack[index - 1][0] + 1, last_string_start) + if last_comma == -1: + return json_string[: stack[index - 1][0] + 1], join_closing_tokens(stack[:index]) + return json_string[:last_comma], join_closing_tokens(stack[:index]) + + # { ..., "key": { + # ..., { + return json_string[:last_comma], join_closing_tokens(stack[:index]) + + if STR not in allow and in_string: # truncate before the last key + if stack[-1][0] > last_string_end and stack[-1][1] == "{": + # { "k + return json_string[: stack[-1][0] + 1], join_closing_tokens(stack) + + last_comma = json_string.rfind(",", max(stack[-1][0], last_string_end) + 1, last_string_start) + if last_comma != -1: + # { "key": "v", "k + # { "key": 123, "k + # [ 1, 2, 3, "k + return json_string[:last_comma], join_closing_tokens(stack) + + # { ... "key": "v + return truncate_before_last_key_start(stack[-1][0], last_string_end, stack) + + # only fix the rest of the container in O(1) time complexity + + assert in_string == (last_string_end < last_string_start) + + if in_string: + if stack[-1][1] == "[": # [ ... "val + head, tail = _fix(json_string[last_string_start:], allow) # fix the last string + return json_string[:last_string_start] + head, tail + join_closing_tokens(stack) + + assert stack[-1][1] == "{" # { ... "val + + start = max(last_string_end, stack[-1][0]) + + if "," in json_string[start + 1 : last_string_start]: + # { ... "k": "v", "key + # { ... "k": 123, "key + last_comma = json_string.rindex(",", start, last_string_start) + head, tail = _fix(stack[-1][1] + json_string[last_comma + 1 :], allow) + return json_string[:last_comma] + head[1:], tail + join_closing_tokens(stack[:-1]) + + if ":" in json_string[start + 1 : last_string_start]: + # { ... ": "val + head, tail = _fix(json_string[last_string_start:], allow) # fix the last string (same as array) + return json_string[:last_string_start] + head, tail + join_closing_tokens(stack) + + # {"key + return json_string[:last_string_start], join_closing_tokens(stack) + + last_comma = json_string.rfind(",", max(last_string_end, i) + 1) + + if last_comma != -1: + i, char = stack[-1] + + if not json_string[last_comma + 1 :].strip(): # comma at the end + # { ... "key": "value", + return json_string[:last_comma], join_closing_tokens(stack) + + assert char == "[", json_string # array with many non-string literals + + # [ ..., 1, 2, 3, 4 + + head, tail = _fix(char + json_string[last_comma + 1 :], allow) + if not head[1:] + tail[:-1].strip(): # empty, so trim the last comma + return json_string[:last_comma] + head[1:], tail + join_closing_tokens(stack[:-1]) + return json_string[: last_comma + 1] + head[1:], tail + join_closing_tokens(stack[:-1]) + + # can't find comma after the last string and after the last container token + + if char in "]}": + # ... [ ... ] + # ... { ... } + assert not json_string[i + 1 :].strip() + return json_string, join_closing_tokens(stack) + + if char in "[{": + # ... [ ... + # ... { ... + head, tail = _fix(json_string[i:], allow) + return json_string[:i] + head, tail + join_closing_tokens(stack[:-1]) + + assert char == '"' + + i, char = stack[-1] + + if char == "[": # [ ... "val" + return json_string, join_closing_tokens(stack) + + assert char == "{" + last_colon = json_string.rfind(":", last_string_end) + last_comma = json_string.rfind(",", i + 1, last_string_start) + + if last_comma == -1: # only 1 key + # ... { "key" + # ... { "key": "value" + head, tail = _fix(json_string[i:], allow) + return json_string[:i] + head, tail + join_closing_tokens(stack[:-1]) + + if last_colon == -1: + if json_string.rfind(":", max(i, last_comma) + 1, last_string_start) != -1: + # { ... , "key": "value" + return json_string, join_closing_tokens(stack) + + # { ... , "key" + head, tail = _fix("{" + json_string[last_comma + 1 :], allow) + if not head[1:] + tail[:-1].strip(): + return json_string[:last_comma] + head[1:], tail + join_closing_tokens(stack[:-1]) + return json_string[: last_comma + 1] + head[1:], tail + join_closing_tokens(stack) + + assert last_colon > last_comma # { ... , "key": + + head, tail = _fix("{" + json_string[last_comma + 1 :], allow) + if not head[1:] + tail[:-1].strip(): + return json_string[:last_comma] + head[1:], tail + join_closing_tokens(stack[:-1]) + return json_string[: last_comma + 1] + head[1:], tail + join_closing_tokens(stack[:-1]) diff --git a/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/core/options.py b/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/core/options.py new file mode 100644 index 0000000000000000000000000000000000000000..4563bffbaa5f92ab7d12755f3f0fd635954935aa --- /dev/null +++ b/tool_server/.venv/lib/python3.12/site-packages/partial_json_parser/core/options.py @@ -0,0 +1,56 @@ +from enum import IntFlag, auto + + +class Allow(IntFlag): + """Specify what kind of partialness is allowed during JSON parsing""" + + STR = auto() + NUM = auto() + ARR = auto() + OBJ = auto() + NULL = auto() + BOOL = auto() + NAN = auto() + INFINITY = auto() + _INFINITY = auto() + + INF = INFINITY | _INFINITY + SPECIAL = NULL | BOOL | INF | NAN + ATOM = STR | NUM | SPECIAL + COLLECTION = ARR | OBJ + ALL = ATOM | COLLECTION + + +STR = Allow.STR +NUM = Allow.NUM +ARR = Allow.ARR +OBJ = Allow.OBJ +NULL = Allow.NULL +BOOL = Allow.BOOL +NAN = Allow.NAN +INFINITY = Allow.INFINITY +_INFINITY = Allow._INFINITY +INF = Allow.INF +SPECIAL = Allow.SPECIAL +ATOM = Allow.ATOM +COLLECTION = Allow.COLLECTION +ALL = Allow.ALL + + +__all__ = [ + "Allow", + "STR", + "NUM", + "ARR", + "OBJ", + "NULL", + "BOOL", + "NAN", + "INFINITY", + "_INFINITY", + "INF", + "SPECIAL", + "ATOM", + "COLLECTION", + "ALL", +] diff --git a/tool_server/.venv/lib/python3.12/site-packages/pillow-11.3.0.dist-info/licenses/LICENSE b/tool_server/.venv/lib/python3.12/site-packages/pillow-11.3.0.dist-info/licenses/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..8df788bc8d91ef4df6c3cd21aa4bdc4d3d883f6f --- /dev/null +++ b/tool_server/.venv/lib/python3.12/site-packages/pillow-11.3.0.dist-info/licenses/LICENSE @@ -0,0 +1,1487 @@ +The Python Imaging Library (PIL) is + + Copyright © 1997-2011 by Secret Labs AB + Copyright © 1995-2011 by Fredrik Lundh and contributors + +Pillow is the friendly PIL fork. It is + + Copyright © 2010 by Jeffrey A. Clark and contributors + +Like PIL, Pillow is licensed under the open source MIT-CMU License: + +By obtaining, using, and/or copying this software and/or its associated +documentation, you agree that you have read, understood, and will comply +with the following terms and conditions: + +Permission to use, copy, modify and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appears in all copies, and that +both that copyright notice and this permission notice appear in supporting +documentation, and that the name of Secret Labs AB or the author not be +used in advertising or publicity pertaining to distribution of the software +without specific, written prior permission. + +SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS +SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. +IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR ANY SPECIAL, +INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + + +---- + +AOM + +Copyright (c) 2016, Alliance for Open Media. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + + +---- + +BROTLI + +Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +---- + +BZIP2 + + +-------------------------------------------------------------------------- + +This program, "bzip2", the associated library "libbzip2", and all +documentation, are copyright (C) 1996-2019 Julian R Seward. All +rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. The origin of this software must not be misrepresented; you must + not claim that you wrote the original software. If you use this + software in a product, an acknowledgment in the product + documentation would be appreciated but is not required. + +3. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + +4. The name of the author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS +OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Julian Seward, jseward@acm.org +bzip2/libbzip2 version 1.0.8 of 13 July 2019 + +-------------------------------------------------------------------------- + + +---- + +DAV1D + +Copyright © 2018-2019, VideoLAN and dav1d authors +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +---- + +FREETYPE2 + +The FreeType 2 font engine is copyrighted work and cannot be used +legally without a software license. In order to make this project +usable to a vast majority of developers, we distribute it under two +mutually exclusive open-source licenses. + +This means that *you* must choose *one* of the two licenses described +below, then obey all its terms and conditions when using FreeType 2 in +any of your projects or products. + + - The FreeType License, found in the file `docs/FTL.TXT`, which is + similar to the original BSD license *with* an advertising clause + that forces you to explicitly cite the FreeType project in your + product's documentation. All details are in the license file. + This license is suited to products which don't use the GNU General + Public License. + + Note that this license is compatible to the GNU General Public + License version 3, but not version 2. + + - The GNU General Public License version 2, found in + `docs/GPLv2.TXT` (any later version can be used also), for + programs which already use the GPL. Note that the FTL is + incompatible with GPLv2 due to its advertisement clause. + +The contributed BDF and PCF drivers come with a license similar to +that of the X Window System. It is compatible to the above two +licenses (see files `src/bdf/README` and `src/pcf/README`). The same +holds for the source code files `src/base/fthash.c` and +`include/freetype/internal/fthash.h`; they were part of the BDF driver +in earlier FreeType versions. + +The gzip module uses the zlib license (see `src/gzip/zlib.h`) which +too is compatible to the above two licenses. + +The files `src/autofit/ft-hb.c` and `src/autofit/ft-hb.h` contain code +taken almost verbatim from the HarfBuzz file `hb-ft.cc`, which uses +the 'Old MIT' license, compatible to the above two licenses. + +The MD5 checksum support (only used for debugging in development +builds) is in the public domain. + +-------------------------------------------------------------------------- + + The FreeType Project LICENSE + ---------------------------- + + 2006-Jan-27 + + Copyright 1996-2002, 2006 by + David Turner, Robert Wilhelm, and Werner Lemberg + + + +Introduction +============ + + The FreeType Project is distributed in several archive packages; + some of them may contain, in addition to the FreeType font engine, + various tools and contributions which rely on, or relate to, the + FreeType Project. + + This license applies to all files found in such packages, and + which do not fall under their own explicit license. The license + affects thus the FreeType font engine, the test programs, + documentation and makefiles, at the very least. + + This license was inspired by the BSD, Artistic, and IJG + (Independent JPEG Group) licenses, which all encourage inclusion + and use of free software in commercial and freeware products + alike. As a consequence, its main points are that: + + o We don't promise that this software works. However, we will be + interested in any kind of bug reports. (`as is' distribution) + + o You can use this software for whatever you want, in parts or + full form, without having to pay us. (`royalty-free' usage) + + o You may not pretend that you wrote this software. If you use + it, or only parts of it, in a program, you must acknowledge + somewhere in your documentation that you have used the + FreeType code. (`credits') + + We specifically permit and encourage the inclusion of this + software, with or without modifications, in commercial products. + We disclaim all warranties covering The FreeType Project and + assume no liability related to The FreeType Project. + + + Finally, many people asked us for a preferred form for a + credit/disclaimer to use in compliance with this license. We thus + encourage you to use the following text: + + """ + Portions of this software are copyright © The FreeType + Project (www.freetype.org). All rights reserved. + """ + + Please replace with the value from the FreeType version you + actually use. + + +Legal Terms +=========== + +0. Definitions +-------------- + + Throughout this license, the terms `package', `FreeType Project', + and `FreeType archive' refer to the set of files originally + distributed by the authors (David Turner, Robert Wilhelm, and + Werner Lemberg) as the `FreeType Project', be they named as alpha, + beta or final release. + + `You' refers to the licensee, or person using the project, where + `using' is a generic term including compiling the project's source + code as well as linking it to form a `program' or `executable'. + This program is referred to as `a program using the FreeType + engine'. + + This license applies to all files distributed in the original + FreeType Project, including all source code, binaries and + documentation, unless otherwise stated in the file in its + original, unmodified form as distributed in the original archive. + If you are unsure whether or not a particular file is covered by + this license, you must contact us to verify this. + + The FreeType Project is copyright (C) 1996-2000 by David Turner, + Robert Wilhelm, and Werner Lemberg. All rights reserved except as + specified below. + +1. No Warranty +-------------- + + THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT WARRANTY OF ANY + KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO + USE, OF THE FREETYPE PROJECT. + +2. Redistribution +----------------- + + This license grants a worldwide, royalty-free, perpetual and + irrevocable right and license to use, execute, perform, compile, + display, copy, create derivative works of, distribute and + sublicense the FreeType Project (in both source and object code + forms) and derivative works thereof for any purpose; and to + authorize others to exercise some or all of the rights granted + herein, subject to the following conditions: + + o Redistribution of source code must retain this license file + (`FTL.TXT') unaltered; any additions, deletions or changes to + the original files must be clearly indicated in accompanying + documentation. The copyright notices of the unaltered, + original files must be preserved in all copies of source + files. + + o Redistribution in binary form must provide a disclaimer that + states that the software is based in part of the work of the + FreeType Team, in the distribution documentation. We also + encourage you to put an URL to the FreeType web page in your + documentation, though this isn't mandatory. + + These conditions apply to any software derived from or based on + the FreeType Project, not just the unmodified files. If you use + our work, you must acknowledge us. However, no fee need be paid + to us. + +3. Advertising +-------------- + + Neither the FreeType authors and contributors nor you shall use + the name of the other for commercial, advertising, or promotional + purposes without specific prior written permission. + + We suggest, but do not require, that you use one or more of the + following phrases to refer to this software in your documentation + or advertising materials: `FreeType Project', `FreeType Engine', + `FreeType library', or `FreeType Distribution'. + + As you have not signed this license, you are not required to + accept it. However, as the FreeType Project is copyrighted + material, only this license, or another one contracted with the + authors, grants you the right to use, distribute, and modify it. + Therefore, by using, distributing, or modifying the FreeType + Project, you indicate that you understand and accept all the terms + of this license. + +4. Contacts +----------- + + There are two mailing lists related to FreeType: + + o freetype@nongnu.org + + Discusses general use and applications of FreeType, as well as + future and wanted additions to the library and distribution. + If you are looking for support, start in this list if you + haven't found anything to help you in the documentation. + + o freetype-devel@nongnu.org + + Discusses bugs, as well as engine internals, design issues, + specific licenses, porting, etc. + + Our home page can be found at + + https://www.freetype.org + + +--- end of FTL.TXT --- + +The following license details are part of `src/bdf/README`: + +``` +License +******* + +Copyright (C) 2001-2002 by Francesco Zappa Nardelli + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +*** Portions of the driver (that is, bdflib.c and bdf.h): + +Copyright 2000 Computing Research Labs, New Mexico State University +Copyright 2001-2002, 2011 Francesco Zappa Nardelli + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE COMPUTING RESEARCH LAB OR NEW MEXICO STATE UNIVERSITY BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT +OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR +THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +Credits +******* + +This driver is based on excellent Mark Leisher's bdf library. If you +find something good in this driver you should probably thank him, not +me. +``` + +The following license details are part of `src/pcf/README`: + +``` +License +******* + +Copyright (C) 2000 by Francesco Zappa Nardelli + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +Credits +******* + +Keith Packard wrote the pcf driver found in XFree86. His work is at +the same time the specification and the sample implementation of the +PCF format. Undoubtedly, this driver is inspired from his work. +``` + + +---- + +HARFBUZZ + +HarfBuzz is licensed under the so-called "Old MIT" license. Details follow. +For parts of HarfBuzz that are licensed under different licenses see individual +files names COPYING in subdirectories where applicable. + +Copyright © 2010-2022 Google, Inc. +Copyright © 2015-2020 Ebrahim Byagowi +Copyright © 2019,2020 Facebook, Inc. +Copyright © 2012,2015 Mozilla Foundation +Copyright © 2011 Codethink Limited +Copyright © 2008,2010 Nokia Corporation and/or its subsidiary(-ies) +Copyright © 2009 Keith Stribley +Copyright © 2011 Martin Hosken and SIL International +Copyright © 2007 Chris Wilson +Copyright © 2005,2006,2020,2021,2022,2023 Behdad Esfahbod +Copyright © 2004,2007,2008,2009,2010,2013,2021,2022,2023 Red Hat, Inc. +Copyright © 1998-2005 David Turner and Werner Lemberg +Copyright © 2016 Igalia S.L. +Copyright © 2022 Matthias Clasen +Copyright © 2018,2021 Khaled Hosny +Copyright © 2018,2019,2020 Adobe, Inc +Copyright © 2013-2015 Alexei Podtelezhnikov + +For full copyright notices consult the individual files in the package. + + +Permission is hereby granted, without written agreement and without +license or royalty fees, to use, copy, modify, and distribute this +software and its documentation for any purpose, provided that the +above copyright notice and the following two paragraphs appear in +all copies of this software. + +IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR +DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES +ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN +IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGE. + +THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, +BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS +ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO +PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + + +---- + +LCMS2 + +Little CMS +Copyright (c) 1998-2020 Marti Maria Saguer + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +---- + +LIBAVIF + +Copyright 2019 Joe Drago. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------------------------------------------------------------------------ + +Files: src/obu.c + +Copyright © 2018-2019, VideoLAN and dav1d authors +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------------------------------------------------------------------------ + +Files: third_party/iccjpeg/* + +In plain English: + +1. We don't promise that this software works. (But if you find any bugs, + please let us know!) +2. You can use this software for whatever you want. You don't have to pay us. +3. You may not pretend that you wrote this software. If you use it in a + program, you must acknowledge somewhere in your documentation that + you've used the IJG code. + +In legalese: + +The authors make NO WARRANTY or representation, either express or implied, +with respect to this software, its quality, accuracy, merchantability, or +fitness for a particular purpose. This software is provided "AS IS", and you, +its user, assume the entire risk as to its quality and accuracy. + +This software is copyright (C) 1991-2013, Thomas G. Lane, Guido Vollbeding. +All Rights Reserved except as specified below. + +Permission is hereby granted to use, copy, modify, and distribute this +software (or portions thereof) for any purpose, without fee, subject to these +conditions: +(1) If any part of the source code for this software is distributed, then this +README file must be included, with this copyright and no-warranty notice +unaltered; and any additions, deletions, or changes to the original files +must be clearly indicated in accompanying documentation. +(2) If only executable code is distributed, then the accompanying +documentation must state that "this software is based in part on the work of +the Independent JPEG Group". +(3) Permission for use of this software is granted only if the user accepts +full responsibility for any undesirable consequences; the authors accept +NO LIABILITY for damages of any kind. + +These conditions apply to any software derived from or based on the IJG code, +not just to the unmodified library. If you use our work, you ought to +acknowledge us. + +Permission is NOT granted for the use of any IJG author's name or company name +in advertising or publicity relating to this software or products derived from +it. This software may be referred to only as "the Independent JPEG Group's +software". + +We specifically permit and encourage the use of this software as the basis of +commercial products, provided that all warranty or liability claims are +assumed by the product vendor. + + +The Unix configuration script "configure" was produced with GNU Autoconf. +It is copyright by the Free Software Foundation but is freely distributable. +The same holds for its supporting scripts (config.guess, config.sub, +ltmain.sh). Another support script, install-sh, is copyright by X Consortium +but is also freely distributable. + +The IJG distribution formerly included code to read and write GIF files. +To avoid entanglement with the Unisys LZW patent, GIF reading support has +been removed altogether, and the GIF writer has been simplified to produce +"uncompressed GIFs". This technique does not use the LZW algorithm; the +resulting GIF files are larger than usual, but are readable by all standard +GIF decoders. + +We are required to state that + "The Graphics Interchange Format(c) is the Copyright property of + CompuServe Incorporated. GIF(sm) is a Service Mark property of + CompuServe Incorporated." + +------------------------------------------------------------------------------ + +Files: contrib/gdk-pixbuf/* + +Copyright 2020 Emmanuel Gil Peyrot. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------------------------------------------------------------------------ + +Files: android_jni/gradlew* + + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +------------------------------------------------------------------------------ + +Files: third_party/libyuv/* + +Copyright 2011 The LibYuv Project Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + * Neither the name of Google nor the names of its contributors may + be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +---- + +LIBJPEG + +1. We don't promise that this software works. (But if you find any bugs, + please let us know!) +2. You can use this software for whatever you want. You don't have to pay us. +3. You may not pretend that you wrote this software. If you use it in a + program, you must acknowledge somewhere in your documentation that + you've used the IJG code. + +In legalese: + +The authors make NO WARRANTY or representation, either express or implied, +with respect to this software, its quality, accuracy, merchantability, or +fitness for a particular purpose. This software is provided "AS IS", and you, +its user, assume the entire risk as to its quality and accuracy. + +This software is copyright (C) 1991-2020, Thomas G. Lane, Guido Vollbeding. +All Rights Reserved except as specified below. + +Permission is hereby granted to use, copy, modify, and distribute this +software (or portions thereof) for any purpose, without fee, subject to these +conditions: +(1) If any part of the source code for this software is distributed, then this +README file must be included, with this copyright and no-warranty notice +unaltered; and any additions, deletions, or changes to the original files +must be clearly indicated in accompanying documentation. +(2) If only executable code is distributed, then the accompanying +documentation must state that "this software is based in part on the work of +the Independent JPEG Group". +(3) Permission for use of this software is granted only if the user accepts +full responsibility for any undesirable consequences; the authors accept +NO LIABILITY for damages of any kind. + +These conditions apply to any software derived from or based on the IJG code, +not just to the unmodified library. If you use our work, you ought to +acknowledge us. + +Permission is NOT granted for the use of any IJG author's name or company name +in advertising or publicity relating to this software or products derived from +it. This software may be referred to only as "the Independent JPEG Group's +software". + +We specifically permit and encourage the use of this software as the basis of +commercial products, provided that all warranty or liability claims are +assumed by the product vendor. + + +---- + +LIBLZMA + +XZ Utils Licensing +================== + + Different licenses apply to different files in this package. Here + is a rough summary of which licenses apply to which parts of this + package (but check the individual files to be sure!): + + - liblzma is in the public domain. + + - xz, xzdec, and lzmadec command line tools are in the public + domain unless GNU getopt_long had to be compiled and linked + in from the lib directory. The getopt_long code is under + GNU LGPLv2.1+. + + - The scripts to grep, diff, and view compressed files have been + adapted from gzip. These scripts and their documentation are + under GNU GPLv2+. + + - All the documentation in the doc directory and most of the + XZ Utils specific documentation files in other directories + are in the public domain. + + - Translated messages are in the public domain. + + - The build system contains public domain files, and files that + are under GNU GPLv2+ or GNU GPLv3+. None of these files end up + in the binaries being built. + + - Test files and test code in the tests directory, and debugging + utilities in the debug directory are in the public domain. + + - The extra directory may contain public domain files, and files + that are under various free software licenses. + + You can do whatever you want with the files that have been put into + the public domain. If you find public domain legally problematic, + take the previous sentence as a license grant. If you still find + the lack of copyright legally problematic, you have too many + lawyers. + + As usual, this software is provided "as is", without any warranty. + + If you copy significant amounts of public domain code from XZ Utils + into your project, acknowledging this somewhere in your software is + polite (especially if it is proprietary, non-free software), but + naturally it is not legally required. Here is an example of a good + notice to put into "about box" or into documentation: + + This software includes code from XZ Utils . + + The following license texts are included in the following files: + - COPYING.LGPLv2.1: GNU Lesser General Public License version 2.1 + - COPYING.GPLv2: GNU General Public License version 2 + - COPYING.GPLv3: GNU General Public License version 3 + + Note that the toolchain (compiler, linker etc.) may add some code + pieces that are copyrighted. Thus, it is possible that e.g. liblzma + binary wouldn't actually be in the public domain in its entirety + even though it contains no copyrighted code from the XZ Utils source + package. + + If you have questions, don't hesitate to ask the author(s) for more + information. + + +---- + +LIBPNG + +COPYRIGHT NOTICE, DISCLAIMER, and LICENSE +========================================= + +PNG Reference Library License version 2 +--------------------------------------- + + * Copyright (c) 1995-2022 The PNG Reference Library Authors. + * Copyright (c) 2018-2022 Cosmin Truta. + * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson. + * Copyright (c) 1996-1997 Andreas Dilger. + * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. + +The software is supplied "as is", without warranty of any kind, +express or implied, including, without limitation, the warranties +of merchantability, fitness for a particular purpose, title, and +non-infringement. In no event shall the Copyright owners, or +anyone distributing the software, be liable for any damages or +other liability, whether in contract, tort or otherwise, arising +from, out of, or in connection with the software, or the use or +other dealings in the software, even if advised of the possibility +of such damage. + +Permission is hereby granted to use, copy, modify, and distribute +this software, or portions hereof, for any purpose, without fee, +subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you + must not claim that you wrote the original software. If you + use this software in a product, an acknowledgment in the product + documentation would be appreciated, but is not required. + + 2. Altered source versions must be plainly marked as such, and must + not be misrepresented as being the original software. + + 3. This Copyright notice may not be removed or altered from any + source or altered source distribution. + + +PNG Reference Library License version 1 (for libpng 0.5 through 1.6.35) +----------------------------------------------------------------------- + +libpng versions 1.0.7, July 1, 2000, through 1.6.35, July 15, 2018 are +Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson, are +derived from libpng-1.0.6, and are distributed according to the same +disclaimer and license as libpng-1.0.6 with the following individuals +added to the list of Contributing Authors: + + Simon-Pierre Cadieux + Eric S. Raymond + Mans Rullgard + Cosmin Truta + Gilles Vollant + James Yu + Mandar Sahastrabuddhe + Google Inc. + Vadim Barkov + +and with the following additions to the disclaimer: + + There is no warranty against interference with your enjoyment of + the library or against infringement. There is no warranty that our + efforts or the library will fulfill any of your particular purposes + or needs. This library is provided with all faults, and the entire + risk of satisfactory quality, performance, accuracy, and effort is + with the user. + +Some files in the "contrib" directory and some configure-generated +files that are distributed with libpng have other copyright owners, and +are released under other open source licenses. + +libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are +Copyright (c) 1998-2000 Glenn Randers-Pehrson, are derived from +libpng-0.96, and are distributed according to the same disclaimer and +license as libpng-0.96, with the following individuals added to the +list of Contributing Authors: + + Tom Lane + Glenn Randers-Pehrson + Willem van Schaik + +libpng versions 0.89, June 1996, through 0.96, May 1997, are +Copyright (c) 1996-1997 Andreas Dilger, are derived from libpng-0.88, +and are distributed according to the same disclaimer and license as +libpng-0.88, with the following individuals added to the list of +Contributing Authors: + + John Bowler + Kevin Bracey + Sam Bushell + Magnus Holmgren + Greg Roelofs + Tom Tanner + +Some files in the "scripts" directory have other copyright owners, +but are released under this license. + +libpng versions 0.5, May 1995, through 0.88, January 1996, are +Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. + +For the purposes of this copyright and license, "Contributing Authors" +is defined as the following set of individuals: + + Andreas Dilger + Dave Martindale + Guy Eric Schalnat + Paul Schmidt + Tim Wegner + +The PNG Reference Library is supplied "AS IS". The Contributing +Authors and Group 42, Inc. disclaim all warranties, expressed or +implied, including, without limitation, the warranties of +merchantability and of fitness for any purpose. The Contributing +Authors and Group 42, Inc. assume no liability for direct, indirect, +incidental, special, exemplary, or consequential damages, which may +result from the use of the PNG Reference Library, even if advised of +the possibility of such damage. + +Permission is hereby granted to use, copy, modify, and distribute this +source code, or portions hereof, for any purpose, without fee, subject +to the following restrictions: + + 1. The origin of this source code must not be misrepresented. + + 2. Altered versions must be plainly marked as such and must not + be misrepresented as being the original source. + + 3. This Copyright notice may not be removed or altered from any + source or altered source distribution. + +The Contributing Authors and Group 42, Inc. specifically permit, +without fee, and encourage the use of this source code as a component +to supporting the PNG file format in commercial products. If you use +this source code in a product, acknowledgment is not required but would +be appreciated. + + +---- + +LIBTIFF + +Copyright (c) 1988-1997 Sam Leffler +Copyright (c) 1991-1997 Silicon Graphics, Inc. + +Permission to use, copy, modify, distribute, and sell this software and +its documentation for any purpose is hereby granted without fee, provided +that (i) the above copyright notices and this permission notice appear in +all copies of the software and related documentation, and (ii) the names of +Sam Leffler and Silicon Graphics may not be used in any advertising or +publicity relating to the software without the specific, prior written +permission of Sam Leffler and Silicon Graphics. + +THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, +EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY +WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + +IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR +ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, +OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF +LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE +OF THIS SOFTWARE. + + +---- + +LIBWEBP + +Copyright (c) 2010, Google Inc. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + * Neither the name of Google nor the names of its contributors may + be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +---- + +LIBYUV + +Copyright 2011 The LibYuv Project Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + * Neither the name of Google nor the names of its contributors may + be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +---- + +OPENJPEG + +* + * The copyright in this software is being made available under the 2-clauses + * BSD License, included below. This software may be subject to other third + * party and contributor rights, including patent rights, and no such rights + * are granted under this license. + * + * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium + * Copyright (c) 2002-2014, Professor Benoit Macq + * Copyright (c) 2003-2014, Antonin Descampe + * Copyright (c) 2003-2009, Francois-Olivier Devaux + * Copyright (c) 2005, Herve Drolon, FreeImage Team + * Copyright (c) 2002-2003, Yannick Verschueren + * Copyright (c) 2001-2003, David Janssens + * Copyright (c) 2011-2012, Centre National d'Etudes Spatiales (CNES), France + * Copyright (c) 2012, CS Systemes d'Information, France + * + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS' + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + + +---- + +RAQM + +The MIT License (MIT) + +Copyright © 2015 Information Technology Authority (ITA) +Copyright © 2016 Khaled Hosny + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +---- + +XAU + +Copyright 1988, 1993, 1994, 1998 The Open Group + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation. + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of The Open Group shall not be +used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization from The Open Group. + + +---- + +XCB + +Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett. +All Rights Reserved. + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, +sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall +be included in all copies or substantial portions of the +Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS +BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the names of the authors +or their institutions shall not be used in advertising or +otherwise to promote the sale, use or other dealings in this +Software without prior written authorization from the +authors. + + +---- + +XDMCP + +Copyright 1989, 1998 The Open Group + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation. + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the name of The Open Group shall not be +used in advertising or otherwise to promote the sale, use or other dealings +in this Software without prior written authorization from The Open Group. + +Author: Keith Packard, MIT X Consortium + + +---- + +ZLIB + + (C) 1995-2017 Jean-loup Gailly and Mark Adler + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + + Jean-loup Gailly Mark Adler + jloup@gzip.org madler@alumni.caltech.edu + +If you use the zlib library in a product, we would appreciate *not* receiving +lengthy legal documents to sign. The sources are provided for free but without +warranty of any kind. The library has been entirely written by Jean-loup +Gailly and Mark Adler; it does not include third-party code. + +If you redistribute modified sources, we would appreciate that you include in +the file ChangeLog history information documenting your changes. Please read +the FAQ for more information on the distribution of modified source versions. diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client-0.22.1.dist-info/licenses/LICENSE b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client-0.22.1.dist-info/licenses/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64 --- /dev/null +++ b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client-0.22.1.dist-info/licenses/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client-0.22.1.dist-info/licenses/NOTICE b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client-0.22.1.dist-info/licenses/NOTICE new file mode 100644 index 0000000000000000000000000000000000000000..59efb6c783b056c3c3d14b886c4403d58e86da1d --- /dev/null +++ b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client-0.22.1.dist-info/licenses/NOTICE @@ -0,0 +1,5 @@ +Prometheus instrumentation library for Python applications +Copyright 2015 The Prometheus Authors + +This product bundles decorator 4.0.10 which is available under a "2-clause BSD" +license. For details, see prometheus_client/decorator.py. diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/__init__.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0296f02f391231d180c70311ee3ca72dfdd00c13 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/__init__.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/asgi.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/asgi.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ba3600a6848cde25fbcc48f1a4999748fcd0be1b Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/asgi.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/context_managers.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/context_managers.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bb9bbc9d36e7ad5efb4a9cfa32f67edf3c556ecb Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/context_managers.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/core.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/core.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..19b80d55779b9fa8e6134379eddb5a0baba2c08c Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/core.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/decorator.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/decorator.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b5f8a32db1793dea0558e0f6d7b24d93757e80e7 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/decorator.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/exposition.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/exposition.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ff8f43939d0c4f01548526a7bacc2e9216bab021 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/exposition.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/gc_collector.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/gc_collector.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..36f98b2307c86b2f3ef0e5eb162f50b784187811 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/gc_collector.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/metrics.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/metrics.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c17363515d3e14fcc243266095910ee8eed22faa Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/metrics.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/metrics_core.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/metrics_core.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d8e9aad0e1e4afff83246ccd5d5ef5934cd0ef03 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/metrics_core.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/mmap_dict.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/mmap_dict.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bad1cee367ef2205d2b71899d8a697b422320a69 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/mmap_dict.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/multiprocess.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/multiprocess.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a3204ba0acf5116fdd7c98d9fe05c188e9e4db77 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/multiprocess.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/parser.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/parser.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fcae80ca7cd22fe60530ab16a311b314bf998f8f Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/parser.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/platform_collector.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/platform_collector.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7235174f72ddf043b3c398693b6d2c5a71e32d46 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/platform_collector.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/process_collector.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/process_collector.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..819374aec8d7044438f29788ab2ca74cf9a14d60 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/process_collector.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/registry.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/registry.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8c17a7739e1f1785c5e2210fe996ec9dd2e4e9d4 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/registry.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/samples.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/samples.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1c7e588d7a88f71c074c6edd9dd03561cd78a6f0 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/samples.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/utils.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/utils.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d845b323043a1c3215e310c0e9b77adcd861076c Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/utils.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/validation.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/validation.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6e9a22565b8765037a57bb49e9100f5af9d1bfb4 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/validation.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/values.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/values.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7a0b2e59029b8ed0d195cf5dde3dea0941f6d8b3 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/__pycache__/values.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/bridge/__init__.py b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/bridge/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/bridge/__pycache__/__init__.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/bridge/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d79110f6f145143a1306761d416d526c17420174 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/bridge/__pycache__/__init__.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/bridge/__pycache__/graphite.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/bridge/__pycache__/graphite.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d2a7c107883a568cd5aa758838ee1484d57c2a96 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/bridge/__pycache__/graphite.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/bridge/graphite.py b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/bridge/graphite.py new file mode 100644 index 0000000000000000000000000000000000000000..8cadbedc53f7b45521af7fcc8c88e2fcfa7ec042 --- /dev/null +++ b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/bridge/graphite.py @@ -0,0 +1,94 @@ +#!/usr/bin/env python + +import logging +import re +import socket +import threading +import time +from timeit import default_timer +from typing import Callable, Tuple + +from ..registry import CollectorRegistry, REGISTRY + +# Roughly, have to keep to what works as a file name. +# We also remove periods, so labels can be distinguished. + +_INVALID_GRAPHITE_CHARS = re.compile(r"[^a-zA-Z0-9_-]") + + +def _sanitize(s): + return _INVALID_GRAPHITE_CHARS.sub('_', s) + + +class _RegularPush(threading.Thread): + def __init__(self, pusher, interval, prefix): + super().__init__() + self._pusher = pusher + self._interval = interval + self._prefix = prefix + + def run(self): + wait_until = default_timer() + while True: + while True: + now = default_timer() + if now >= wait_until: + # May need to skip some pushes. + while wait_until < now: + wait_until += self._interval + break + # time.sleep can return early. + time.sleep(wait_until - now) + try: + self._pusher.push(prefix=self._prefix) + except OSError: + logging.exception("Push failed") + + +class GraphiteBridge: + def __init__(self, + address: Tuple[str, int], + registry: CollectorRegistry = REGISTRY, + timeout_seconds: float = 30, + _timer: Callable[[], float] = time.time, + tags: bool = False, + ): + self._address = address + self._registry = registry + self._tags = tags + self._timeout = timeout_seconds + self._timer = _timer + + def push(self, prefix: str = '') -> None: + now = int(self._timer()) + output = [] + + prefixstr = '' + if prefix: + prefixstr = prefix + '.' + + for metric in self._registry.collect(): + for s in metric.samples: + if s.labels: + if self._tags: + sep = ';' + fmt = '{0}={1}' + else: + sep = '.' + fmt = '{0}.{1}' + labelstr = sep + sep.join( + [fmt.format( + _sanitize(k), _sanitize(v)) + for k, v in sorted(s.labels.items())]) + else: + labelstr = '' + output.append(f'{prefixstr}{_sanitize(s.name)}{labelstr} {float(s.value)} {now}\n') + + conn = socket.create_connection(self._address, self._timeout) + conn.sendall(''.join(output).encode('ascii')) + conn.close() + + def start(self, interval: float = 60.0, prefix: str = '') -> None: + t = _RegularPush(self, interval, prefix) + t.daemon = True + t.start() diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/openmetrics/__init__.py b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/openmetrics/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/openmetrics/__pycache__/__init__.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/openmetrics/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..adc96712a15722b932a5cd40d4f2660ba0be1132 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/openmetrics/__pycache__/__init__.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/openmetrics/__pycache__/exposition.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/openmetrics/__pycache__/exposition.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ee332bf0da6150458cdbcc8b1a7cad3215f9dfab Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/openmetrics/__pycache__/exposition.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/openmetrics/__pycache__/parser.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/openmetrics/__pycache__/parser.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..de47b09b3cf57fb09f22c4d4f7760fde1a0db427 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/openmetrics/__pycache__/parser.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/openmetrics/exposition.py b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/openmetrics/exposition.py new file mode 100644 index 0000000000000000000000000000000000000000..84600605e57abef36a1a2a095197ac7cff2f907d --- /dev/null +++ b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/openmetrics/exposition.py @@ -0,0 +1,117 @@ +#!/usr/bin/env python + + +from ..utils import floatToGoString +from ..validation import ( + _is_valid_legacy_labelname, _is_valid_legacy_metric_name, +) + +CONTENT_TYPE_LATEST = 'application/openmetrics-text; version=1.0.0; charset=utf-8' +"""Content type of the latest OpenMetrics text format""" + + +def _is_valid_exemplar_metric(metric, sample): + if metric.type == 'counter' and sample.name.endswith('_total'): + return True + if metric.type in ('gaugehistogram') and sample.name.endswith('_bucket'): + return True + if metric.type in ('histogram') and sample.name.endswith('_bucket') or sample.name == metric.name: + return True + return False + + +def generate_latest(registry): + '''Returns the metrics from the registry in latest text format as a string.''' + output = [] + for metric in registry.collect(): + try: + mname = metric.name + output.append('# HELP {} {}\n'.format( + escape_metric_name(mname), _escape(metric.documentation))) + output.append(f'# TYPE {escape_metric_name(mname)} {metric.type}\n') + if metric.unit: + output.append(f'# UNIT {escape_metric_name(mname)} {metric.unit}\n') + for s in metric.samples: + if not _is_valid_legacy_metric_name(s.name): + labelstr = escape_metric_name(s.name) + if s.labels: + labelstr += ', ' + else: + labelstr = '' + + if s.labels: + items = sorted(s.labels.items()) + labelstr += ','.join( + ['{}="{}"'.format( + escape_label_name(k), _escape(v)) + for k, v in items]) + if labelstr: + labelstr = "{" + labelstr + "}" + + if s.exemplar: + if not _is_valid_exemplar_metric(metric, s): + raise ValueError(f"Metric {metric.name} has exemplars, but is not a histogram bucket or counter") + labels = '{{{0}}}'.format(','.join( + ['{}="{}"'.format( + k, v.replace('\\', r'\\').replace('\n', r'\n').replace('"', r'\"')) + for k, v in sorted(s.exemplar.labels.items())])) + if s.exemplar.timestamp is not None: + exemplarstr = ' # {} {} {}'.format( + labels, + floatToGoString(s.exemplar.value), + s.exemplar.timestamp, + ) + else: + exemplarstr = ' # {} {}'.format( + labels, + floatToGoString(s.exemplar.value), + ) + else: + exemplarstr = '' + timestamp = '' + if s.timestamp is not None: + timestamp = f' {s.timestamp}' + if _is_valid_legacy_metric_name(s.name): + output.append('{}{} {}{}{}\n'.format( + s.name, + labelstr, + floatToGoString(s.value), + timestamp, + exemplarstr, + )) + else: + output.append('{} {}{}{}\n'.format( + labelstr, + floatToGoString(s.value), + timestamp, + exemplarstr, + )) + except Exception as exception: + exception.args = (exception.args or ('',)) + (metric,) + raise + + output.append('# EOF\n') + return ''.join(output).encode('utf-8') + + +def escape_metric_name(s: str) -> str: + """Escapes the metric name and puts it in quotes iff the name does not + conform to the legacy Prometheus character set. + """ + if _is_valid_legacy_metric_name(s): + return s + return '"{}"'.format(_escape(s)) + + +def escape_label_name(s: str) -> str: + """Escapes the label name and puts it in quotes iff the name does not + conform to the legacy Prometheus character set. + """ + if _is_valid_legacy_labelname(s): + return s + return '"{}"'.format(_escape(s)) + + +def _escape(s: str) -> str: + """Performs backslash escaping on backslash, newline, and double-quote characters.""" + return s.replace('\\', r'\\').replace('\n', r'\n').replace('"', r'\"') diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/openmetrics/parser.py b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/openmetrics/parser.py new file mode 100644 index 0000000000000000000000000000000000000000..d967e83b93bae5683449e5527c24566efb05ddf8 --- /dev/null +++ b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/openmetrics/parser.py @@ -0,0 +1,653 @@ +#!/usr/bin/env python + + +import io as StringIO +import math +import re + +from ..metrics_core import Metric +from ..parser import ( + _last_unquoted_char, _next_unquoted_char, _parse_value, _split_quoted, + _unquote_unescape, parse_labels, +) +from ..samples import BucketSpan, Exemplar, NativeHistogram, Sample, Timestamp +from ..utils import floatToGoString +from ..validation import _is_valid_legacy_metric_name, _validate_metric_name + + +def text_string_to_metric_families(text): + """Parse Openmetrics text format from a unicode string. + + See text_fd_to_metric_families. + """ + yield from text_fd_to_metric_families(StringIO.StringIO(text)) + + +_CANONICAL_NUMBERS = {float("inf")} + + +def _isUncanonicalNumber(s): + f = float(s) + if f not in _CANONICAL_NUMBERS: + return False # Only the canonical numbers are required to be canonical. + return s != floatToGoString(f) + + +ESCAPE_SEQUENCES = { + '\\\\': '\\', + '\\n': '\n', + '\\"': '"', +} + + +def _replace_escape_sequence(match): + return ESCAPE_SEQUENCES[match.group(0)] + + +ESCAPING_RE = re.compile(r'\\[\\n"]') + + +def _replace_escaping(s): + return ESCAPING_RE.sub(_replace_escape_sequence, s) + + +def _unescape_help(text): + result = [] + slash = False + + for char in text: + if slash: + if char == '\\': + result.append('\\') + elif char == '"': + result.append('"') + elif char == 'n': + result.append('\n') + else: + result.append('\\' + char) + slash = False + else: + if char == '\\': + slash = True + else: + result.append(char) + + if slash: + result.append('\\') + + return ''.join(result) + + +def _parse_timestamp(timestamp): + timestamp = ''.join(timestamp) + if not timestamp: + return None + if timestamp != timestamp.strip() or '_' in timestamp: + raise ValueError(f"Invalid timestamp: {timestamp!r}") + try: + # Simple int. + return Timestamp(int(timestamp), 0) + except ValueError: + try: + # aaaa.bbbb. Nanosecond resolution supported. + parts = timestamp.split('.', 1) + return Timestamp(int(parts[0]), int(parts[1][:9].ljust(9, "0"))) + except ValueError: + # Float. + ts = float(timestamp) + if math.isnan(ts) or math.isinf(ts): + raise ValueError(f"Invalid timestamp: {timestamp!r}") + return ts + + +def _is_character_escaped(s, charpos): + num_bslashes = 0 + while (charpos > num_bslashes + and s[charpos - 1 - num_bslashes] == '\\'): + num_bslashes += 1 + return num_bslashes % 2 == 1 + + +def _parse_sample(text): + separator = " # " + # Detect the labels in the text + label_start = _next_unquoted_char(text, '{') + if label_start == -1 or separator in text[:label_start]: + # We don't have labels, but there could be an exemplar. + name_end = _next_unquoted_char(text, ' ') + name = text[:name_end] + if not _is_valid_legacy_metric_name(name): + raise ValueError("invalid metric name:" + text) + # Parse the remaining text after the name + remaining_text = text[name_end + 1:] + value, timestamp, exemplar = _parse_remaining_text(remaining_text) + return Sample(name, {}, value, timestamp, exemplar) + name = text[:label_start] + label_end = _next_unquoted_char(text, '}') + labels = parse_labels(text[label_start + 1:label_end], True) + if not name: + # Name might be in the labels + if '__name__' not in labels: + raise ValueError + name = labels['__name__'] + del labels['__name__'] + elif '__name__' in labels: + raise ValueError("metric name specified more than once") + # Parsing labels succeeded, continue parsing the remaining text + remaining_text = text[label_end + 2:] + value, timestamp, exemplar = _parse_remaining_text(remaining_text) + return Sample(name, labels, value, timestamp, exemplar) + + +def _parse_remaining_text(text): + split_text = text.split(" ", 1) + val = _parse_value(split_text[0]) + if len(split_text) == 1: + # We don't have timestamp or exemplar + return val, None, None + + timestamp = [] + exemplar_value = [] + exemplar_timestamp = [] + exemplar_labels = None + + state = 'timestamp' + text = split_text[1] + + it = iter(text) + in_quotes = False + for char in it: + if char == '"': + in_quotes = not in_quotes + if in_quotes: + continue + if state == 'timestamp': + if char == '#' and not timestamp: + state = 'exemplarspace' + elif char == ' ': + state = 'exemplarhash' + else: + timestamp.append(char) + elif state == 'exemplarhash': + if char == '#': + state = 'exemplarspace' + else: + raise ValueError("Invalid line: " + text) + elif state == 'exemplarspace': + if char == ' ': + state = 'exemplarstartoflabels' + else: + raise ValueError("Invalid line: " + text) + elif state == 'exemplarstartoflabels': + if char == '{': + label_start = _next_unquoted_char(text, '{') + label_end = _last_unquoted_char(text, '}') + exemplar_labels = parse_labels(text[label_start + 1:label_end], True) + state = 'exemplarparsedlabels' + else: + raise ValueError("Invalid line: " + text) + elif state == 'exemplarparsedlabels': + if char == '}': + state = 'exemplarvaluespace' + elif state == 'exemplarvaluespace': + if char == ' ': + state = 'exemplarvalue' + else: + raise ValueError("Invalid line: " + text) + elif state == 'exemplarvalue': + if char == ' ' and not exemplar_value: + raise ValueError("Invalid line: " + text) + elif char == ' ': + state = 'exemplartimestamp' + else: + exemplar_value.append(char) + elif state == 'exemplartimestamp': + exemplar_timestamp.append(char) + + # Trailing space after value. + if state == 'timestamp' and not timestamp: + raise ValueError("Invalid line: " + text) + + # Trailing space after value. + if state == 'exemplartimestamp' and not exemplar_timestamp: + raise ValueError("Invalid line: " + text) + + # Incomplete exemplar. + if state in ['exemplarhash', 'exemplarspace', 'exemplarstartoflabels', 'exemplarparsedlabels']: + raise ValueError("Invalid line: " + text) + + ts = _parse_timestamp(timestamp) + exemplar = None + if exemplar_labels is not None: + exemplar_length = sum(len(k) + len(v) for k, v in exemplar_labels.items()) + if exemplar_length > 128: + raise ValueError("Exemplar labels are too long: " + text) + exemplar = Exemplar( + exemplar_labels, + _parse_value(exemplar_value), + _parse_timestamp(exemplar_timestamp), + ) + + return val, ts, exemplar + + +def _parse_nh_sample(text, suffixes): + """Determines if the line has a native histogram sample, and parses it if so.""" + labels_start = _next_unquoted_char(text, '{') + labels_end = -1 + + # Finding a native histogram sample requires careful parsing of + # possibly-quoted text, which can appear in metric names, label names, and + # values. + # + # First, we need to determine if there are metric labels. Find the space + # between the metric definition and the rest of the line. Look for unquoted + # space or {. + i = 0 + has_metric_labels = False + i = _next_unquoted_char(text, ' {') + if i == -1: + return + + # If the first unquoted char was a {, then that is the metric labels (which + # could contain a UTF-8 metric name). + if text[i] == '{': + has_metric_labels = True + # Consume the labels -- jump ahead to the close bracket. + labels_end = i = _next_unquoted_char(text, '}', i) + if labels_end == -1: + raise ValueError + + # If there is no subsequent unquoted {, then it's definitely not a nh. + nh_value_start = _next_unquoted_char(text, '{', i + 1) + if nh_value_start == -1: + return + + # Edge case: if there is an unquoted # between the metric definition and the {, + # then this is actually an exemplar + exemplar = _next_unquoted_char(text, '#', i + 1) + if exemplar != -1 and exemplar < nh_value_start: + return + + nh_value_end = _next_unquoted_char(text, '}', nh_value_start) + if nh_value_end == -1: + raise ValueError + + if has_metric_labels: + labelstext = text[labels_start + 1:labels_end] + labels = parse_labels(labelstext, True) + name_end = labels_start + name = text[:name_end] + if name.endswith(suffixes): + raise ValueError("the sample name of a native histogram with labels should have no suffixes", name) + if not name: + # Name might be in the labels + if '__name__' not in labels: + raise ValueError + name = labels['__name__'] + del labels['__name__'] + # Edge case: the only "label" is the name definition. + if not labels: + labels = None + + nh_value = text[nh_value_start:] + nat_hist_value = _parse_nh_struct(nh_value) + return Sample(name, labels, None, None, None, nat_hist_value) + # check if it's a native histogram + else: + nh_value = text[nh_value_start:] + name_end = nh_value_start - 1 + name = text[:name_end] + if name.endswith(suffixes): + raise ValueError("the sample name of a native histogram should have no suffixes", name) + # Not possible for UTF-8 name here, that would have been caught as having a labelset. + nat_hist_value = _parse_nh_struct(nh_value) + return Sample(name, None, None, None, None, nat_hist_value) + + +def _parse_nh_struct(text): + pattern = r'(\w+):\s*([^,}]+)' + re_spans = re.compile(r'(positive_spans|negative_spans):\[(\d+:\d+(,\d+:\d+)*)\]') + re_deltas = re.compile(r'(positive_deltas|negative_deltas):\[(-?\d+(?:,-?\d+)*)\]') + + items = dict(re.findall(pattern, text)) + span_matches = re_spans.findall(text) + deltas = dict(re_deltas.findall(text)) + + count_value = int(items['count']) + sum_value = int(items['sum']) + schema = int(items['schema']) + zero_threshold = float(items['zero_threshold']) + zero_count = int(items['zero_count']) + + pos_spans = _compose_spans(span_matches, 'positive_spans') + neg_spans = _compose_spans(span_matches, 'negative_spans') + pos_deltas = _compose_deltas(deltas, 'positive_deltas') + neg_deltas = _compose_deltas(deltas, 'negative_deltas') + + return NativeHistogram( + count_value=count_value, + sum_value=sum_value, + schema=schema, + zero_threshold=zero_threshold, + zero_count=zero_count, + pos_spans=pos_spans, + neg_spans=neg_spans, + pos_deltas=pos_deltas, + neg_deltas=neg_deltas + ) + + +def _compose_spans(span_matches, spans_name): + """Takes a list of span matches (expected to be a list of tuples) and a string + (the expected span list name) and processes the list so that the values extracted + from the span matches can be used to compose a tuple of BucketSpan objects""" + spans = {} + for match in span_matches: + # Extract the key from the match (first element of the tuple). + key = match[0] + # Extract the value from the match (second element of the tuple). + # Split the value string by commas to get individual pairs, + # split each pair by ':' to get start and end, and convert them to integers. + value = [tuple(map(int, pair.split(':'))) for pair in match[1].split(',')] + # Store the processed value in the spans dictionary with the key. + spans[key] = value + if spans_name not in spans: + return None + out_spans = [] + # Iterate over each start and end tuple in the list of tuples for the specified spans_name. + for start, end in spans[spans_name]: + # Compose a BucketSpan object with the start and end values + # and append it to the out_spans list. + out_spans.append(BucketSpan(start, end)) + # Convert to tuple + out_spans_tuple = tuple(out_spans) + return out_spans_tuple + + +def _compose_deltas(deltas, deltas_name): + """Takes a list of deltas matches (a dictionary) and a string (the expected delta list name), + and processes its elements to compose a tuple of integers representing the deltas""" + if deltas_name not in deltas: + return None + out_deltas = deltas.get(deltas_name) + if out_deltas is not None and out_deltas.strip(): + elems = out_deltas.split(',') + # Convert each element in the list elems to an integer + # after stripping whitespace and create a tuple from these integers. + out_deltas_tuple = tuple(int(x.strip()) for x in elems) + return out_deltas_tuple + + +def _group_for_sample(sample, name, typ): + if typ == 'info': + # We can't distinguish between groups for info metrics. + return {} + if typ == 'summary' and sample.name == name: + d = sample.labels.copy() + del d['quantile'] + return d + if typ == 'stateset': + d = sample.labels.copy() + del d[name] + return d + if typ in ['histogram', 'gaugehistogram'] and sample.name == name + '_bucket': + d = sample.labels.copy() + del d['le'] + return d + return sample.labels + + +def _check_histogram(samples, name): + group = None + timestamp = None + + def do_checks(): + if bucket != float('+Inf'): + raise ValueError("+Inf bucket missing: " + name) + if count is not None and value != count: + raise ValueError("Count does not match +Inf value: " + name) + if has_sum and count is None: + raise ValueError("_count must be present if _sum is present: " + name) + if has_gsum and count is None: + raise ValueError("_gcount must be present if _gsum is present: " + name) + if not (has_sum or has_gsum) and count is not None: + raise ValueError("_sum/_gsum must be present if _count is present: " + name) + if has_negative_buckets and has_sum: + raise ValueError("Cannot have _sum with negative buckets: " + name) + if not has_negative_buckets and has_negative_gsum: + raise ValueError("Cannot have negative _gsum with non-negative buckets: " + name) + + for s in samples: + suffix = s.name[len(name):] + g = _group_for_sample(s, name, 'histogram') + if len(suffix) == 0: + continue + if g != group or s.timestamp != timestamp: + if group is not None: + do_checks() + count = None + bucket = None + has_negative_buckets = False + has_sum = False + has_gsum = False + has_negative_gsum = False + value = 0 + group = g + timestamp = s.timestamp + + if suffix == '_bucket': + b = float(s.labels['le']) + if b < 0: + has_negative_buckets = True + if bucket is not None and b <= bucket: + raise ValueError("Buckets out of order: " + name) + if s.value < value: + raise ValueError("Bucket values out of order: " + name) + bucket = b + value = s.value + elif suffix in ['_count', '_gcount']: + count = s.value + elif suffix in ['_sum']: + has_sum = True + elif suffix in ['_gsum']: + has_gsum = True + if s.value < 0: + has_negative_gsum = True + + if group is not None: + do_checks() + + +def text_fd_to_metric_families(fd): + """Parse Prometheus text format from a file descriptor. + + This is a laxer parser than the main Go parser, + so successful parsing does not imply that the parsed + text meets the specification. + + Yields Metric's. + """ + name = None + allowed_names = [] + eof = False + + seen_names = set() + type_suffixes = { + 'counter': ['_total', '_created'], + 'summary': ['', '_count', '_sum', '_created'], + 'histogram': ['_count', '_sum', '_bucket', '_created'], + 'gaugehistogram': ['_gcount', '_gsum', '_bucket'], + 'info': ['_info'], + } + + def build_metric(name, documentation, typ, unit, samples): + if typ is None: + typ = 'unknown' + for suffix in set(type_suffixes.get(typ, []) + [""]): + if name + suffix in seen_names: + raise ValueError("Clashing name: " + name + suffix) + seen_names.add(name + suffix) + if documentation is None: + documentation = '' + if unit is None: + unit = '' + if unit and not name.endswith("_" + unit): + raise ValueError("Unit does not match metric name: " + name) + if unit and typ in ['info', 'stateset']: + raise ValueError("Units not allowed for this metric type: " + name) + if typ in ['histogram', 'gaugehistogram']: + _check_histogram(samples, name) + _validate_metric_name(name) + metric = Metric(name, documentation, typ, unit) + # TODO: check labelvalues are valid utf8 + metric.samples = samples + return metric + + is_nh = False + typ = None + for line in fd: + if line[-1] == '\n': + line = line[:-1] + + if eof: + raise ValueError("Received line after # EOF: " + line) + + if not line: + raise ValueError("Received blank line") + + if line == '# EOF': + eof = True + elif line.startswith('#'): + parts = _split_quoted(line, ' ', 3) + if len(parts) < 4: + raise ValueError("Invalid line: " + line) + candidate_name, quoted = _unquote_unescape(parts[2]) + if not quoted and not _is_valid_legacy_metric_name(candidate_name): + raise ValueError + if candidate_name == name and samples: + raise ValueError("Received metadata after samples: " + line) + if candidate_name != name: + if name is not None: + yield build_metric(name, documentation, typ, unit, samples) + # New metric + name = candidate_name + unit = None + typ = None + documentation = None + group = None + seen_groups = set() + group_timestamp = None + group_timestamp_samples = set() + samples = [] + allowed_names = [candidate_name] + + if parts[1] == 'HELP': + if documentation is not None: + raise ValueError("More than one HELP for metric: " + line) + documentation = _unescape_help(parts[3]) + elif parts[1] == 'TYPE': + if typ is not None: + raise ValueError("More than one TYPE for metric: " + line) + typ = parts[3] + if typ == 'untyped': + raise ValueError("Invalid TYPE for metric: " + line) + allowed_names = [name + n for n in type_suffixes.get(typ, [''])] + elif parts[1] == 'UNIT': + if unit is not None: + raise ValueError("More than one UNIT for metric: " + line) + unit = parts[3] + else: + raise ValueError("Invalid line: " + line) + else: + if typ == 'histogram': + # set to true to account for native histograms naming exceptions/sanitizing differences + is_nh = True + sample = _parse_nh_sample(line, tuple(type_suffixes['histogram'])) + # It's not a native histogram + if sample is None: + is_nh = False + sample = _parse_sample(line) + else: + is_nh = False + sample = _parse_sample(line) + if sample.name not in allowed_names and not is_nh: + if name is not None: + yield build_metric(name, documentation, typ, unit, samples) + # Start an unknown metric. + candidate_name, quoted = _unquote_unescape(sample.name) + if not quoted and not _is_valid_legacy_metric_name(candidate_name): + raise ValueError + name = candidate_name + documentation = None + unit = None + typ = 'unknown' + samples = [] + group = None + group_timestamp = None + group_timestamp_samples = set() + seen_groups = set() + allowed_names = [sample.name] + + if typ == 'stateset' and name not in sample.labels: + raise ValueError("Stateset missing label: " + line) + if (name + '_bucket' == sample.name + and (sample.labels.get('le', "NaN") == "NaN" + or _isUncanonicalNumber(sample.labels['le']))): + raise ValueError("Invalid le label: " + line) + if (name + '_bucket' == sample.name + and (not isinstance(sample.value, int) and not sample.value.is_integer())): + raise ValueError("Bucket value must be an integer: " + line) + if ((name + '_count' == sample.name or name + '_gcount' == sample.name) + and (not isinstance(sample.value, int) and not sample.value.is_integer())): + raise ValueError("Count value must be an integer: " + line) + if (typ == 'summary' and name == sample.name + and (not (0 <= float(sample.labels.get('quantile', -1)) <= 1) + or _isUncanonicalNumber(sample.labels['quantile']))): + raise ValueError("Invalid quantile label: " + line) + + if not is_nh: + g = tuple(sorted(_group_for_sample(sample, name, typ).items())) + if group is not None and g != group and g in seen_groups: + raise ValueError("Invalid metric grouping: " + line) + if group is not None and g == group: + if (sample.timestamp is None) != (group_timestamp is None): + raise ValueError("Mix of timestamp presence within a group: " + line) + if group_timestamp is not None and group_timestamp > sample.timestamp and typ != 'info': + raise ValueError("Timestamps went backwards within a group: " + line) + else: + group_timestamp_samples = set() + + series_id = (sample.name, tuple(sorted(sample.labels.items()))) + if sample.timestamp != group_timestamp or series_id not in group_timestamp_samples: + # Not a duplicate due to timestamp truncation. + samples.append(sample) + group_timestamp_samples.add(series_id) + + group = g + group_timestamp = sample.timestamp + seen_groups.add(g) + else: + samples.append(sample) + + if typ == 'stateset' and sample.value not in [0, 1]: + raise ValueError("Stateset samples can only have values zero and one: " + line) + if typ == 'info' and sample.value != 1: + raise ValueError("Info samples can only have value one: " + line) + if typ == 'summary' and name == sample.name and sample.value < 0: + raise ValueError("Quantile values cannot be negative: " + line) + if sample.name[len(name):] in ['_total', '_sum', '_count', '_bucket', '_gcount', '_gsum'] and math.isnan( + sample.value): + raise ValueError("Counter-like samples cannot be NaN: " + line) + if sample.name[len(name):] in ['_total', '_sum', '_count', '_bucket', '_gcount'] and sample.value < 0: + raise ValueError("Counter-like samples cannot be negative: " + line) + if sample.exemplar and not ( + (typ in ['histogram', 'gaugehistogram'] and sample.name.endswith('_bucket')) + or (typ in ['counter'] and sample.name.endswith('_total'))): + raise ValueError("Invalid line only histogram/gaugehistogram buckets and counters can have exemplars: " + line) + + if name is not None: + yield build_metric(name, documentation, typ, unit, samples) + + if not eof: + raise ValueError("Missing # EOF at end") diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/twisted/__init__.py b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/twisted/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..87e0b8a6b90dd3841077ebefb650ad8c0b4ae33a --- /dev/null +++ b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/twisted/__init__.py @@ -0,0 +1,3 @@ +from ._exposition import MetricsResource + +__all__ = ['MetricsResource'] diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/twisted/__pycache__/__init__.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/twisted/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..df27e8fe419da012dda4f9a64154b9ed37bb41a9 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/twisted/__pycache__/__init__.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/twisted/__pycache__/_exposition.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/twisted/__pycache__/_exposition.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8ec5879c71a3d0821101f18e4228fed6605568e2 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/twisted/__pycache__/_exposition.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/twisted/_exposition.py b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/twisted/_exposition.py new file mode 100644 index 0000000000000000000000000000000000000000..202a7d3bbde9325fce3bdc5c143e76cb66359380 --- /dev/null +++ b/tool_server/.venv/lib/python3.12/site-packages/prometheus_client/twisted/_exposition.py @@ -0,0 +1,8 @@ +from twisted.internet import reactor +from twisted.web.wsgi import WSGIResource + +from .. import exposition, REGISTRY + +MetricsResource = lambda registry=REGISTRY: WSGIResource( + reactor, reactor.getThreadPool(), exposition.make_wsgi_app(registry) +) diff --git a/tool_server/.venv/lib/python3.12/site-packages/propcache-0.3.2.dist-info/licenses/LICENSE b/tool_server/.venv/lib/python3.12/site-packages/propcache-0.3.2.dist-info/licenses/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..d645695673349e3947e8e5ae42332d0ac3164cd7 --- /dev/null +++ b/tool_server/.venv/lib/python3.12/site-packages/propcache-0.3.2.dist-info/licenses/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/tool_server/.venv/lib/python3.12/site-packages/propcache-0.3.2.dist-info/licenses/NOTICE b/tool_server/.venv/lib/python3.12/site-packages/propcache-0.3.2.dist-info/licenses/NOTICE new file mode 100644 index 0000000000000000000000000000000000000000..fa53b2b138df881c4c95239d0e4bede831b36ab5 --- /dev/null +++ b/tool_server/.venv/lib/python3.12/site-packages/propcache-0.3.2.dist-info/licenses/NOTICE @@ -0,0 +1,13 @@ + Copyright 2016-2021, Andrew Svetlov and aio-libs team + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/tool_server/.venv/lib/python3.12/site-packages/propcache/__pycache__/__init__.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/propcache/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..79111d5779d0334ad20a788c6c4ca3a037f30399 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/propcache/__pycache__/__init__.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/propcache/__pycache__/_helpers.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/propcache/__pycache__/_helpers.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..508ae2f11a9e2b44ea7ec5a845f3889b35389c27 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/propcache/__pycache__/_helpers.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/propcache/__pycache__/_helpers_py.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/propcache/__pycache__/_helpers_py.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..79b21bf1e663416998ee7c190ca358c97a48ab67 Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/propcache/__pycache__/_helpers_py.cpython-312.pyc differ diff --git a/tool_server/.venv/lib/python3.12/site-packages/propcache/__pycache__/api.cpython-312.pyc b/tool_server/.venv/lib/python3.12/site-packages/propcache/__pycache__/api.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0b91f568d62b1e08c8531b924959cbb82974597d Binary files /dev/null and b/tool_server/.venv/lib/python3.12/site-packages/propcache/__pycache__/api.cpython-312.pyc differ