PraisonAI 0.0.24__tar.gz → 0.0.26__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PraisonAI
3
- Version: 0.0.24
3
+ Version: 0.0.26
4
4
  Summary: 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.
5
5
  Author: Mervin Praison
6
6
  Requires-Python: >=3.10,<3.13
@@ -8,12 +8,14 @@ Classifier: Programming Language :: Python :: 3
8
8
  Classifier: Programming Language :: Python :: 3.10
9
9
  Classifier: Programming Language :: Python :: 3.11
10
10
  Classifier: Programming Language :: Python :: 3.12
11
- Provides-Extra: chainlit
12
11
  Provides-Extra: gradio
13
12
  Provides-Extra: ui
14
13
  Requires-Dist: Flask (>=3.0.0)
14
+ Requires-Dist: blinker (>=1.8.2)
15
+ Requires-Dist: chainlit (>=1.1.301,<2.0.0) ; extra == "ui"
15
16
  Requires-Dist: crewai (>=0.30.4)
16
17
  Requires-Dist: crewai-tools (>=0.2.6,<0.3.0)
18
+ Requires-Dist: gradio (>=4.26.0) ; extra == "gradio"
17
19
  Requires-Dist: markdown (>=3.5)
18
20
  Requires-Dist: praisonai-tools (>=0.0.4)
19
21
  Requires-Dist: pyautogen (>=0.2.19)
@@ -9,7 +9,6 @@ from crewai import Agent, Task, Crew
9
9
  from crewai.telemetry import Telemetry
10
10
  load_dotenv()
11
11
  import autogen
12
- import gradio as gr
13
12
  import argparse
14
13
  from .auto import AutoGenerator
15
14
  from crewai_tools import (
@@ -8,7 +8,6 @@ from dotenv import load_dotenv
8
8
  from crewai import Agent, Task, Crew
9
9
  load_dotenv()
10
10
  import autogen
11
- import gradio as gr
12
11
  import argparse
13
12
  from .auto import AutoGenerator
14
13
  from .agents_generator import AgentsGenerator
@@ -211,7 +210,7 @@ class PraisonAI:
211
210
  theme="default"
212
211
  ).launch()
213
212
  else:
214
- print("ERROR: Gradio is not installed. Please install it with 'pip install \"praisonai[gradio]\"' to use this feature.")
213
+ print("ERROR: Gradio is not installed. Please install it with 'pip install gradio' to use this feature.")
215
214
 
216
215
  def create_chainlit_interface(self):
217
216
  """
@@ -226,9 +225,11 @@ class PraisonAI:
226
225
  """
227
226
  if CHAINLIT_AVAILABLE:
228
227
  os.environ["CHAINLIT_PORT"] = "8082"
229
- chainlit_run(["praisonai/chainlit_ui.py"])
228
+ import praisonai
229
+ chainlit_ui_path = os.path.join(os.path.dirname(praisonai.__file__), 'chainlit_ui.py')
230
+ chainlit_run([chainlit_ui_path])
230
231
  else:
231
- print("ERROR: Chainlit is not installed. Please install it with 'pip install \"praisonai\[ui]\"' to use the UI.")
232
+ print("ERROR: Chainlit is not installed. Please install it with 'pip install chainlit' to use the UI.")
232
233
 
233
234
  if __name__ == "__main__":
234
235
  praison_ai = PraisonAI()
@@ -56,7 +56,7 @@ class CloudDeployer:
56
56
  file.write("FROM python:3.11-slim\n")
57
57
  file.write("WORKDIR /app\n")
58
58
  file.write("COPY . .\n")
59
- file.write("RUN pip install flask praisonai==0.0.24 gunicorn markdown\n")
59
+ file.write("RUN pip install flask praisonai==0.0.26 gunicorn markdown\n")
60
60
  file.write("EXPOSE 8080\n")
61
61
  file.write('CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"]\n')
62
62
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "PraisonAI"
3
- version = "0.0.24"
3
+ version = "0.0.26"
4
4
  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."
5
5
  authors = ["Mervin Praison"]
6
6
  license = ""
@@ -18,10 +18,13 @@ python = ">=3.10,<3.13"
18
18
  rich = ">=13.7"
19
19
  pyautogen = ">=0.2.19"
20
20
  crewai = ">=0.30.4"
21
- Flask = ">=3.0.0"
22
21
  markdown = ">=3.5"
23
22
  crewai-tools = "^0.2.6"
24
23
  praisonai-tools = ">=0.0.4"
24
+ blinker = ">=1.8.2"
25
+ Flask = ">=3.0.0"
26
+ chainlit = {version = "^1.1.301", optional = true}
27
+ gradio = {version = ">=4.26.0", optional = true}
25
28
 
26
29
  [tool.poetry.dev-dependencies]
27
30
  pytest = "^8.0.0"
@@ -36,5 +39,4 @@ praisonai = "praisonai.__main__:main"
36
39
 
37
40
  [tool.poetry.extras]
38
41
  ui = ["chainlit"]
39
- chainlit = ["chainlit"]
40
42
  gradio = ["gradio"]
File without changes
File without changes
File without changes
File without changes