From 135c53f9e1484d62b76c99449cb37577b38b6e67 Mon Sep 17 00:00:00 2001 From: MervinPraison Date: Tue, 24 Dec 2024 05:41:09 +0000 Subject: [PATCH] Adding Depends 6 --- Dockerfile | 2 +- docs/api/praisonai/deploy.html | 2 +- poetry.lock | 146 +++++++++++++++++++-------------- praisonai.rb | 2 +- praisonai/deploy.py | 2 +- pyproject.toml | 94 +-------------------- uv.lock | 60 ++++---------- 7 files changed, 107 insertions(+), 201 deletions(-) diff --git a/Dockerfile b/Dockerfile index 038963cb..58d0c838 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM python:3.11-slim WORKDIR /app COPY . . -RUN pip install flask praisonai==2.0.5 gunicorn markdown +RUN pip install flask praisonai==2.0.6 gunicorn markdown EXPOSE 8080 CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"] diff --git a/docs/api/praisonai/deploy.html b/docs/api/praisonai/deploy.html index 1caaded4..43fa16fb 100644 --- a/docs/api/praisonai/deploy.html +++ b/docs/api/praisonai/deploy.html @@ -110,7 +110,7 @@

Raises

file.write("FROM python:3.11-slim\n") file.write("WORKDIR /app\n") file.write("COPY . .\n") - file.write("RUN pip install flask praisonai==2.0.5 gunicorn markdown\n") + file.write("RUN pip install flask praisonai==2.0.6 gunicorn markdown\n") file.write("EXPOSE 8080\n") file.write('CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"]\n') diff --git a/poetry.lock b/poetry.lock index 584878f0..74948ca3 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1047,17 +1047,17 @@ uvicorn = {version = ">=0.18.3", extras = ["standard"]} [[package]] name = "clarifai" -version = "10.8.0" +version = "10.7.0" description = "Clarifai Python SDK" optional = true python-versions = ">=3.8" files = [ - {file = "clarifai-10.8.0-py3-none-any.whl", hash = "sha256:8caf4041ab704cba6225829d030e37ed41752613d8c4b4827323a9be9e312c17"}, - {file = "clarifai-10.8.0.tar.gz", hash = "sha256:068fbe63ac0d7d51630db6671db5e52b707f6d72d8e69c1d46092a84ca27a1a9"}, + {file = "clarifai-10.7.0-py3-none-any.whl", hash = "sha256:adf93f86a69569f07f88545155460e440bd94213797b2392119c2cbbf46a085d"}, + {file = "clarifai-10.7.0.tar.gz", hash = "sha256:8ae6c9b537f9f66cf2444d7ce85d7e27364de9643acf5e084a2019289499a9d1"}, ] [package.dependencies] -clarifai-grpc = ">=10.8.0" +clarifai-grpc = ">=10.7.0" inquirerpy = "0.3.4" numpy = ">=1.22.0" Pillow = ">=9.5.0" @@ -1073,18 +1073,18 @@ all = ["pycocotools (==2.0.6)"] [[package]] name = "clarifai-grpc" -version = "10.11.2" +version = "10.7.1" description = "Clarifai gRPC API Client" optional = true python-versions = ">=3.8" files = [ - {file = "clarifai_grpc-10.11.2-py3-none-any.whl", hash = "sha256:9297e95e9d892c680f7375566304f0f0b7f5c5b2e723cd53e0f10ab604f693d6"}, - {file = "clarifai_grpc-10.11.2.tar.gz", hash = "sha256:0a9c614bb2634d82d9abbe19cc60d4ddc3bf68041201f71debe6810575cb2bc3"}, + {file = "clarifai_grpc-10.7.1-py3-none-any.whl", hash = "sha256:94395d332e71521ae14b6e449a65d6cd1b33f818e1e2fe7b0ea19d70ab764ee8"}, + {file = "clarifai_grpc-10.7.1.tar.gz", hash = "sha256:cd1e84d348396b5cae76d610391f2175addd6c6f704cfb4507bbe36da3d7c6fe"}, ] [package.dependencies] googleapis-common-protos = ">=1.53.0" -grpcio = ">=1.44.0,<1.65.0" +grpcio = ">=1.44.0" protobuf = ">=3.20.3" requests = ">=2.25.1" @@ -2568,61 +2568,70 @@ protobuf = ">=3.20.2,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4 [[package]] name = "grpcio" -version = "1.64.3" +version = "1.68.1" description = "HTTP/2-based RPC framework" optional = false python-versions = ">=3.8" files = [ - {file = "grpcio-1.64.3-cp310-cp310-linux_armv7l.whl", hash = "sha256:32b6d78f378df38914cbb6340cec5e02ed78cb3c9cc9f7db3bb8c8132ccd1a9a"}, - {file = "grpcio-1.64.3-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:5900314a91ac4b4bad70b64c7ccd013605dcbad92a1e28f73b54dd7d1d32f09e"}, - {file = "grpcio-1.64.3-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:b6bb9d6180fc71a32a0608724f80f40d3c7e26910b65e9dd88e7c38d8400214f"}, - {file = "grpcio-1.64.3-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:efaadc7b76d8475aec84cbf79169457960274f018fb53e7da19eb752d0d6e924"}, - {file = "grpcio-1.64.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4f6c9b6b91dcfe68fe50b15ea89bc602feb597b5191631ac3b3353d5dddc5a0d"}, - {file = "grpcio-1.64.3-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:0d25eee06cfdfe2387d3394b313acee5a22148613a7d8dd3f994b369c019fc92"}, - {file = "grpcio-1.64.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:7d613f6f4bfb4c475201c35bcdfd596ddfa0ed41906441dd514d5a972c7f364a"}, - {file = "grpcio-1.64.3-cp310-cp310-win32.whl", hash = "sha256:577249998c8f6db7275413431f05717be0fdc258a1f427827967a9fe21f83ad4"}, - {file = "grpcio-1.64.3-cp310-cp310-win_amd64.whl", hash = "sha256:9b11173fae31abd5ce81315696bad87daed5bdb74160e3cacd4bec9c352870d7"}, - {file = "grpcio-1.64.3-cp311-cp311-linux_armv7l.whl", hash = "sha256:56d21c7392aaf7c193a4ba1341974400cf268941007203b05e9bee707d0f2d83"}, - {file = "grpcio-1.64.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:145069b1ee5ee8bb1060f32b00f0f462838064879788cbcbc43d599cdbf5ab9e"}, - {file = "grpcio-1.64.3-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:a9f8a8c4cfbd43a44e6415e42995d7dbb8b98cb3a9d88eff34291ef670e69121"}, - {file = "grpcio-1.64.3-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6902b9ebfc833a927aa0f41fe1ffa986a2666ae96c909c7d0cf265cabc78ce93"}, - {file = "grpcio-1.64.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ee2987148d689f14f53b8cdb3c2545d42826343e38d0d31c00ab9249ecbe579d"}, - {file = "grpcio-1.64.3-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:a87076b01979d7e0297f6cd79d6ad90f305bd0168a2d217c6ae9870023f76776"}, - {file = "grpcio-1.64.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:fe357d7b2114568b55dde795c324c272e0029a48fdcb7c2eb5ee06a311c19b91"}, - {file = "grpcio-1.64.3-cp311-cp311-win32.whl", hash = "sha256:48933a53b57941ed02a2c97a5a821872fec80d4240c936df7800a5af0c89263f"}, - {file = "grpcio-1.64.3-cp311-cp311-win_amd64.whl", hash = "sha256:5bbeea3aac7dc25fdbf39a42cd99e7b8cce9ad248ed99747c403de540fc1157d"}, - {file = "grpcio-1.64.3-cp312-cp312-linux_armv7l.whl", hash = "sha256:90dc5acc2059737b98b849b910fde8ff83467fe5d791042333d007136085c7e0"}, - {file = "grpcio-1.64.3-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:f5674f0c9ff5af675a85e1ff03546f938b1e9f28022535e18482835165016cc7"}, - {file = "grpcio-1.64.3-cp312-cp312-manylinux_2_17_aarch64.whl", hash = "sha256:9a6a1c0b5133fdcde4473112000eae10d04cafd8bcd6d0a1fe01b04535e24f49"}, - {file = "grpcio-1.64.3-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:eb19ec6c0b3064a8f94e0842804be185ce2c7a872ea45327f4c7b626b67b663b"}, - {file = "grpcio-1.64.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:54fe53b503746f76981b96e7c6c8fde7d3cc1fdfd804e7aa399e7eb0d24d5b65"}, - {file = "grpcio-1.64.3-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:448cb624544caa17f90acce094b6cfab8f7f788c616be591114d679c580e8485"}, - {file = "grpcio-1.64.3-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:786f6c15d648b29ef25278de9026c9f2042903b9e875830b64f27816e3055b93"}, - {file = "grpcio-1.64.3-cp312-cp312-win32.whl", hash = "sha256:7599dc7d4ff6079612386fe93f45a98c3f2bea66e59bcf1c5de811d2c4da8084"}, - {file = "grpcio-1.64.3-cp312-cp312-win_amd64.whl", hash = "sha256:2b3154eb0cb1db36934c7fbb7686698650a607b9581bad103101ed86462e369e"}, - {file = "grpcio-1.64.3-cp38-cp38-linux_armv7l.whl", hash = "sha256:25532056a702a3fdb7a7306da87d49f5636e5b5495abdb9dfd9bb20149a300ca"}, - {file = "grpcio-1.64.3-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:896461893a76c933ae6b05595255a3f49e6161cc805d94fbc74359ad5f213681"}, - {file = "grpcio-1.64.3-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:ae947a47a793da4df0ea3af6ebf9c3e3d8bcf266a86c9547778e6d750ce2f69d"}, - {file = "grpcio-1.64.3-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fae61bcbbbf9bcc48178bb03ea419b5faca48b420e53e663bbb57d65c3bd6733"}, - {file = "grpcio-1.64.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ce0a8bcb9ff28cb972353cf321759872cfdb27f927b2b9442a599198c53d4013"}, - {file = "grpcio-1.64.3-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:cc4ebad61b073ae08326b61c2a0707fc7aa1a53bd4db201408b7d118db51b94c"}, - {file = "grpcio-1.64.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:9c8ee1858eab59e6a6aed142d698a37e9474394956e399b69b8ec32977ce2d0d"}, - {file = "grpcio-1.64.3-cp38-cp38-win32.whl", hash = "sha256:be3e5d3b693e9998599c5a173af56c11de14ae37fa21bb071c24ed09ac80bee7"}, - {file = "grpcio-1.64.3-cp38-cp38-win_amd64.whl", hash = "sha256:48cabd2278e6f3dc20a5bf8a73b20e3663297d40dc7702b5e4513c50bbd5cbc3"}, - {file = "grpcio-1.64.3-cp39-cp39-linux_armv7l.whl", hash = "sha256:bcb1a5c09151b2454463143125b591b2909138e56b7dcbcb310cc98b21f56a14"}, - {file = "grpcio-1.64.3-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:d7a600d6eddaf579bdbda4e8a6ce03ee1c7a7ff66635ab1b19cf0e5b6618829e"}, - {file = "grpcio-1.64.3-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:137be8c41cdb284fecd9f823c680522e602fca810aa38fa008e29d9e8b2bfe5a"}, - {file = "grpcio-1.64.3-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3e707bd119d2ddd521f45d0f0e6cb1c0714b900fa4644a6c16a5b68050065083"}, - {file = "grpcio-1.64.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:595cf5a0b4bcb1f583f7014defe4cf96cf8fc1225d1f221c1dbfc5773c619900"}, - {file = "grpcio-1.64.3-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:50553d7d48d9107bc1dcce745ca5d4f62f7a82c6780df0acb42e50ced766a2fc"}, - {file = "grpcio-1.64.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:1f937a3124bfcb8995d78c1f9a9600395d97c5674703c823018dc5764e16ae5e"}, - {file = "grpcio-1.64.3-cp39-cp39-win32.whl", hash = "sha256:067a1d9539e4822f03982d0736e2e6890b356a255d82452921555165154a3c1e"}, - {file = "grpcio-1.64.3-cp39-cp39-win_amd64.whl", hash = "sha256:ca272e96578a844a6cb4f3b461c419ae9c30c039cb7ff4e69624d68005ef9c38"}, - {file = "grpcio-1.64.3.tar.gz", hash = "sha256:f37a0297293918c695e625d7148f99f4e401298d1b6e2bea7a8e9130aa940419"}, -] - -[package.extras] -protobuf = ["grpcio-tools (>=1.64.3)"] + {file = "grpcio-1.68.1-cp310-cp310-linux_armv7l.whl", hash = "sha256:d35740e3f45f60f3c37b1e6f2f4702c23867b9ce21c6410254c9c682237da68d"}, + {file = "grpcio-1.68.1-cp310-cp310-macosx_12_0_universal2.whl", hash = "sha256:d99abcd61760ebb34bdff37e5a3ba333c5cc09feda8c1ad42547bea0416ada78"}, + {file = "grpcio-1.68.1-cp310-cp310-manylinux_2_17_aarch64.whl", hash = "sha256:f8261fa2a5f679abeb2a0a93ad056d765cdca1c47745eda3f2d87f874ff4b8c9"}, + {file = "grpcio-1.68.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0feb02205a27caca128627bd1df4ee7212db051019a9afa76f4bb6a1a80ca95e"}, + {file = "grpcio-1.68.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:919d7f18f63bcad3a0f81146188e90274fde800a94e35d42ffe9eadf6a9a6330"}, + {file = "grpcio-1.68.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:963cc8d7d79b12c56008aabd8b457f400952dbea8997dd185f155e2f228db079"}, + {file = "grpcio-1.68.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:ccf2ebd2de2d6661e2520dae293298a3803a98ebfc099275f113ce1f6c2a80f1"}, + {file = "grpcio-1.68.1-cp310-cp310-win32.whl", hash = "sha256:2cc1fd04af8399971bcd4f43bd98c22d01029ea2e56e69c34daf2bf8470e47f5"}, + {file = "grpcio-1.68.1-cp310-cp310-win_amd64.whl", hash = "sha256:ee2e743e51cb964b4975de572aa8fb95b633f496f9fcb5e257893df3be854746"}, + {file = "grpcio-1.68.1-cp311-cp311-linux_armv7l.whl", hash = "sha256:55857c71641064f01ff0541a1776bfe04a59db5558e82897d35a7793e525774c"}, + {file = "grpcio-1.68.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:4b177f5547f1b995826ef529d2eef89cca2f830dd8b2c99ffd5fde4da734ba73"}, + {file = "grpcio-1.68.1-cp311-cp311-manylinux_2_17_aarch64.whl", hash = "sha256:3522c77d7e6606d6665ec8d50e867f13f946a4e00c7df46768f1c85089eae515"}, + {file = "grpcio-1.68.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9d1fae6bbf0816415b81db1e82fb3bf56f7857273c84dcbe68cbe046e58e1ccd"}, + {file = "grpcio-1.68.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:298ee7f80e26f9483f0b6f94cc0a046caf54400a11b644713bb5b3d8eb387600"}, + {file = "grpcio-1.68.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:cbb5780e2e740b6b4f2d208e90453591036ff80c02cc605fea1af8e6fc6b1bbe"}, + {file = "grpcio-1.68.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:ddda1aa22495d8acd9dfbafff2866438d12faec4d024ebc2e656784d96328ad0"}, + {file = "grpcio-1.68.1-cp311-cp311-win32.whl", hash = "sha256:b33bd114fa5a83f03ec6b7b262ef9f5cac549d4126f1dc702078767b10c46ed9"}, + {file = "grpcio-1.68.1-cp311-cp311-win_amd64.whl", hash = "sha256:7f20ebec257af55694d8f993e162ddf0d36bd82d4e57f74b31c67b3c6d63d8b2"}, + {file = "grpcio-1.68.1-cp312-cp312-linux_armv7l.whl", hash = "sha256:8829924fffb25386995a31998ccbbeaa7367223e647e0122043dfc485a87c666"}, + {file = "grpcio-1.68.1-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:3aed6544e4d523cd6b3119b0916cef3d15ef2da51e088211e4d1eb91a6c7f4f1"}, + {file = "grpcio-1.68.1-cp312-cp312-manylinux_2_17_aarch64.whl", hash = "sha256:4efac5481c696d5cb124ff1c119a78bddbfdd13fc499e3bc0ca81e95fc573684"}, + {file = "grpcio-1.68.1-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6ab2d912ca39c51f46baf2a0d92aa265aa96b2443266fc50d234fa88bf877d8e"}, + {file = "grpcio-1.68.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:95c87ce2a97434dffe7327a4071839ab8e8bffd0054cc74cbe971fba98aedd60"}, + {file = "grpcio-1.68.1-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:e4842e4872ae4ae0f5497bf60a0498fa778c192cc7a9e87877abd2814aca9475"}, + {file = "grpcio-1.68.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:255b1635b0ed81e9f91da4fcc8d43b7ea5520090b9a9ad9340d147066d1d3613"}, + {file = "grpcio-1.68.1-cp312-cp312-win32.whl", hash = "sha256:7dfc914cc31c906297b30463dde0b9be48e36939575eaf2a0a22a8096e69afe5"}, + {file = "grpcio-1.68.1-cp312-cp312-win_amd64.whl", hash = "sha256:a0c8ddabef9c8f41617f213e527254c41e8b96ea9d387c632af878d05db9229c"}, + {file = "grpcio-1.68.1-cp313-cp313-linux_armv7l.whl", hash = "sha256:a47faedc9ea2e7a3b6569795c040aae5895a19dde0c728a48d3c5d7995fda385"}, + {file = "grpcio-1.68.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:390eee4225a661c5cd133c09f5da1ee3c84498dc265fd292a6912b65c421c78c"}, + {file = "grpcio-1.68.1-cp313-cp313-manylinux_2_17_aarch64.whl", hash = "sha256:66a24f3d45c33550703f0abb8b656515b0ab777970fa275693a2f6dc8e35f1c1"}, + {file = "grpcio-1.68.1-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c08079b4934b0bf0a8847f42c197b1d12cba6495a3d43febd7e99ecd1cdc8d54"}, + {file = "grpcio-1.68.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8720c25cd9ac25dd04ee02b69256d0ce35bf8a0f29e20577427355272230965a"}, + {file = "grpcio-1.68.1-cp313-cp313-musllinux_1_1_i686.whl", hash = "sha256:04cfd68bf4f38f5bb959ee2361a7546916bd9a50f78617a346b3aeb2b42e2161"}, + {file = "grpcio-1.68.1-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:c28848761a6520c5c6071d2904a18d339a796ebe6b800adc8b3f474c5ce3c3ad"}, + {file = "grpcio-1.68.1-cp313-cp313-win32.whl", hash = "sha256:77d65165fc35cff6e954e7fd4229e05ec76102d4406d4576528d3a3635fc6172"}, + {file = "grpcio-1.68.1-cp313-cp313-win_amd64.whl", hash = "sha256:a8040f85dcb9830d8bbb033ae66d272614cec6faceee88d37a88a9bd1a7a704e"}, + {file = "grpcio-1.68.1-cp38-cp38-linux_armv7l.whl", hash = "sha256:eeb38ff04ab6e5756a2aef6ad8d94e89bb4a51ef96e20f45c44ba190fa0bcaad"}, + {file = "grpcio-1.68.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:8a3869a6661ec8f81d93f4597da50336718bde9eb13267a699ac7e0a1d6d0bea"}, + {file = "grpcio-1.68.1-cp38-cp38-manylinux_2_17_aarch64.whl", hash = "sha256:2c4cec6177bf325eb6faa6bd834d2ff6aa8bb3b29012cceb4937b86f8b74323c"}, + {file = "grpcio-1.68.1-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:12941d533f3cd45d46f202e3667be8ebf6bcb3573629c7ec12c3e211d99cfccf"}, + {file = "grpcio-1.68.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:80af6f1e69c5e68a2be529990684abdd31ed6622e988bf18850075c81bb1ad6e"}, + {file = "grpcio-1.68.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:e8dbe3e00771bfe3d04feed8210fc6617006d06d9a2679b74605b9fed3e8362c"}, + {file = "grpcio-1.68.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:83bbf5807dc3ee94ce1de2dfe8a356e1d74101e4b9d7aa8c720cc4818a34aded"}, + {file = "grpcio-1.68.1-cp38-cp38-win32.whl", hash = "sha256:8cb620037a2fd9eeee97b4531880e439ebfcd6d7d78f2e7dcc3726428ab5ef63"}, + {file = "grpcio-1.68.1-cp38-cp38-win_amd64.whl", hash = "sha256:52fbf85aa71263380d330f4fce9f013c0798242e31ede05fcee7fbe40ccfc20d"}, + {file = "grpcio-1.68.1-cp39-cp39-linux_armv7l.whl", hash = "sha256:cb400138e73969eb5e0535d1d06cae6a6f7a15f2cc74add320e2130b8179211a"}, + {file = "grpcio-1.68.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:a1b988b40f2fd9de5c820f3a701a43339d8dcf2cb2f1ca137e2c02671cc83ac1"}, + {file = "grpcio-1.68.1-cp39-cp39-manylinux_2_17_aarch64.whl", hash = "sha256:96f473cdacfdd506008a5d7579c9f6a7ff245a9ade92c3c0265eb76cc591914f"}, + {file = "grpcio-1.68.1-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:37ea3be171f3cf3e7b7e412a98b77685eba9d4fd67421f4a34686a63a65d99f9"}, + {file = "grpcio-1.68.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3ceb56c4285754e33bb3c2fa777d055e96e6932351a3082ce3559be47f8024f0"}, + {file = "grpcio-1.68.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:dffd29a2961f3263a16d73945b57cd44a8fd0b235740cb14056f0612329b345e"}, + {file = "grpcio-1.68.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:025f790c056815b3bf53da850dd70ebb849fd755a4b1ac822cb65cd631e37d43"}, + {file = "grpcio-1.68.1-cp39-cp39-win32.whl", hash = "sha256:1098f03dedc3b9810810568060dea4ac0822b4062f537b0f53aa015269be0a76"}, + {file = "grpcio-1.68.1-cp39-cp39-win_amd64.whl", hash = "sha256:334ab917792904245a028f10e803fcd5b6f36a7b2173a820c0b5b076555825e1"}, + {file = "grpcio-1.68.1.tar.gz", hash = "sha256:44a8502dd5de653ae6a73e2de50a401d84184f0331d0ac3daeb044e66d5c5054"}, +] + +[package.extras] +protobuf = ["grpcio-tools (>=1.68.1)"] [[package]] name = "grpcio-status" @@ -8808,7 +8817,24 @@ enabler = ["pytest-enabler (>=2.2)"] test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", "jaraco.test", "more-itertools", "pytest (>=6,!=8.1.*)", "pytest-ignore-flaky"] type = ["pytest-mypy"] +[extras] +agentops = ["agentops"] +anthropic = ["langchain-anthropic"] +api = ["flask"] +autogen = ["crewai", "instructor", "praisonai-tools", "pyautogen"] +call = ["fastapi", "flaml", "instructor", "openai", "pyngrok", "python-dotenv", "rich", "twilio", "uvicorn", "websockets"] +chat = ["aiosqlite", "chainlit", "crawl4ai", "greenlet", "instructor", "litellm", "playwright", "pydantic", "rich", "sqlalchemy", "tavily-python"] +code = ["aiosqlite", "chainlit", "crawl4ai", "greenlet", "litellm", "playwright", "pydantic", "sqlalchemy", "tavily-python"] +cohere = ["langchain-cohere"] +crewai = ["crewai", "instructor", "praisonai-tools"] +google = ["langchain-google-genai"] +gradio = ["gradio"] +openai = ["langchain-openai"] +realtime = ["aiosqlite", "chainlit", "crawl4ai", "duckduckgo_search", "greenlet", "litellm", "plotly", "sqlalchemy", "tavily-python", "websockets", "yfinance"] +train = [] +ui = ["chainlit"] + [metadata] lock-version = "2.0" python-versions = ">=3.10,<3.13" -content-hash = "82b910cae134177cc79a3b6ca572ee14bf95ee3bf9d334012ca5890bdb5feb69" +content-hash = "e1864537982b4b9e6b8f063bcb355652f81b3b23ae73945cb3c82f360940bfab" diff --git a/praisonai.rb b/praisonai.rb index 77e2324f..f117da99 100644 --- a/praisonai.rb +++ b/praisonai.rb @@ -3,7 +3,7 @@ class Praisonai < Formula desc "AI tools for various AI applications" homepage "https://github.com/MervinPraison/PraisonAI" - url "https://github.com/MervinPraison/PraisonAI/archive/refs/tags/2.0.5.tar.gz" + url "https://github.com/MervinPraison/PraisonAI/archive/refs/tags/2.0.6.tar.gz" sha256 "1828fb9227d10f991522c3f24f061943a254b667196b40b1a3e4a54a8d30ce32" # Replace with actual SHA256 checksum license "MIT" diff --git a/praisonai/deploy.py b/praisonai/deploy.py index 1fef4c7c..dfd65c3f 100644 --- a/praisonai/deploy.py +++ b/praisonai/deploy.py @@ -56,7 +56,7 @@ def create_dockerfile(self): file.write("FROM python:3.11-slim\n") file.write("WORKDIR /app\n") file.write("COPY . .\n") - file.write("RUN pip install flask praisonai==2.0.5 gunicorn markdown\n") + file.write("RUN pip install flask praisonai==2.0.6 gunicorn markdown\n") file.write("EXPOSE 8080\n") file.write('CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"]\n') diff --git a/pyproject.toml b/pyproject.toml index ecb29a7d..643d3b82 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "PraisonAI" -version = "2.0.5" +version = "2.0.6" description = "PraisonAI application combines AutoGen and CrewAI or similar frameworks into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customization, and efficient human-agent collaboration." readme = "README.md" license = "" @@ -8,94 +8,10 @@ requires-python = ">=3.10,<3.13" authors = [ { name = "Mervin Praison" } ] -dependencies = [ - "rich>=13.7", - "markdown>=3.5", - "pyparsing>=3.0.0", - "python-dotenv>=1.0.1", - "instructor>=0.4.8", - "PyYAML>=6.0", - "praisonaiagents>=0.0.4" -] - -[project.scripts] -praisonai = "praisonai.__main__:main" -setup-conda-env = "setup.setup_conda_env:main" -praisonai-call = "praisonai.api.call:main" - -[project.optional-dependencies] -autogen = [ - "pyautogen>=0.2.19", - "praisonai-tools>=0.0.7", - "instructor>=0.4.8", - "crewai>=0.32.0" -] -crewai = [ - "crewai>=0.32.0", - "praisonai-tools>=0.0.7", - "instructor>=0.4.8" -] -ui = ["chainlit==2.0rc1"] -gradio = ["gradio>=4.26.0"] -api = ["flask>=3.0.0"] -agentops = ["agentops>=0.3.12"] -google = ["langchain-google-genai>=1.0.4"] -openai = ["langchain-openai>=0.1.7"] -anthropic = ["langchain-anthropic>=0.1.13"] -cohere = ["langchain-cohere>=0.1.4"] -chat = [ - "chainlit==2.0rc1", - "litellm>=1.41.8", - "aiosqlite>=0.20.0", - "greenlet>=3.0.3", - "tavily-python==0.5.0", - "crawl4ai==0.3.4", - "sqlalchemy>=2.0.36", - "playwright>=1.47.0", - "rich>=13.7", - "instructor>=0.4.8", - "pydantic<=2.10.1" -] -code = [ - "chainlit==2.0rc1", - "litellm>=1.41.8", - "aiosqlite>=0.20.0", - "greenlet>=3.0.3", - "tavily-python==0.5.0", - "crawl4ai==0.3.4", - "sqlalchemy>=2.0.36", - "playwright>=1.47.0", - "pydantic<=2.10.1" -] -realtime = [ - "chainlit==2.0rc1", - "litellm>=1.41.8", - "aiosqlite>=0.20.0", - "greenlet>=3.0.3", - "tavily-python==0.5.0", - "crawl4ai==0.3.4", - "websockets>=12.0", - "plotly>=5.24.0", - "yfinance>=0.2.44", - "duckduckgo_search>=6.3.0", - "sqlalchemy>=2.0.36" -] -call = [ - "twilio>=7.0.0", - "fastapi>=0.95.0", - "uvicorn>=0.20.0", - "websockets>=12.0", - "python-dotenv>=1.0.1", - "flaml[automl]>=2.3.1", - "pyngrok>=1.4.0", - "rich>=13.7", - "openai>=1.54.0", - "instructor>=0.4.8" -] [tool.poetry] name = "PraisonAI" -version = "2.0.5" +version = "2.0.6" description = "PraisonAI application combines AutoGen and CrewAI or similar frameworks into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customization, and efficient human-agent collaboration." authors = ["Mervin Praison"] license = "" @@ -196,16 +112,10 @@ litellm = ">=1.41.8" aiosqlite = ">=0.20.0" greenlet = ">=3.0.3" - - [build-system] requires = [ "poetry-core", "setuptools>=42", - "wheel>=0.37.0", - "instructor>=0.4.8", - "python-dotenv>=1.0.1", - "PyYAML>=6.0" ] build-backend = "poetry.core.masonry.api" diff --git a/uv.lock b/uv.lock index 6d34338c..273434dc 100644 --- a/uv.lock +++ b/uv.lock @@ -3067,16 +3067,13 @@ wheels = [ [[package]] name = "praisonai" -version = "2.0.5" +version = "2.0.6" source = { editable = "." } dependencies = [ - { name = "instructor" }, { name = "markdown" }, { name = "praisonaiagents" }, { name = "pyparsing" }, - { name = "python-dotenv" }, { name = "pyyaml" }, - { name = "rich" }, ] [package.optional-dependencies] @@ -3168,67 +3165,40 @@ ui = [ [package.metadata] requires-dist = [ { name = "agentops", marker = "extra == 'agentops'", specifier = ">=0.3.12" }, - { name = "aiosqlite", marker = "extra == 'chat'", specifier = ">=0.20.0" }, - { name = "aiosqlite", marker = "extra == 'code'", specifier = ">=0.20.0" }, - { name = "aiosqlite", marker = "extra == 'realtime'", specifier = ">=0.20.0" }, - { name = "chainlit", marker = "extra == 'chat'", specifier = "==2.0rc1" }, - { name = "chainlit", marker = "extra == 'code'", specifier = "==2.0rc1" }, - { name = "chainlit", marker = "extra == 'realtime'", specifier = "==2.0rc1" }, - { name = "chainlit", marker = "extra == 'ui'", specifier = "==2.0rc1" }, - { name = "crawl4ai", marker = "extra == 'chat'", specifier = "==0.3.4" }, - { name = "crawl4ai", marker = "extra == 'code'", specifier = "==0.3.4" }, - { name = "crawl4ai", marker = "extra == 'realtime'", specifier = "==0.3.4" }, - { name = "crewai", marker = "extra == 'autogen'", specifier = ">=0.32.0" }, - { name = "crewai", marker = "extra == 'crewai'", specifier = ">=0.32.0" }, + { name = "aiosqlite", marker = "extra == 'chat' or extra == 'code' or extra == 'realtime'", specifier = ">=0.20.0" }, + { name = "chainlit", marker = "extra == 'chat' or extra == 'code' or extra == 'realtime' or extra == 'ui'", specifier = "==2.0rc1" }, + { name = "crawl4ai", marker = "extra == 'chat' or extra == 'code' or extra == 'realtime'", specifier = "==0.3.4" }, + { name = "crewai", marker = "extra == 'autogen' or extra == 'crewai'", specifier = ">=0.32.0" }, { name = "duckduckgo-search", marker = "extra == 'realtime'", specifier = ">=6.3.0" }, { name = "fastapi", marker = "extra == 'call'", specifier = ">=0.95.0" }, { name = "flaml", extras = ["automl"], marker = "extra == 'call'", specifier = ">=2.3.1" }, { name = "flask", marker = "extra == 'api'", specifier = ">=3.0.0" }, { name = "gradio", marker = "extra == 'gradio'", specifier = ">=4.26.0" }, - { name = "greenlet", marker = "extra == 'chat'", specifier = ">=3.0.3" }, - { name = "greenlet", marker = "extra == 'code'", specifier = ">=3.0.3" }, - { name = "greenlet", marker = "extra == 'realtime'", specifier = ">=3.0.3" }, - { name = "instructor", specifier = ">=0.4.8" }, - { name = "instructor", marker = "extra == 'autogen'", specifier = ">=0.4.8" }, - { name = "instructor", marker = "extra == 'call'", specifier = ">=0.4.8" }, - { name = "instructor", marker = "extra == 'chat'", specifier = ">=0.4.8" }, - { name = "instructor", marker = "extra == 'crewai'", specifier = ">=0.4.8" }, + { name = "greenlet", marker = "extra == 'chat' or extra == 'code' or extra == 'realtime'", specifier = ">=3.0.3" }, + { name = "instructor", marker = "extra == 'autogen' or extra == 'call' or extra == 'chat' or extra == 'crewai'", specifier = ">=0.4.8" }, { name = "langchain-anthropic", marker = "extra == 'anthropic'", specifier = ">=0.1.13" }, { name = "langchain-cohere", marker = "extra == 'cohere'", specifier = ">=0.1.4" }, { name = "langchain-google-genai", marker = "extra == 'google'", specifier = ">=1.0.4" }, { name = "langchain-openai", marker = "extra == 'openai'", specifier = ">=0.1.7" }, - { name = "litellm", marker = "extra == 'chat'", specifier = ">=1.41.8" }, - { name = "litellm", marker = "extra == 'code'", specifier = ">=1.41.8" }, - { name = "litellm", marker = "extra == 'realtime'", specifier = ">=1.41.8" }, + { name = "litellm", marker = "extra == 'chat' or extra == 'code' or extra == 'realtime'", specifier = ">=1.41.8" }, { name = "markdown", specifier = ">=3.5" }, { name = "openai", marker = "extra == 'call'", specifier = ">=1.54.0" }, - { name = "playwright", marker = "extra == 'chat'", specifier = ">=1.47.0" }, - { name = "playwright", marker = "extra == 'code'", specifier = ">=1.47.0" }, + { name = "playwright", marker = "extra == 'chat' or extra == 'code'", specifier = ">=1.47.0" }, { name = "plotly", marker = "extra == 'realtime'", specifier = ">=5.24.0" }, - { name = "praisonai-tools", marker = "extra == 'autogen'", specifier = ">=0.0.7" }, - { name = "praisonai-tools", marker = "extra == 'crewai'", specifier = ">=0.0.7" }, + { name = "praisonai-tools", marker = "extra == 'autogen' or extra == 'crewai'", specifier = ">=0.0.7" }, { name = "praisonaiagents", specifier = ">=0.0.4" }, { name = "pyautogen", marker = "extra == 'autogen'", specifier = ">=0.2.19" }, - { name = "pydantic", marker = "extra == 'chat'", specifier = "<=2.10.1" }, - { name = "pydantic", marker = "extra == 'code'", specifier = "<=2.10.1" }, + { name = "pydantic", marker = "extra == 'chat' or extra == 'code'", specifier = "<=2.10.1" }, { name = "pyngrok", marker = "extra == 'call'", specifier = ">=1.4.0" }, { name = "pyparsing", specifier = ">=3.0.0" }, - { name = "python-dotenv", specifier = ">=1.0.1" }, { name = "python-dotenv", marker = "extra == 'call'", specifier = ">=1.0.1" }, { name = "pyyaml", specifier = ">=6.0" }, - { name = "rich", specifier = ">=13.7" }, - { name = "rich", marker = "extra == 'call'", specifier = ">=13.7" }, - { name = "rich", marker = "extra == 'chat'", specifier = ">=13.7" }, - { name = "sqlalchemy", marker = "extra == 'chat'", specifier = ">=2.0.36" }, - { name = "sqlalchemy", marker = "extra == 'code'", specifier = ">=2.0.36" }, - { name = "sqlalchemy", marker = "extra == 'realtime'", specifier = ">=2.0.36" }, - { name = "tavily-python", marker = "extra == 'chat'", specifier = "==0.5.0" }, - { name = "tavily-python", marker = "extra == 'code'", specifier = "==0.5.0" }, - { name = "tavily-python", marker = "extra == 'realtime'", specifier = "==0.5.0" }, + { name = "rich", marker = "extra == 'call' or extra == 'chat'", specifier = ">=13.7" }, + { name = "sqlalchemy", marker = "extra == 'chat' or extra == 'code' or extra == 'realtime'", specifier = ">=2.0.36" }, + { name = "tavily-python", marker = "extra == 'chat' or extra == 'code' or extra == 'realtime'", specifier = "==0.5.0" }, { name = "twilio", marker = "extra == 'call'", specifier = ">=7.0.0" }, { name = "uvicorn", marker = "extra == 'call'", specifier = ">=0.20.0" }, - { name = "websockets", marker = "extra == 'call'", specifier = ">=12.0" }, - { name = "websockets", marker = "extra == 'realtime'", specifier = ">=12.0" }, + { name = "websockets", marker = "extra == 'call' or extra == 'realtime'", specifier = ">=12.0" }, { name = "yfinance", marker = "extra == 'realtime'", specifier = ">=0.2.44" }, ]