arkitekt-next 0.10.2__py3-none-any.whl → 0.11.0__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 arkitekt-next might be problematic. Click here for more details.

@@ -34,7 +34,7 @@ except ImportError:
34
34
  is_flag=True,
35
35
  default=False,
36
36
  )
37
- def templates(
37
+ def implementations(
38
38
  ctx,
39
39
  pretty: bool,
40
40
  machine_readable: bool,
@@ -82,7 +82,9 @@ def templates(
82
82
  if registry is None:
83
83
  raise Exception("No default registry found")
84
84
 
85
- to_be_created_templates = tuple(x.model_dump() for x in registry.templates.values())
85
+ to_be_created_templates = tuple(
86
+ x.model_dump() for x in registry.implementations.values()
87
+ )
86
88
  global_list.extend(to_be_created_templates)
87
89
 
88
90
  console.print(f"Templates to be created: {len(global_list)}")
@@ -92,7 +94,11 @@ def templates(
92
94
  return
93
95
 
94
96
  if machine_readable:
95
- print("--START_TEMPLATES--" + json.dumps(global_list) + "--END_TEMPLATES--")
97
+ print(
98
+ "--START_TEMPLATES--"
99
+ + json.dumps(global_list, indent=2)
100
+ + "--END_TEMPLATES--"
101
+ )
96
102
 
97
103
  else:
98
104
  if pretty:
@@ -3,7 +3,7 @@ import rich_click as click
3
3
 
4
4
  import rich_click as click
5
5
  from .variables import variables
6
- from .templates import templates
6
+ from .implementations import implementations
7
7
  from .requirements import requirements
8
8
 
9
9
 
@@ -21,4 +21,4 @@ def inspect(ctx):
21
21
 
22
22
  inspect.add_command(variables, "variables")
23
23
  inspect.add_command(requirements, "requirements")
24
- inspect.add_command(templates, "templates")
24
+ inspect.add_command(implementations, "implementations")
@@ -14,7 +14,7 @@ import json
14
14
  from arkitekt_next.base_models import Requirement
15
15
  from arkitekt_next.constants import DEFAULT_ARKITEKT_URL
16
16
  from arkitekt_next.utils import create_arkitekt_next_folder
17
- from rekuest_next.api.schema import TemplateInput
17
+ from rekuest_next.api.schema import ImplementationInput
18
18
 
19
19
 
20
20
  class InspectionError(Exception):
@@ -93,7 +93,7 @@ def inspect_docker_container(build_id: str) -> InspectionInput:
93
93
  raise InspectionError(f"An error occurred: {e.stdout + e.stderr}") from e
94
94
 
95
95
 
96
- def inspect_templates(build_id: str, url: str) -> list[TemplateInput]:
96
+ def inspect_templates(build_id: str, url: str) -> list[ImplementationInput]:
97
97
  try:
98
98
  # Run 'docker inspect' with the container ID or name
99
99
  process = subprocess.Popen(
@@ -107,7 +107,7 @@ def inspect_templates(build_id: str, url: str) -> list[TemplateInput]:
107
107
  build_id,
108
108
  "arkitekt-next",
109
109
  "inspect",
110
- "templates",
110
+ "implementations",
111
111
  "-mr",
112
112
  ]
113
113
  ),
@@ -151,7 +151,7 @@ def inspect_templates(build_id: str, url: str) -> list[TemplateInput]:
151
151
 
152
152
  if "No such command" in combined_error:
153
153
  raise InspectionError(
154
- "Could not find the command `arkitekt_next inspect definitions` in the container. Maybe"
154
+ "Could not find the command `arkitekt_next inspect implementations` in the container. Maybe"
155
155
  + "you forgot to install arkitekt_next in the container? "
156
156
  )
157
157
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: arkitekt-next
3
- Version: 0.10.2
3
+ Version: 0.11.0
4
4
  Summary: client for the arkitekt_next platform
5
5
  Author-email: jhnnsrs <jhnnsrs@gmail.com>
6
6
  License-Expression: MIT
@@ -13,12 +13,15 @@ Requires-Dist: herre-next>=1.2.0
13
13
  Requires-Dist: koil>=2.0.4
14
14
  Requires-Dist: rath>=3.4
15
15
  Requires-Dist: rekuest-next>=0.7
16
+ Requires-Dist: rich-click>=1.8.8
17
+ Requires-Dist: semver>=3.0.4
18
+ Requires-Dist: watchfiles>=1.0.5
16
19
  Provides-Extra: all
17
20
  Requires-Dist: fluss-next>=0.2.0; extra == 'all'
18
21
  Requires-Dist: kabinet>=0.2.0; extra == 'all'
19
- Requires-Dist: mikro-next>=0.2.0; extra == 'all'
22
+ Requires-Dist: mikro-next>=0.3.1; extra == 'all'
20
23
  Requires-Dist: reaktion-next>=0.2.0; extra == 'all'
21
- Requires-Dist: rekuest-next>=0.3.1; extra == 'all'
24
+ Requires-Dist: rekuest-next>=0.7; extra == 'all'
22
25
  Requires-Dist: rich-click>=1.6.1; extra == 'all'
23
26
  Requires-Dist: semver>=3.0.1; extra == 'all'
24
27
  Requires-Dist: turms>=0.8.2; extra == 'all'
@@ -29,7 +32,6 @@ Requires-Dist: alpaka>=0.2.0; extra == 'alpaka'
29
32
  Provides-Extra: blok
30
33
  Requires-Dist: blok>=0.1.0; extra == 'blok'
31
34
  Provides-Extra: cli
32
- Requires-Dist: rekuest-next>=0.3.1; extra == 'cli'
33
35
  Requires-Dist: turms>=0.8.2; extra == 'cli'
34
36
  Provides-Extra: elektro
35
37
  Requires-Dist: elektro>=0.5.0; extra == 'elektro'
@@ -48,8 +50,6 @@ Provides-Extra: mikro
48
50
  Requires-Dist: mikro-next>=0.3.1; extra == 'mikro'
49
51
  Provides-Extra: reaktion
50
52
  Requires-Dist: reaktion-next>=0.2.0; extra == 'reaktion'
51
- Provides-Extra: rekuest
52
- Requires-Dist: rekuest-next>=0.6.0; extra == 'rekuest'
53
53
  Provides-Extra: unlok
54
54
  Requires-Dist: unlok-next>=0.2.0; extra == 'unlok'
55
55
  Description-Content-Type: text/markdown
@@ -86,12 +86,12 @@ arkitekt_next/cli/commands/gen/watch.py,sha256=nf4QckdTJOWxvKoeNRwvC4rXQ4xhIx8LC
86
86
  arkitekt_next/cli/commands/init/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
87
87
  arkitekt_next/cli/commands/init/main.py,sha256=1ZbZDBECZRxlcnulycdS15s-uQ5ngx4xP3T1v-gkJ3U,5435
88
88
  arkitekt_next/cli/commands/inspect/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
89
- arkitekt_next/cli/commands/inspect/main.py,sha256=Bu1vAZudkFCtjDnZAB8yQLDt-UKY9pJGhLBlEfDqtkw,626
89
+ arkitekt_next/cli/commands/inspect/implementations.py,sha256=7z5Ktzs6WLEJFBVL-Ar1OTPgipZDjsnoxN6YbV3Zgg0,2801
90
+ arkitekt_next/cli/commands/inspect/main.py,sha256=khT5u8bF4EokgA-JtOLVVN3dD0jq32zbtCb9BqsaARU,650
90
91
  arkitekt_next/cli/commands/inspect/requirements.py,sha256=CiVApGLpG2haDkFj0klIrKIjhIV5Z_TL8HrZeS4Swug,1761
91
- arkitekt_next/cli/commands/inspect/templates.py,sha256=li7lX1qCBC5cfVWwRuhtl9vvndVc8PGxEQt7D-DIIbg,2719
92
92
  arkitekt_next/cli/commands/inspect/variables.py,sha256=sBVTKCI98BWAUiqhF5xRu_jQDgwk8sGfcyEozpAnDwg,2654
93
93
  arkitekt_next/cli/commands/kabinet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
94
- arkitekt_next/cli/commands/kabinet/build.py,sha256=cqkx98vuoxGIlq33jU1aVpv-aAXwde0aHpsPAYnavCQ,9902
94
+ arkitekt_next/cli/commands/kabinet/build.py,sha256=1rCIfosLbEPZhgXhHxqUTq_k_15MV1Nl4UgYWN1v6dM,9924
95
95
  arkitekt_next/cli/commands/kabinet/init.py,sha256=otVakPcD6bC-7VtmqiLWNZKi3BE9evtMVv0TOGRnaD4,3583
96
96
  arkitekt_next/cli/commands/kabinet/io.py,sha256=0u7tCOgojuLIwtjW8pJQZcKvzsRq37mIWVuc4ZOQZlk,5556
97
97
  arkitekt_next/cli/commands/kabinet/main.py,sha256=PFc8JGeSxbU8ZzxPlFDQp7--ogQyxL9sGQ4pA8XQmEo,1314
@@ -143,8 +143,8 @@ arkitekt_next/qt/assets/light/green pulse.gif,sha256=cUd2F3Qlvjb7SnsU-LjGgeLTa8K
143
143
  arkitekt_next/qt/assets/light/orange pulse.gif,sha256=0gDvrRed0mzZZPHB4tP6vptx7myUCAa_hEVGdjRhNy8,94769
144
144
  arkitekt_next/qt/assets/light/pink pulse.gif,sha256=rxd6ZTHSIG9JZuuHhi3jiSB_JYFBZpy7OWUeZETlhQ4,107513
145
145
  arkitekt_next/qt/assets/light/red pulse.gif,sha256=U7WLbZvSl5e-Ob5RmawtlC0Rh9VVHxkjDbGjj7NYVUo,108749
146
- arkitekt_next-0.10.2.dist-info/METADATA,sha256=wtbyXu13UAPNcu0tha3G7nHQo__Zv_hvFoQVPvGwdg0,5791
147
- arkitekt_next-0.10.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
148
- arkitekt_next-0.10.2.dist-info/entry_points.txt,sha256=IY-mUEDBU6QncqnYw-Ufw5bvNNXjqSlLf1uexZZCJhc,61
149
- arkitekt_next-0.10.2.dist-info/licenses/LICENSE,sha256=YZ2oRjC248t-GpoEyw7J13vwKYNG6zhYMaEAix6EzF0,1089
150
- arkitekt_next-0.10.2.dist-info/RECORD,,
146
+ arkitekt_next-0.11.0.dist-info/METADATA,sha256=-sny-SGzpCCja8stX0JfGZU7obgJOtbFimoXuQu_B_Y,5754
147
+ arkitekt_next-0.11.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
148
+ arkitekt_next-0.11.0.dist-info/entry_points.txt,sha256=IY-mUEDBU6QncqnYw-Ufw5bvNNXjqSlLf1uexZZCJhc,61
149
+ arkitekt_next-0.11.0.dist-info/licenses/LICENSE,sha256=YZ2oRjC248t-GpoEyw7J13vwKYNG6zhYMaEAix6EzF0,1089
150
+ arkitekt_next-0.11.0.dist-info/RECORD,,