PraisonAI 2.0.18__cp312-cp312-manylinux_2_39_x86_64.whl → 2.0.20__cp312-cp312-manylinux_2_39_x86_64.whl
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.
Potentially problematic release.
This version of PraisonAI might be problematic. Click here for more details.
- praisonai/deploy.py +1 -1
- {praisonai-2.0.18.dist-info → praisonai-2.0.20.dist-info}/METADATA +54 -2
- {praisonai-2.0.18.dist-info → praisonai-2.0.20.dist-info}/RECORD +6 -6
- {praisonai-2.0.18.dist-info → praisonai-2.0.20.dist-info}/LICENSE +0 -0
- {praisonai-2.0.18.dist-info → praisonai-2.0.20.dist-info}/WHEEL +0 -0
- {praisonai-2.0.18.dist-info → praisonai-2.0.20.dist-info}/entry_points.txt +0 -0
praisonai/deploy.py
CHANGED
|
@@ -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==2.0.
|
|
59
|
+
file.write("RUN pip install flask praisonai==2.0.20 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
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PraisonAI
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.20
|
|
4
4
|
Summary: PraisonAI is an AI Agents Framework with Self Reflection. PraisonAI application combines PraisonAI Agents, AutoGen, and CrewAI into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customisation, and efficient human–agent collaboration.
|
|
5
5
|
Author: Mervin Praison
|
|
6
6
|
Requires-Python: >=3.10,<3.13
|
|
@@ -46,7 +46,7 @@ Requires-Dist: openai (>=1.54.0) ; extra == "call"
|
|
|
46
46
|
Requires-Dist: playwright (>=1.47.0) ; extra == "chat" or extra == "code"
|
|
47
47
|
Requires-Dist: plotly (>=5.24.0) ; extra == "realtime"
|
|
48
48
|
Requires-Dist: praisonai-tools (>=0.0.7) ; extra == "crewai" or extra == "autogen"
|
|
49
|
-
Requires-Dist: praisonaiagents (>=0.0.
|
|
49
|
+
Requires-Dist: praisonaiagents (>=0.0.16)
|
|
50
50
|
Requires-Dist: pyautogen (>=0.2.19) ; extra == "autogen"
|
|
51
51
|
Requires-Dist: pydantic (<=2.10.1) ; extra == "chat" or extra == "code"
|
|
52
52
|
Requires-Dist: pyngrok (>=1.4.0) ; extra == "call"
|
|
@@ -581,3 +581,55 @@ Praison AI is an open-sourced software licensed under the **[MIT license](https:
|
|
|
581
581
|
|
|
582
582
|
Praison AI is an open-sourced software licensed under the **[MIT license](https://opensource.org/licenses/MIT)**.
|
|
583
583
|
|
|
584
|
+
## Local Docker Development with Live Reload
|
|
585
|
+
|
|
586
|
+
To facilitate local development with live reload, you can use Docker. Follow the steps below:
|
|
587
|
+
|
|
588
|
+
1. **Create a `Dockerfile.dev`**:
|
|
589
|
+
```dockerfile
|
|
590
|
+
FROM python:3.11-slim
|
|
591
|
+
|
|
592
|
+
WORKDIR /app
|
|
593
|
+
|
|
594
|
+
COPY . .
|
|
595
|
+
|
|
596
|
+
RUN pip install flask praisonai==2.0.18 watchdog
|
|
597
|
+
|
|
598
|
+
EXPOSE 5555
|
|
599
|
+
|
|
600
|
+
ENV FLASK_ENV=development
|
|
601
|
+
|
|
602
|
+
CMD ["flask", "run", "--host=0.0.0.0"]
|
|
603
|
+
```
|
|
604
|
+
|
|
605
|
+
2. **Create a `docker-compose.yml`**:
|
|
606
|
+
```yaml
|
|
607
|
+
version: '3.8'
|
|
608
|
+
|
|
609
|
+
services:
|
|
610
|
+
app:
|
|
611
|
+
build:
|
|
612
|
+
context: .
|
|
613
|
+
dockerfile: Dockerfile.dev
|
|
614
|
+
volumes:
|
|
615
|
+
- .:/app
|
|
616
|
+
ports:
|
|
617
|
+
- "5555:5555"
|
|
618
|
+
environment:
|
|
619
|
+
FLASK_ENV: development
|
|
620
|
+
command: flask run --host=0.0.0.0
|
|
621
|
+
|
|
622
|
+
watch:
|
|
623
|
+
image: alpine:latest
|
|
624
|
+
volumes:
|
|
625
|
+
- .:/app
|
|
626
|
+
command: sh -c "apk add --no-cache inotify-tools && while inotifywait -r -e modify,create,delete /app; do kill -HUP 1; done"
|
|
627
|
+
```
|
|
628
|
+
|
|
629
|
+
3. **Run Docker Compose**:
|
|
630
|
+
```bash
|
|
631
|
+
docker-compose up
|
|
632
|
+
```
|
|
633
|
+
|
|
634
|
+
This setup will allow you to develop locally with live reload, making it easier to test and iterate on your code.
|
|
635
|
+
|
|
@@ -5,7 +5,7 @@ praisonai/api/call.py,sha256=iHdAlgIH_oTsEbjaGGu1Jjo6DTfMR-SfFdtSxnOLCeY,11032
|
|
|
5
5
|
praisonai/auto.py,sha256=uLDm8CU3L_3amZsd55yzf9RdBF1uW-BGSx7nl9ctNZ4,8680
|
|
6
6
|
praisonai/chainlit_ui.py,sha256=bNR7s509lp0I9JlJNvwCZRUZosC64qdvlFCt8NmFamQ,12216
|
|
7
7
|
praisonai/cli.py,sha256=O7abKND2MP_yDdD_OclPoiZG1JRoGc4u9KowbRzuQuQ,21209
|
|
8
|
-
praisonai/deploy.py,sha256=
|
|
8
|
+
praisonai/deploy.py,sha256=hJlZLt1pk7KjL4OIS_c1e0S5OLC2VTWsog3JOgLXxHg,6028
|
|
9
9
|
praisonai/inbuilt_tools/__init__.py,sha256=fai4ZJIKz7-iOnGZv5jJX0wmT77PKa4x2jqyaJddKFA,569
|
|
10
10
|
praisonai/inbuilt_tools/autogen_tools.py,sha256=kJdEv61BTYvdHOaURNEpBcWq8Rs-oC03loNFTIjT-ak,4687
|
|
11
11
|
praisonai/inc/__init__.py,sha256=sPDlYBBwdk0VlWzaaM_lG0_LD07lS2HRGvPdxXJFiYg,62
|
|
@@ -75,8 +75,8 @@ praisonai/ui/realtimeclient/realtimedocs.txt,sha256=hmgd8Uwy2SkjSndyyF_-ZOaNxiyH
|
|
|
75
75
|
praisonai/ui/realtimeclient/tools.py,sha256=IJOYwVOBW5Ocn5_iV9pFkmSKR3WU3YpX3kwF0I3jikQ,7855
|
|
76
76
|
praisonai/ui/sql_alchemy.py,sha256=cfyL9uFfuizKFvW0aZfUBlJWPQYI-YBi1v4vxlkb1BQ,29615
|
|
77
77
|
praisonai/version.py,sha256=ugyuFliEqtAwQmH4sTlc16YXKYbFWDmfyk87fErB8-8,21
|
|
78
|
-
praisonai-2.0.
|
|
79
|
-
praisonai-2.0.
|
|
80
|
-
praisonai-2.0.
|
|
81
|
-
praisonai-2.0.
|
|
82
|
-
praisonai-2.0.
|
|
78
|
+
praisonai-2.0.20.dist-info/LICENSE,sha256=kqvFysVlnFxYOu0HxCe2HlmZmJtdmNGOxWRRkT9TsWc,1035
|
|
79
|
+
praisonai-2.0.20.dist-info/METADATA,sha256=K0ZMFVYLvzovjk_0MmrNHr59kWshPIci-PiWXKoxuGs,20455
|
|
80
|
+
praisonai-2.0.20.dist-info/WHEEL,sha256=x1HiyTP_r-PIOu3STHzjukjf5kVLXzgVftSXf5bl8AU,110
|
|
81
|
+
praisonai-2.0.20.dist-info/entry_points.txt,sha256=I_xc6a6MNTTfLxYmAxe0rgey0G-_hbY07oFW-ZDnkw4,135
|
|
82
|
+
praisonai-2.0.20.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|