swarmauri_toolkit_containertoolkit 0.7.5.dev1__py3-none-any.whl → 0.8.0.dev2__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.
@@ -10,8 +10,21 @@ from swarmauri_tool_containermakepr import ContainerMakePrTool
10
10
 
11
11
  @ComponentBase.register_type(ToolkitBase, "ContainerToolkit")
12
12
  class ContainerToolkit(ToolkitBase):
13
- tools: Dict[str, SubclassUnion[ToolBase]] = {
14
- "ContainerNewSessionTool": ContainerNewSessionTool(),
15
- "ContainerFeedCharsTool": ContainerFeedCharsTool(),
16
- "ContainerMakePrTool": ContainerMakePrTool(),
17
- }
13
+ tools: Dict[str, SubclassUnion[ToolBase]] = {}
14
+
15
+ def __init__(
16
+ self, container_name: str | None = None, image: str | None = None, **kwargs
17
+ ):
18
+ super().__init__(**kwargs)
19
+ self.tools = {
20
+ "ContainerNewSessionTool": ContainerNewSessionTool(
21
+ container_name=container_name,
22
+ image=image,
23
+ ),
24
+ "ContainerFeedCharsTool": ContainerFeedCharsTool(
25
+ container_name=container_name,
26
+ ),
27
+ "ContainerMakePrTool": ContainerMakePrTool(
28
+ container_name=container_name,
29
+ ),
30
+ }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: swarmauri_toolkit_containertoolkit
3
- Version: 0.7.5.dev1
3
+ Version: 0.8.0.dev2
4
4
  Summary: Toolkit bundling container management tools.
5
5
  License: Apache-2.0
6
6
  Author: Jacob Stewart
@@ -50,7 +50,7 @@ pip install swarmauri_toolkit_containertoolkit
50
50
  ```python
51
51
  from swarmauri_toolkit_containertoolkit import ContainerToolkit
52
52
 
53
- toolkit = ContainerToolkit()
53
+ toolkit = ContainerToolkit(container_name="my-container", image="ubuntu:latest")
54
54
  print(toolkit.tools.keys())
55
55
  ```
56
56
 
@@ -0,0 +1,7 @@
1
+ swarmauri_toolkit_containertoolkit/ContainerToolkit.py,sha256=P-0uPRb16Sh6zccPTiCDr97EGdJPdpSX-Gu6Y7mjpxI,1136
2
+ swarmauri_toolkit_containertoolkit/__init__.py,sha256=lNAHSR5sobQsUPoOO7ilG45IOQX4Xm57ZCyp5eS7HVs,400
3
+ swarmauri_toolkit_containertoolkit-0.8.0.dev2.dist-info/LICENSE,sha256=djUXOlCxLVszShEpZXshZ7v33G-2qIC_j9KXpWKZSzQ,11359
4
+ swarmauri_toolkit_containertoolkit-0.8.0.dev2.dist-info/METADATA,sha256=B_g2UHGrVmPy2OAyIMDcVJQ-_5XBBq3UDQMFUoYbrXg,2403
5
+ swarmauri_toolkit_containertoolkit-0.8.0.dev2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
6
+ swarmauri_toolkit_containertoolkit-0.8.0.dev2.dist-info/entry_points.txt,sha256=0O8ksIaRdHcXIzxtWpVpsxlMAZM7w0AANh-AfixtvGQ,91
7
+ swarmauri_toolkit_containertoolkit-0.8.0.dev2.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- swarmauri_toolkit_containertoolkit/ContainerToolkit.py,sha256=82ocz7TswIgmI4RiKuLhNXCnippRp9gI9zHWqkf78ss,742
2
- swarmauri_toolkit_containertoolkit/__init__.py,sha256=lNAHSR5sobQsUPoOO7ilG45IOQX4Xm57ZCyp5eS7HVs,400
3
- swarmauri_toolkit_containertoolkit-0.7.5.dev1.dist-info/LICENSE,sha256=djUXOlCxLVszShEpZXshZ7v33G-2qIC_j9KXpWKZSzQ,11359
4
- swarmauri_toolkit_containertoolkit-0.7.5.dev1.dist-info/METADATA,sha256=ZYCUIllh0b0dBHaTGXxq16BkB-CWi9RMjNZe_ZQnJAM,2351
5
- swarmauri_toolkit_containertoolkit-0.7.5.dev1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
6
- swarmauri_toolkit_containertoolkit-0.7.5.dev1.dist-info/entry_points.txt,sha256=0O8ksIaRdHcXIzxtWpVpsxlMAZM7w0AANh-AfixtvGQ,91
7
- swarmauri_toolkit_containertoolkit-0.7.5.dev1.dist-info/RECORD,,