waldiez 0.5.6__py3-none-any.whl → 0.5.8__py3-none-any.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 waldiez might be problematic. Click here for more details.
- waldiez/_version.py +1 -1
- waldiez/cli.py +17 -2
- waldiez/exporter.py +1 -1
- waldiez/exporting/agent/code_execution.py +8 -1
- waldiez/exporting/agent/exporter.py +2 -1
- waldiez/exporting/agent/extras/captain_agent_extras.py +1 -0
- waldiez/exporting/agent/extras/doc_agent_extras.py +2 -3
- waldiez/exporting/agent/extras/group_manager_agent_extas.py +1 -0
- waldiez/exporting/agent/extras/handoffs/after_work.py +4 -4
- waldiez/exporting/agent/extras/handoffs/target.py +3 -0
- waldiez/exporting/agent/extras/rag/chroma_extras.py +0 -4
- waldiez/exporting/agent/extras/rag/mongo_extras.py +0 -1
- waldiez/exporting/agent/extras/rag/pgvector_extras.py +0 -2
- waldiez/exporting/agent/extras/rag/qdrant_extras.py +0 -3
- waldiez/exporting/agent/extras/rag/vector_db_extras.py +3 -2
- waldiez/exporting/agent/factory.py +11 -11
- waldiez/exporting/agent/processor.py +3 -2
- waldiez/exporting/chats/exporter.py +2 -2
- waldiez/exporting/chats/factory.py +5 -5
- waldiez/exporting/chats/processor.py +22 -1
- waldiez/exporting/chats/utils/common.py +45 -1
- waldiez/exporting/chats/utils/group.py +1 -1
- waldiez/exporting/chats/utils/sequential.py +3 -68
- waldiez/exporting/chats/utils/single.py +1 -38
- waldiez/exporting/core/context.py +39 -38
- waldiez/exporting/core/exporter.py +10 -10
- waldiez/exporting/core/exporters.py +36 -0
- waldiez/exporting/core/extras/base.py +2 -2
- waldiez/exporting/core/extras/chat_extras.py +4 -2
- waldiez/exporting/core/extras/path_resolver.py +6 -4
- waldiez/exporting/core/extras/serializer.py +1 -0
- waldiez/exporting/core/protocols.py +6 -0
- waldiez/exporting/core/result.py +8 -7
- waldiez/exporting/core/types.py +2 -2
- waldiez/exporting/core/utils/llm_config.py +2 -0
- waldiez/exporting/flow/execution_generator.py +54 -32
- waldiez/exporting/flow/factory.py +2 -2
- waldiez/exporting/flow/file_generator.py +8 -7
- waldiez/exporting/flow/merger.py +8 -7
- waldiez/exporting/flow/orchestrator.py +22 -8
- waldiez/exporting/flow/utils/__init__.py +2 -0
- waldiez/exporting/flow/utils/common.py +20 -11
- waldiez/exporting/flow/utils/importing.py +2 -1
- waldiez/exporting/flow/utils/logging.py +5 -2
- waldiez/exporting/models/exporter.py +2 -1
- waldiez/exporting/models/factory.py +6 -7
- waldiez/exporting/tools/exporter.py +7 -6
- waldiez/exporting/tools/factory.py +4 -5
- waldiez/exporting/tools/processor.py +9 -4
- waldiez/exporting/tools/registration.py +1 -0
- waldiez/io/_ws.py +2 -0
- waldiez/io/models/content/audio.py +1 -0
- waldiez/io/models/content/file.py +1 -0
- waldiez/io/models/content/image.py +1 -0
- waldiez/io/models/content/text.py +1 -0
- waldiez/io/models/content/video.py +1 -0
- waldiez/io/models/user_input.py +1 -0
- waldiez/io/models/user_response.py +1 -0
- waldiez/io/mqtt.py +6 -3
- waldiez/io/redis.py +7 -9
- waldiez/io/structured.py +8 -6
- waldiez/io/utils.py +11 -4
- waldiez/io/ws.py +4 -3
- waldiez/logger.py +11 -1
- waldiez/models/agents/agent/agent.py +1 -0
- waldiez/models/agents/agent/agent_data.py +2 -2
- waldiez/models/agents/agent/nested_chat.py +1 -4
- waldiez/models/agents/agent/termination_message.py +0 -7
- waldiez/models/agents/agent/update_system_message.py +2 -2
- waldiez/models/agents/doc_agent/doc_agent_data.py +33 -26
- waldiez/models/agents/doc_agent/rag_query_engine.py +1 -1
- waldiez/models/agents/extra_requirements.py +5 -5
- waldiez/models/agents/group_manager/group_manager.py +3 -7
- waldiez/models/agents/group_manager/speakers.py +0 -7
- waldiez/models/agents/rag_user_proxy/rag_user_proxy.py +0 -2
- waldiez/models/agents/rag_user_proxy/rag_user_proxy_data.py +0 -2
- waldiez/models/agents/rag_user_proxy/retrieve_config.py +1 -17
- waldiez/models/agents/rag_user_proxy/vector_db_config.py +0 -5
- waldiez/models/chat/chat_data.py +0 -2
- waldiez/models/chat/chat_summary.py +5 -3
- waldiez/models/common/handoff.py +26 -18
- waldiez/models/common/naming.py +1 -0
- waldiez/models/flow/flow.py +9 -7
- waldiez/models/model/_llm.py +4 -2
- waldiez/models/model/extra_requirements.py +3 -3
- waldiez/models/model/model.py +5 -4
- waldiez/models/tool/extra_requirements.py +2 -2
- waldiez/models/tool/predefined/_google.py +7 -12
- waldiez/models/tool/predefined/_perplexity.py +13 -9
- waldiez/models/tool/predefined/_searxng.py +4 -1
- waldiez/models/tool/predefined/_tavily.py +0 -6
- waldiez/models/tool/predefined/_wikipedia.py +5 -1
- waldiez/models/tool/predefined/_youtube.py +0 -4
- waldiez/models/tool/tool.py +7 -7
- waldiez/models/tool/tool_data.py +39 -2
- waldiez/models/waldiez.py +29 -29
- waldiez/runner.py +18 -13
- waldiez/running/base_runner.py +96 -40
- waldiez/running/environment.py +2 -0
- waldiez/running/patch_io_stream.py +2 -0
- waldiez/running/post_run.py +3 -0
- waldiez/running/pre_run.py +1 -0
- waldiez/running/protocol.py +50 -48
- waldiez/running/run_results.py +2 -10
- waldiez/running/standard_runner.py +37 -13
- waldiez/running/timeline_processor.py +12 -1
- waldiez/running/utils.py +2 -0
- waldiez/utils/conflict_checker.py +1 -1
- waldiez/utils/version.py +1 -0
- {waldiez-0.5.6.dist-info → waldiez-0.5.8.dist-info}/METADATA +68 -65
- {waldiez-0.5.6.dist-info → waldiez-0.5.8.dist-info}/RECORD +115 -116
- waldiez/exporting/agent/extras/group/target.py +0 -178
- {waldiez-0.5.6.dist-info → waldiez-0.5.8.dist-info}/WHEEL +0 -0
- {waldiez-0.5.6.dist-info → waldiez-0.5.8.dist-info}/entry_points.txt +0 -0
- {waldiez-0.5.6.dist-info → waldiez-0.5.8.dist-info}/licenses/LICENSE +0 -0
- {waldiez-0.5.6.dist-info → waldiez-0.5.8.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: waldiez
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.8
|
|
4
4
|
Dynamic: Keywords
|
|
5
5
|
Summary: Make AG2 Agents Collaborate: Drag, Drop, and Orchestrate with Waldiez.
|
|
6
6
|
Project-URL: Homepage, https://waldiez.io
|
|
@@ -27,7 +27,7 @@ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
|
27
27
|
Classifier: Topic :: Software Development :: Code Generators
|
|
28
28
|
Classifier: Typing :: Typed
|
|
29
29
|
Requires-Python: <3.14,>=3.10
|
|
30
|
-
Requires-Dist: ag2[openai]==0.9.
|
|
30
|
+
Requires-Dist: ag2[openai]==0.9.7
|
|
31
31
|
Requires-Dist: aiocsv==1.3.2
|
|
32
32
|
Requires-Dist: aiofiles==24.1.0
|
|
33
33
|
Requires-Dist: aiosqlite==0.21.0
|
|
@@ -37,7 +37,7 @@ Requires-Dist: graphviz<=0.21
|
|
|
37
37
|
Requires-Dist: httpx<1
|
|
38
38
|
Requires-Dist: jupytext
|
|
39
39
|
Requires-Dist: nest-asyncio==1.6.0
|
|
40
|
-
Requires-Dist: numpy<=2.3.
|
|
40
|
+
Requires-Dist: numpy<=2.3.2
|
|
41
41
|
Requires-Dist: pandas>=2
|
|
42
42
|
Requires-Dist: parso==0.8.4
|
|
43
43
|
Requires-Dist: pillow
|
|
@@ -47,45 +47,45 @@ Requires-Dist: pydantic<3,>=2.10.2
|
|
|
47
47
|
Requires-Dist: rpds-py==0.26.0
|
|
48
48
|
Requires-Dist: typer<1,>=0.9.0
|
|
49
49
|
Provides-Extra: ag2-extras
|
|
50
|
-
Requires-Dist: ag2[anthropic]==0.9.
|
|
51
|
-
Requires-Dist: ag2[autobuild]==0.9.
|
|
52
|
-
Requires-Dist: ag2[bedrock]==0.9.
|
|
53
|
-
Requires-Dist: ag2[blendsearch]==0.9.
|
|
54
|
-
Requires-Dist: ag2[cohere]==0.9.
|
|
55
|
-
Requires-Dist: ag2[commsagent-discord]==0.9.
|
|
56
|
-
Requires-Dist: ag2[commsagent-slack]==0.9.
|
|
57
|
-
Requires-Dist: ag2[commsagent-telegram]==0.9.
|
|
58
|
-
Requires-Dist: ag2[crawl4ai]==0.9.
|
|
59
|
-
Requires-Dist: ag2[duckduckgo]==0.9.
|
|
60
|
-
Requires-Dist: ag2[gemini-realtime]==0.9.
|
|
61
|
-
Requires-Dist: ag2[gemini-realtime]==0.9.
|
|
62
|
-
Requires-Dist: ag2[gemini]==0.9.
|
|
63
|
-
Requires-Dist: ag2[gemini]==0.9.
|
|
64
|
-
Requires-Dist: ag2[google-api]==0.9.
|
|
65
|
-
Requires-Dist: ag2[google-client]==0.9.
|
|
66
|
-
Requires-Dist: ag2[google-search]==0.9.
|
|
67
|
-
Requires-Dist: ag2[groq]==0.9.
|
|
68
|
-
Requires-Dist: ag2[interop-crewai]==0.9.
|
|
69
|
-
Requires-Dist: ag2[interop-langchain]==0.9.
|
|
70
|
-
Requires-Dist: ag2[lmm]==0.9.
|
|
71
|
-
Requires-Dist: ag2[mcp]==0.9.
|
|
72
|
-
Requires-Dist: ag2[mistral]==0.9.
|
|
73
|
-
Requires-Dist: ag2[neo4j]==0.9.
|
|
74
|
-
Requires-Dist: ag2[neo4j]==0.9.
|
|
75
|
-
Requires-Dist: ag2[ollama]==0.9.
|
|
76
|
-
Requires-Dist: ag2[openai-realtime]==0.9.
|
|
77
|
-
Requires-Dist: ag2[rag]==0.9.
|
|
78
|
-
Requires-Dist: ag2[redis]==0.9.
|
|
79
|
-
Requires-Dist: ag2[tavily]==0.9.
|
|
80
|
-
Requires-Dist: ag2[together]==0.9.
|
|
81
|
-
Requires-Dist: ag2[together]==0.9.
|
|
82
|
-
Requires-Dist: ag2[twilio]==0.9.
|
|
83
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
84
|
-
Requires-Dist: ag2[websurfer]==0.9.
|
|
85
|
-
Requires-Dist: ag2[wikipedia]==0.9.
|
|
50
|
+
Requires-Dist: ag2[anthropic]==0.9.7; extra == 'ag2-extras'
|
|
51
|
+
Requires-Dist: ag2[autobuild]==0.9.7; extra == 'ag2-extras'
|
|
52
|
+
Requires-Dist: ag2[bedrock]==0.9.7; extra == 'ag2-extras'
|
|
53
|
+
Requires-Dist: ag2[blendsearch]==0.9.7; extra == 'ag2-extras'
|
|
54
|
+
Requires-Dist: ag2[cohere]==0.9.7; extra == 'ag2-extras'
|
|
55
|
+
Requires-Dist: ag2[commsagent-discord]==0.9.7; extra == 'ag2-extras'
|
|
56
|
+
Requires-Dist: ag2[commsagent-slack]==0.9.7; extra == 'ag2-extras'
|
|
57
|
+
Requires-Dist: ag2[commsagent-telegram]==0.9.7; extra == 'ag2-extras'
|
|
58
|
+
Requires-Dist: ag2[crawl4ai]==0.9.7; extra == 'ag2-extras'
|
|
59
|
+
Requires-Dist: ag2[duckduckgo]==0.9.7; extra == 'ag2-extras'
|
|
60
|
+
Requires-Dist: ag2[gemini-realtime]==0.9.7; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
61
|
+
Requires-Dist: ag2[gemini-realtime]==0.9.7; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
62
|
+
Requires-Dist: ag2[gemini]==0.9.7; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
63
|
+
Requires-Dist: ag2[gemini]==0.9.7; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
64
|
+
Requires-Dist: ag2[google-api]==0.9.7; extra == 'ag2-extras'
|
|
65
|
+
Requires-Dist: ag2[google-client]==0.9.7; extra == 'ag2-extras'
|
|
66
|
+
Requires-Dist: ag2[google-search]==0.9.7; extra == 'ag2-extras'
|
|
67
|
+
Requires-Dist: ag2[groq]==0.9.7; extra == 'ag2-extras'
|
|
68
|
+
Requires-Dist: ag2[interop-crewai]==0.9.7; extra == 'ag2-extras'
|
|
69
|
+
Requires-Dist: ag2[interop-langchain]==0.9.7; extra == 'ag2-extras'
|
|
70
|
+
Requires-Dist: ag2[lmm]==0.9.7; extra == 'ag2-extras'
|
|
71
|
+
Requires-Dist: ag2[mcp]==0.9.7; extra == 'ag2-extras'
|
|
72
|
+
Requires-Dist: ag2[mistral]==0.9.7; extra == 'ag2-extras'
|
|
73
|
+
Requires-Dist: ag2[neo4j]==0.9.7; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
74
|
+
Requires-Dist: ag2[neo4j]==0.9.7; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
75
|
+
Requires-Dist: ag2[ollama]==0.9.7; extra == 'ag2-extras'
|
|
76
|
+
Requires-Dist: ag2[openai-realtime]==0.9.7; extra == 'ag2-extras'
|
|
77
|
+
Requires-Dist: ag2[rag]==0.9.7; extra == 'ag2-extras'
|
|
78
|
+
Requires-Dist: ag2[redis]==0.9.7; extra == 'ag2-extras'
|
|
79
|
+
Requires-Dist: ag2[tavily]==0.9.7; extra == 'ag2-extras'
|
|
80
|
+
Requires-Dist: ag2[together]==0.9.7; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
81
|
+
Requires-Dist: ag2[together]==0.9.7; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
82
|
+
Requires-Dist: ag2[twilio]==0.9.7; extra == 'ag2-extras'
|
|
83
|
+
Requires-Dist: ag2[websockets]==0.9.7; extra == 'ag2-extras'
|
|
84
|
+
Requires-Dist: ag2[websurfer]==0.9.7; extra == 'ag2-extras'
|
|
85
|
+
Requires-Dist: ag2[wikipedia]==0.9.7; extra == 'ag2-extras'
|
|
86
86
|
Requires-Dist: chromadb>=0.5.10; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
87
87
|
Requires-Dist: chromadb>=0.5.10; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
88
|
-
Requires-Dist: couchbase>=4.
|
|
88
|
+
Requires-Dist: couchbase>=4.4.0; extra == 'ag2-extras'
|
|
89
89
|
Requires-Dist: fastembed>=0.3.1; extra == 'ag2-extras'
|
|
90
90
|
Requires-Dist: pgvector>=0.4.0; extra == 'ag2-extras'
|
|
91
91
|
Requires-Dist: psycopg>=3.2.6; (sys_platform == 'linux') and extra == 'ag2-extras'
|
|
@@ -99,21 +99,21 @@ Requires-Dist: pymongo>=4.11; extra == 'ag2-extras'
|
|
|
99
99
|
Requires-Dist: qdrant-client[fastembed]; (sys_platform != 'win32') and extra == 'ag2-extras'
|
|
100
100
|
Requires-Dist: qdrant-client[fastembed]; (sys_platform == 'win32' and platform_machine != 'arm64' and platform_machine != 'aarch64' and platform_machine != 'ARM64' and platform_machine != 'AARCH64') and extra == 'ag2-extras'
|
|
101
101
|
Provides-Extra: dev
|
|
102
|
-
Requires-Dist: ag2[redis]==0.9.
|
|
103
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
102
|
+
Requires-Dist: ag2[redis]==0.9.7; extra == 'dev'
|
|
103
|
+
Requires-Dist: ag2[websockets]==0.9.7; extra == 'dev'
|
|
104
104
|
Requires-Dist: autoflake==2.3.1; extra == 'dev'
|
|
105
105
|
Requires-Dist: bandit==1.8.6; extra == 'dev'
|
|
106
106
|
Requires-Dist: black[jupyter]==25.1.0; extra == 'dev'
|
|
107
|
-
Requires-Dist: build==1.
|
|
108
|
-
Requires-Dist: fakeredis==2.30.
|
|
107
|
+
Requires-Dist: build==1.3.0; extra == 'dev'
|
|
108
|
+
Requires-Dist: fakeredis==2.30.3; extra == 'dev'
|
|
109
109
|
Requires-Dist: fastjsonschema>=2.21.1; extra == 'dev'
|
|
110
110
|
Requires-Dist: flake8==7.3.0; extra == 'dev'
|
|
111
111
|
Requires-Dist: hatchling==1.27.0; extra == 'dev'
|
|
112
112
|
Requires-Dist: jsonschema==4.25.0; extra == 'dev'
|
|
113
113
|
Requires-Dist: jupyter-server==2.16.0; extra == 'dev'
|
|
114
|
-
Requires-Dist: jupyterlab
|
|
114
|
+
Requires-Dist: jupyterlab==4.4.5; extra == 'dev'
|
|
115
115
|
Requires-Dist: mypy-extensions>=1.1.0; extra == 'dev'
|
|
116
|
-
Requires-Dist: mypy==1.17.
|
|
116
|
+
Requires-Dist: mypy==1.17.1; extra == 'dev'
|
|
117
117
|
Requires-Dist: nbclient>=0.10.2; extra == 'dev'
|
|
118
118
|
Requires-Dist: nbconvert>=7.16.6; extra == 'dev'
|
|
119
119
|
Requires-Dist: nbformat>=5.10.4; extra == 'dev'
|
|
@@ -125,9 +125,9 @@ Requires-Dist: pre-commit==4.2.0; extra == 'dev'
|
|
|
125
125
|
Requires-Dist: pydocstyle==6.3.0; extra == 'dev'
|
|
126
126
|
Requires-Dist: pylint==3.3.7; extra == 'dev'
|
|
127
127
|
Requires-Dist: python-dotenv>=1.1.1; extra == 'dev'
|
|
128
|
-
Requires-Dist: ruff==0.12.
|
|
128
|
+
Requires-Dist: ruff==0.12.7; extra == 'dev'
|
|
129
129
|
Requires-Dist: toml==0.10.2; (python_version <= '3.10') and extra == 'dev'
|
|
130
|
-
Requires-Dist: types-aiofiles==24.1.0.
|
|
130
|
+
Requires-Dist: types-aiofiles==24.1.0.20250801; extra == 'dev'
|
|
131
131
|
Requires-Dist: types-jsonschema==4.25.0.20250720; extra == 'dev'
|
|
132
132
|
Requires-Dist: types-pyyaml==6.0.12.20250516; extra == 'dev'
|
|
133
133
|
Requires-Dist: types-redis==4.6.0.20241004; extra == 'dev'
|
|
@@ -143,8 +143,8 @@ Requires-Dist: mkdocs-autorefs==1.4.2; extra == 'docs'
|
|
|
143
143
|
Requires-Dist: mkdocs-awesome-nav==3.1.2; extra == 'docs'
|
|
144
144
|
Requires-Dist: mkdocs-jupyter==0.25.1; extra == 'docs'
|
|
145
145
|
Requires-Dist: mkdocs-macros-plugin==1.3.7; extra == 'docs'
|
|
146
|
-
Requires-Dist: mkdocs-material==9.6.
|
|
147
|
-
Requires-Dist: mkdocs-minify-html-plugin==0.3.
|
|
146
|
+
Requires-Dist: mkdocs-material==9.6.16; extra == 'docs'
|
|
147
|
+
Requires-Dist: mkdocs-minify-html-plugin==0.3.4; extra == 'docs'
|
|
148
148
|
Requires-Dist: mkdocs-open-in-new-tab==1.0.8; extra == 'docs'
|
|
149
149
|
Requires-Dist: mkdocs==1.6.1; extra == 'docs'
|
|
150
150
|
Requires-Dist: mkdocstrings-crystal==0.3.7; extra == 'docs'
|
|
@@ -152,21 +152,22 @@ Requires-Dist: mkdocstrings-python==1.16.12; extra == 'docs'
|
|
|
152
152
|
Requires-Dist: mkdocstrings[crystal,python]==0.30.0; extra == 'docs'
|
|
153
153
|
Requires-Dist: natsort==8.4.0; extra == 'docs'
|
|
154
154
|
Provides-Extra: jupyter
|
|
155
|
+
Requires-Dist: ipywidgets==8.1.7; extra == 'jupyter'
|
|
155
156
|
Requires-Dist: jupyter-server==2.16.0; extra == 'jupyter'
|
|
156
|
-
Requires-Dist: jupyterlab
|
|
157
|
-
Requires-Dist: waldiez-jupyter==0.5.
|
|
157
|
+
Requires-Dist: jupyterlab==4.4.5; extra == 'jupyter'
|
|
158
|
+
Requires-Dist: waldiez-jupyter==0.5.8; extra == 'jupyter'
|
|
158
159
|
Provides-Extra: mqtt
|
|
159
160
|
Requires-Dist: paho-mqtt<3.0,>=2.1.0; extra == 'mqtt'
|
|
160
161
|
Provides-Extra: redis
|
|
161
|
-
Requires-Dist: ag2[redis]==0.9.
|
|
162
|
+
Requires-Dist: ag2[redis]==0.9.7; extra == 'redis'
|
|
162
163
|
Provides-Extra: runner
|
|
163
|
-
Requires-Dist: waldiez-runner==0.5.
|
|
164
|
+
Requires-Dist: waldiez-runner==0.5.8; (python_version >= '3.11') and extra == 'runner'
|
|
164
165
|
Provides-Extra: studio
|
|
165
|
-
Requires-Dist: waldiez-studio==0.5.
|
|
166
|
+
Requires-Dist: waldiez-studio==0.5.8; extra == 'studio'
|
|
166
167
|
Provides-Extra: test
|
|
167
|
-
Requires-Dist: ag2[redis]==0.9.
|
|
168
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
169
|
-
Requires-Dist: fakeredis==2.30.
|
|
168
|
+
Requires-Dist: ag2[redis]==0.9.7; extra == 'test'
|
|
169
|
+
Requires-Dist: ag2[websockets]==0.9.7; extra == 'test'
|
|
170
|
+
Requires-Dist: fakeredis==2.30.3; extra == 'test'
|
|
170
171
|
Requires-Dist: paho-mqtt<3.0,>=2.1.0; extra == 'test'
|
|
171
172
|
Requires-Dist: pytest-asyncio==1.1.0; extra == 'test'
|
|
172
173
|
Requires-Dist: pytest-cov==6.2.1; extra == 'test'
|
|
@@ -177,7 +178,7 @@ Requires-Dist: pytest-timeout==2.4.0; extra == 'test'
|
|
|
177
178
|
Requires-Dist: pytest-xdist==3.8.0; extra == 'test'
|
|
178
179
|
Requires-Dist: pytest==8.4.1; extra == 'test'
|
|
179
180
|
Provides-Extra: websockets
|
|
180
|
-
Requires-Dist: ag2[websockets]==0.9.
|
|
181
|
+
Requires-Dist: ag2[websockets]==0.9.7; extra == 'websockets'
|
|
181
182
|
Description-Content-Type: text/markdown
|
|
182
183
|
|
|
183
184
|
# Waldiez
|
|
@@ -216,7 +217,7 @@ python -m pip install git+https://github.com/waldiez/waldiez.git
|
|
|
216
217
|
|
|
217
218
|
If you’re looking for the React component, please refer to [README.npm](https://github.com/waldiez/waldiez/blob/main/README.npm.md).
|
|
218
219
|
|
|
219
|
-
> Note: The React component is only for creating and editing flows — it is not
|
|
220
|
+
> Note: The React component is only for creating and editing flows — it is not used for converting or running flows (that functionality is handled by the Python package).
|
|
220
221
|
|
|
221
222
|
To add the waldiez library to your app:
|
|
222
223
|
|
|
@@ -319,14 +320,15 @@ $CONTAINER_COMMAND run --rm -it \
|
|
|
319
320
|
|
|
320
321
|
### As a library
|
|
321
322
|
|
|
322
|
-
####
|
|
323
|
+
#### Generate a script or a notebook from a flow
|
|
323
324
|
|
|
324
325
|
```python
|
|
325
326
|
# Export a Waldiez flow to a python script or a jupyter notebook
|
|
327
|
+
from pathlib import Path
|
|
326
328
|
from waldiez import WaldiezExporter
|
|
327
329
|
flow_path = "/path/to/a/flow.waldiez"
|
|
328
330
|
output_path = "/path/to/an/output.py" # or .ipynb
|
|
329
|
-
exporter = WaldiezExporter.load(flow_path)
|
|
331
|
+
exporter = WaldiezExporter.load(Path(flow_path))
|
|
330
332
|
exporter.export(output_path)
|
|
331
333
|
```
|
|
332
334
|
|
|
@@ -334,10 +336,11 @@ exporter.export(output_path)
|
|
|
334
336
|
|
|
335
337
|
```python
|
|
336
338
|
# Run a flow
|
|
339
|
+
from pathlib import Path
|
|
337
340
|
from waldiez import WaldiezRunner
|
|
338
341
|
flow_path = "/path/to/a/flow.waldiez"
|
|
339
342
|
output_path = "/path/to/an/output.py"
|
|
340
|
-
runner = WaldiezRunner.load(flow_path)
|
|
343
|
+
runner = WaldiezRunner.load(Path(flow_path))
|
|
341
344
|
runner.run(output_path=output_path)
|
|
342
345
|
```
|
|
343
346
|
|
|
@@ -375,6 +378,7 @@ runner.run(output_path=output_path)
|
|
|
375
378
|
|
|
376
379
|
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
377
380
|
|
|
381
|
+
<!--suppress ALL -->
|
|
378
382
|
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
379
383
|
<!-- prettier-ignore-start -->
|
|
380
384
|
<!-- markdownlint-disable -->
|
|
@@ -392,8 +396,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
392
396
|
<tr>
|
|
393
397
|
<td align="center" size="13px" colspan="7">
|
|
394
398
|
<img src="https://raw.githubusercontent.com/all-contributors/all-contributors-cli/1b8533af435da9854653492b1327a23a4dbd0a10/assets/logo-small.svg">
|
|
395
|
-
|
|
396
|
-
</img>
|
|
399
|
+
<a href="https://all-contributors.js.org/docs/en/bot/usage">Add your contributions</a>
|
|
397
400
|
</td>
|
|
398
401
|
</tr>
|
|
399
402
|
</tfoot>
|