dayhoff-tools 1.13.2__py3-none-any.whl → 1.13.3__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.
- dayhoff_tools/cli/engines_studios/engine-studio-cli.md +2 -2
- dayhoff_tools/cli/engines_studios/engine_commands.py +55 -14
- dayhoff_tools/cli/engines_studios/simulators/engine_list_simulator.py +1 -1
- dayhoff_tools/cli/engines_studios/simulators/studio_list_simulator.py +1 -1
- dayhoff_tools/cli/engines_studios/studio_commands.py +1 -1
- {dayhoff_tools-1.13.2.dist-info → dayhoff_tools-1.13.3.dist-info}/METADATA +1 -1
- {dayhoff_tools-1.13.2.dist-info → dayhoff_tools-1.13.3.dist-info}/RECORD +9 -9
- {dayhoff_tools-1.13.2.dist-info → dayhoff_tools-1.13.3.dist-info}/WHEEL +0 -0
- {dayhoff_tools-1.13.2.dist-info → dayhoff_tools-1.13.3.dist-info}/entry_points.txt +0 -0
|
@@ -330,7 +330,7 @@ Engines for AWS Account dev
|
|
|
330
330
|
│ bob-training │ running │ bob │ a10g │ i-0fedcba987654321 │
|
|
331
331
|
│ batch-worker │ stopped │ charlie │ cpumax │ i-0abc123def456789 │
|
|
332
332
|
╰──────────────┴─────────────┴─────────────┴─────────────┴─────────────────────╯
|
|
333
|
-
Total: 3
|
|
333
|
+
Total: 3
|
|
334
334
|
|
|
335
335
|
```
|
|
336
336
|
|
|
@@ -764,7 +764,7 @@ Studios for AWS Account dev
|
|
|
764
764
|
│ bob │ available │ - │ 200GB │ vol-0fedcba987654321 │
|
|
765
765
|
│ carol │ attaching │ carol-gpu │ 150GB │ vol-0abc123def456789 │
|
|
766
766
|
╰────────┴──────────────┴──────────────┴───────────┴───────────────────────────╯
|
|
767
|
-
Total: 3
|
|
767
|
+
Total: 3
|
|
768
768
|
|
|
769
769
|
```
|
|
770
770
|
|
|
@@ -123,7 +123,9 @@ def engine_cli():
|
|
|
123
123
|
@click.option(
|
|
124
124
|
"--skip-ssh-config", is_flag=True, help="Don't automatically update SSH config"
|
|
125
125
|
)
|
|
126
|
-
@click.option(
|
|
126
|
+
@click.option(
|
|
127
|
+
"--yes", "-y", is_flag=True, help="Skip confirmation for non-dev environments"
|
|
128
|
+
)
|
|
127
129
|
@click.option(
|
|
128
130
|
"--env",
|
|
129
131
|
default=None,
|
|
@@ -222,7 +224,9 @@ def launch_engine(
|
|
|
222
224
|
@click.option(
|
|
223
225
|
"--skip-ssh-config", is_flag=True, help="Don't automatically update SSH config"
|
|
224
226
|
)
|
|
225
|
-
@click.option(
|
|
227
|
+
@click.option(
|
|
228
|
+
"--yes", "-y", is_flag=True, help="Skip confirmation for non-dev environments"
|
|
229
|
+
)
|
|
226
230
|
@click.option(
|
|
227
231
|
"--env",
|
|
228
232
|
default=None,
|
|
@@ -345,7 +349,9 @@ def start_engine(
|
|
|
345
349
|
|
|
346
350
|
@engine_cli.command("stop")
|
|
347
351
|
@click.argument("name_or_id")
|
|
348
|
-
@click.option(
|
|
352
|
+
@click.option(
|
|
353
|
+
"--yes", "-y", is_flag=True, help="Skip confirmation for non-dev environments"
|
|
354
|
+
)
|
|
349
355
|
@click.option(
|
|
350
356
|
"--env",
|
|
351
357
|
default=None,
|
|
@@ -588,7 +594,9 @@ def list_engines(env: Optional[str]):
|
|
|
588
594
|
return
|
|
589
595
|
|
|
590
596
|
# Calculate dynamic width for Name column (longest name + 2 for padding)
|
|
591
|
-
max_name_len = max(
|
|
597
|
+
max_name_len = max(
|
|
598
|
+
(len(engine.get("name", "unknown")) for engine in engines), default=4
|
|
599
|
+
)
|
|
592
600
|
name_width = max(max_name_len + 2, len("Name") + 2)
|
|
593
601
|
|
|
594
602
|
# Fixed widths for other columns
|
|
@@ -597,11 +605,20 @@ def list_engines(env: Optional[str]):
|
|
|
597
605
|
type_width = 12
|
|
598
606
|
id_width = 20
|
|
599
607
|
|
|
600
|
-
# Calculate total width for separator line
|
|
601
|
-
total_width = name_width + state_width + user_width + type_width + id_width + 9 # +9 for separators and spaces
|
|
602
|
-
|
|
603
608
|
# Table top border
|
|
604
|
-
click.echo(
|
|
609
|
+
click.echo(
|
|
610
|
+
"╭"
|
|
611
|
+
+ "─" * (name_width + 1)
|
|
612
|
+
+ "┬"
|
|
613
|
+
+ "─" * (state_width + 1)
|
|
614
|
+
+ "┬"
|
|
615
|
+
+ "─" * (user_width + 1)
|
|
616
|
+
+ "┬"
|
|
617
|
+
+ "─" * (type_width + 1)
|
|
618
|
+
+ "┬"
|
|
619
|
+
+ "─" * (id_width + 1)
|
|
620
|
+
+ "╮"
|
|
621
|
+
)
|
|
605
622
|
|
|
606
623
|
# Table header
|
|
607
624
|
click.echo(
|
|
@@ -609,7 +626,19 @@ def list_engines(env: Optional[str]):
|
|
|
609
626
|
)
|
|
610
627
|
|
|
611
628
|
# Header separator
|
|
612
|
-
click.echo(
|
|
629
|
+
click.echo(
|
|
630
|
+
"├"
|
|
631
|
+
+ "─" * (name_width + 1)
|
|
632
|
+
+ "┼"
|
|
633
|
+
+ "─" * (state_width + 1)
|
|
634
|
+
+ "┼"
|
|
635
|
+
+ "─" * (user_width + 1)
|
|
636
|
+
+ "┼"
|
|
637
|
+
+ "─" * (type_width + 1)
|
|
638
|
+
+ "┼"
|
|
639
|
+
+ "─" * (id_width + 1)
|
|
640
|
+
+ "┤"
|
|
641
|
+
)
|
|
613
642
|
|
|
614
643
|
# Table rows
|
|
615
644
|
for engine in engines:
|
|
@@ -621,11 +650,11 @@ def list_engines(env: Optional[str]):
|
|
|
621
650
|
|
|
622
651
|
# Truncate if needed
|
|
623
652
|
if len(name) > name_width - 1:
|
|
624
|
-
name = name[:name_width - 1]
|
|
653
|
+
name = name[: name_width - 1]
|
|
625
654
|
if len(user) > user_width - 1:
|
|
626
|
-
user = user[:user_width - 1]
|
|
655
|
+
user = user[: user_width - 1]
|
|
627
656
|
if len(engine_type) > type_width - 1:
|
|
628
|
-
engine_type = engine_type[:type_width - 1]
|
|
657
|
+
engine_type = engine_type[: type_width - 1]
|
|
629
658
|
|
|
630
659
|
# Color the name (blue)
|
|
631
660
|
name_display = f"\033[34m{name:<{name_width}}\033[0m"
|
|
@@ -648,9 +677,21 @@ def list_engines(env: Optional[str]):
|
|
|
648
677
|
)
|
|
649
678
|
|
|
650
679
|
# Table bottom border
|
|
651
|
-
click.echo(
|
|
680
|
+
click.echo(
|
|
681
|
+
"╰"
|
|
682
|
+
+ "─" * (name_width + 1)
|
|
683
|
+
+ "┴"
|
|
684
|
+
+ "─" * (state_width + 1)
|
|
685
|
+
+ "┴"
|
|
686
|
+
+ "─" * (user_width + 1)
|
|
687
|
+
+ "┴"
|
|
688
|
+
+ "─" * (type_width + 1)
|
|
689
|
+
+ "┴"
|
|
690
|
+
+ "─" * (id_width + 1)
|
|
691
|
+
+ "╯"
|
|
692
|
+
)
|
|
652
693
|
|
|
653
|
-
click.echo(f"Total: {len(engines)}
|
|
694
|
+
click.echo(f"Total: {len(engines)}\n")
|
|
654
695
|
|
|
655
696
|
except Exception as e:
|
|
656
697
|
click.echo(f"✗ Error: {e}", err=True)
|
|
@@ -128,7 +128,7 @@ def format_list_output(engines: list[dict[str, Any]], env: str = "dev") -> None:
|
|
|
128
128
|
+ "╯"
|
|
129
129
|
)
|
|
130
130
|
|
|
131
|
-
print(f"Total: {len(engines)}
|
|
131
|
+
print(f"Total: {len(engines)}\n")
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
def generate_scenarios() -> dict[str, dict[str, Any]]:
|
|
@@ -104,7 +104,7 @@ def format_list_output(studios: list[dict[str, Any]], engines_map: dict[str, str
|
|
|
104
104
|
# Table bottom border
|
|
105
105
|
print("╰" + "─" * (user_width + 1) + "┴" + "─" * (status_width + 1) + "┴" + "─" * (attached_width + 1) + "┴" + "─" * (size_width + 1) + "┴" + "─" * (id_width + 1) + "╯")
|
|
106
106
|
|
|
107
|
-
print(f"Total: {len(studios)}
|
|
107
|
+
print(f"Total: {len(studios)}\n")
|
|
108
108
|
|
|
109
109
|
|
|
110
110
|
def generate_scenarios() -> dict[str, dict[str, Any]]:
|
|
@@ -349,7 +349,7 @@ def list_studios(env: Optional[str]):
|
|
|
349
349
|
# Table bottom border
|
|
350
350
|
click.echo("╰" + "─" * (user_width + 1) + "┴" + "─" * (status_width + 1) + "┴" + "─" * (attached_width + 1) + "┴" + "─" * (size_width + 1) + "┴" + "─" * (id_width + 1) + "╯")
|
|
351
351
|
|
|
352
|
-
click.echo(f"Total: {len(studios)}
|
|
352
|
+
click.echo(f"Total: {len(studios)}\n")
|
|
353
353
|
|
|
354
354
|
except Exception as e:
|
|
355
355
|
click.echo(f"✗ Error: {e}", err=True)
|
|
@@ -13,18 +13,18 @@ dayhoff_tools/cli/engine1/studio_commands.py,sha256=VwTQujz32-uMcYusDRE73SdzRpgv
|
|
|
13
13
|
dayhoff_tools/cli/engines_studios/__init__.py,sha256=E6aG0C6qjJnJuClemSKRFlYvLUL49MQZOvfqNQ7SDKs,159
|
|
14
14
|
dayhoff_tools/cli/engines_studios/api_client.py,sha256=9I55_Ns8VHxndGjvSt_c5ZohSqMOeywQlLjyuoDEqCQ,13039
|
|
15
15
|
dayhoff_tools/cli/engines_studios/auth.py,sha256=rwetV5hp4jSvK8FyvKgXCnezLOZx1aW8oiSDc6U83iE,5189
|
|
16
|
-
dayhoff_tools/cli/engines_studios/engine-studio-cli.md,sha256=
|
|
17
|
-
dayhoff_tools/cli/engines_studios/engine_commands.py,sha256=
|
|
16
|
+
dayhoff_tools/cli/engines_studios/engine-studio-cli.md,sha256=or4k7ZZKPMTkvu67PdcUTE2_cxjnj0HQxxTuJZR1uiA,29924
|
|
17
|
+
dayhoff_tools/cli/engines_studios/engine_commands.py,sha256=GWXUPSR0PXozfaqNN-G3vSXzCyRMdL5cOxyUZAdkH5A,34850
|
|
18
18
|
dayhoff_tools/cli/engines_studios/progress.py,sha256=SMahdG2YmO5bEPSONrfAXVTdS6m_69Ep02t3hc2DdKQ,9264
|
|
19
19
|
dayhoff_tools/cli/engines_studios/simulators/cli-simulators.md,sha256=FZJl6nehdr2Duht2cx3yijcak0yKyOaHTrTzvFTAfZs,4976
|
|
20
20
|
dayhoff_tools/cli/engines_studios/simulators/demo.sh,sha256=8tYABSCxLNXqGs-4r071V9mpKNZ5DTQ34WZ-v3d5s94,5364
|
|
21
|
-
dayhoff_tools/cli/engines_studios/simulators/engine_list_simulator.py,sha256=
|
|
21
|
+
dayhoff_tools/cli/engines_studios/simulators/engine_list_simulator.py,sha256=vUrB6gV9UX74L5uCRMTVcPmk_1ZOuP1jYJf6cMP7dOE,9525
|
|
22
22
|
dayhoff_tools/cli/engines_studios/simulators/engine_status_simulator.py,sha256=KUm3gA2MiRgGrQV7KURhb5zabM18-30z_ugRjiq5iso,13024
|
|
23
23
|
dayhoff_tools/cli/engines_studios/simulators/idle_status_simulator.py,sha256=F_MfEXdPKNVDCKgJV72QyU2oMG8hLt-Bwic4yFadRXE,17570
|
|
24
24
|
dayhoff_tools/cli/engines_studios/simulators/simulator_utils.py,sha256=HA08pIMJWV3OFrWj3Ca8GldvgJZfFoTOloyLK0UWMgA,6729
|
|
25
|
-
dayhoff_tools/cli/engines_studios/simulators/studio_list_simulator.py,sha256=
|
|
25
|
+
dayhoff_tools/cli/engines_studios/simulators/studio_list_simulator.py,sha256=CHqxeTApdYneOngfGCAZiNxi9al_yAP1hNhVsQJ57V4,11197
|
|
26
26
|
dayhoff_tools/cli/engines_studios/simulators/studio_status_simulator.py,sha256=6WvpnRawJVaQf_H81zuR1_66igRRVxPxjAt8e69xjp4,5394
|
|
27
|
-
dayhoff_tools/cli/engines_studios/studio_commands.py,sha256=
|
|
27
|
+
dayhoff_tools/cli/engines_studios/studio_commands.py,sha256=0x0x2DZ7LWXQZOq0rKWdguVp2QQCrkSUjK43O6jnLOM,24391
|
|
28
28
|
dayhoff_tools/cli/main.py,sha256=Nz_jtbppmvWKHZydQ0nkt_eejccJE90ces8xCGrerdY,7086
|
|
29
29
|
dayhoff_tools/cli/swarm_commands.py,sha256=5EyKj8yietvT5lfoz8Zx0iQvVaNgc3SJX1z2zQR6o6M,5614
|
|
30
30
|
dayhoff_tools/cli/utility_commands.py,sha256=e2P4dCCtoqMUGNyb0lFBZ6GZpl5Zslm1qqE5qIvsy38,50765
|
|
@@ -48,7 +48,7 @@ dayhoff_tools/intake/uniprot.py,sha256=BZYJQF63OtPcBBnQ7_P9gulxzJtqyorgyuDiPeOJq
|
|
|
48
48
|
dayhoff_tools/logs.py,sha256=DKdeP0k0kliRcilwvX0mUB2eipO5BdWUeHwh-VnsICs,838
|
|
49
49
|
dayhoff_tools/sqlite.py,sha256=jV55ikF8VpTfeQqqlHSbY8OgfyfHj8zgHNpZjBLos_E,18672
|
|
50
50
|
dayhoff_tools/warehouse.py,sha256=UETBtZD3r7WgvURqfGbyHlT7cxoiVq8isjzMuerKw8I,24475
|
|
51
|
-
dayhoff_tools-1.13.
|
|
52
|
-
dayhoff_tools-1.13.
|
|
53
|
-
dayhoff_tools-1.13.
|
|
54
|
-
dayhoff_tools-1.13.
|
|
51
|
+
dayhoff_tools-1.13.3.dist-info/METADATA,sha256=v-DVAop2QmUMTKAKkM-kG5r0dOqpHn89hXVYKwzy97I,2980
|
|
52
|
+
dayhoff_tools-1.13.3.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
53
|
+
dayhoff_tools-1.13.3.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
|
|
54
|
+
dayhoff_tools-1.13.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|