dayhoff-tools 1.13.1__py3-none-any.whl → 1.13.2__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.
@@ -321,8 +321,8 @@ dh engine2 list --env sand
321
321
 
322
322
  **Output:**
323
323
  ```
324
- Engines for AWS Account dev
325
324
 
325
+ Engines for AWS Account dev
326
326
  ╭──────────────┬─────────────┬─────────────┬─────────────┬─────────────────────╮
327
327
  │ Name │ State │ User │ Type │ Instance ID │
328
328
  ├──────────────┼─────────────┼─────────────┼─────────────┼─────────────────────┤
@@ -330,8 +330,8 @@ 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
-
334
333
  Total: 3 engine(s)
334
+
335
335
  ```
336
336
 
337
337
  **Formatting:**
@@ -755,8 +755,8 @@ dh studio2 list
755
755
 
756
756
  **Output:**
757
757
  ```
758
- Studios for AWS Account dev
759
758
 
759
+ Studios for AWS Account dev
760
760
  ╭────────┬──────────────┬──────────────┬───────────┬───────────────────────────╮
761
761
  │ User │ Status │ Attached To │ Size │ Studio ID │
762
762
  ├────────┼──────────────┼──────────────┼───────────┼───────────────────────────┤
@@ -764,8 +764,8 @@ Studios for AWS Account dev
764
764
  │ bob │ available │ - │ 200GB │ vol-0fedcba987654321 │
765
765
  │ carol │ attaching │ carol-gpu │ 150GB │ vol-0abc123def456789 │
766
766
  ╰────────┴──────────────┴──────────────┴───────────┴───────────────────────────╯
767
-
768
767
  Total: 3 studio(s)
768
+
769
769
  ```
770
770
 
771
771
  **Formatting:**
@@ -581,10 +581,10 @@ def list_engines(env: Optional[str]):
581
581
  engines = result.get("engines", [])
582
582
 
583
583
  # Show account header with blue account name
584
- click.echo(f"Engines for AWS Account \033[34m{env}\033[0m\n")
584
+ click.echo(f"\nEngines for AWS Account \033[34m{env}\033[0m")
585
585
 
586
586
  if not engines:
587
- click.echo("No engines found")
587
+ click.echo("No engines found\n")
588
588
  return
589
589
 
590
590
  # Calculate dynamic width for Name column (longest name + 2 for padding)
@@ -650,7 +650,7 @@ def list_engines(env: Optional[str]):
650
650
  # Table bottom border
651
651
  click.echo("╰" + "─" * (name_width + 1) + "┴" + "─" * (state_width + 1) + "┴" + "─" * (user_width + 1) + "┴" + "─" * (type_width + 1) + "┴" + "─" * (id_width + 1) + "╯")
652
652
 
653
- click.echo(f"\nTotal: {len(engines)} engine(s)")
653
+ click.echo(f"Total: {len(engines)} engine(s)\n")
654
654
 
655
655
  except Exception as e:
656
656
  click.echo(f"✗ Error: {e}", err=True)
@@ -24,10 +24,10 @@ def format_list_output(engines: list[dict[str, Any]], env: str = "dev") -> None:
24
24
  """Format and print engine list output matching the actual CLI."""
25
25
 
26
26
  # Header with blue account name
27
- print(f"Engines for AWS Account {colorize(env, '34')}\n")
27
+ print(f"\nEngines for AWS Account {colorize(env, '34')}")
28
28
 
29
29
  if not engines:
30
- print("No engines found")
30
+ print("No engines found\n")
31
31
  return
32
32
 
33
33
  # Calculate dynamic width for Name column (longest name + 2 for padding)
@@ -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"\nTotal: {len(engines)} engine(s)")
131
+ print(f"Total: {len(engines)} engine(s)\n")
132
132
 
133
133
 
134
134
  def generate_scenarios() -> dict[str, dict[str, Any]]:
@@ -24,10 +24,10 @@ def format_list_output(studios: list[dict[str, Any]], engines_map: dict[str, str
24
24
  """Format and print studio list output matching the actual CLI."""
25
25
 
26
26
  # Header with blue account name
27
- print(f"Studios for AWS Account {colorize(env, '34')}\n")
27
+ print(f"\nStudios for AWS Account {colorize(env, '34')}")
28
28
 
29
29
  if not studios:
30
- print("No studios found")
30
+ print("No studios found\n")
31
31
  return
32
32
 
33
33
  # Calculate dynamic width for User column (longest user + 2 for padding)
@@ -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"\nTotal: {len(studios)} studio(s)")
107
+ print(f"Total: {len(studios)} studio(s)\n")
108
108
 
109
109
 
110
110
  def generate_scenarios() -> dict[str, dict[str, Any]]:
@@ -258,8 +258,11 @@ def list_studios(env: Optional[str]):
258
258
  result = client.list_studios()
259
259
  studios = result.get("studios", [])
260
260
 
261
+ # Show account header with blue account name
262
+ click.echo(f"\nStudios for AWS Account \033[34m{env}\033[0m")
263
+
261
264
  if not studios:
262
- click.echo("No studios found")
265
+ click.echo("No studios found\n")
263
266
  return
264
267
 
265
268
  # Get all engines to map instance IDs to names
@@ -346,7 +349,7 @@ def list_studios(env: Optional[str]):
346
349
  # Table bottom border
347
350
  click.echo("╰" + "─" * (user_width + 1) + "┴" + "─" * (status_width + 1) + "┴" + "─" * (attached_width + 1) + "┴" + "─" * (size_width + 1) + "┴" + "─" * (id_width + 1) + "╯")
348
351
 
349
- click.echo(f"\nTotal: {len(studios)} studio(s)")
352
+ click.echo(f"Total: {len(studios)} studio(s)\n")
350
353
 
351
354
  except Exception as e:
352
355
  click.echo(f"✗ Error: {e}", err=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dayhoff-tools
3
- Version: 1.13.1
3
+ Version: 1.13.2
4
4
  Summary: Common tools for all the repos at Dayhoff Labs
5
5
  Author: Daniel Martin-Alarcon
6
6
  Author-email: dma@dayhofflabs.com
@@ -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=D0e_3P9gFLt86ihHg9s0ukXWqpltaVil897yfJyTUSc,29944
17
- dayhoff_tools/cli/engines_studios/engine_commands.py,sha256=8pnCb4dicSqfoE2XDM4AEoA2DLyCOEFWL4nL-TzW8vw,34561
16
+ dayhoff_tools/cli/engines_studios/engine-studio-cli.md,sha256=vtFuQDi41DP_MAzxiQiyXWC396pwHnab4uil8kCrehk,29944
17
+ dayhoff_tools/cli/engines_studios/engine_commands.py,sha256=qFoDJODwwQilflQZXNy-D-tcHvLi36AgLCNqqSQaj1w,34563
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=ruS4U1t-Eqoffd9cglTe3XRp9ICLAmBCwBfF0qQLxhE,9533
21
+ dayhoff_tools/cli/engines_studios/simulators/engine_list_simulator.py,sha256=NJOO0CZFRJuIBS1xpYYIU9FW2-hQs8oq2BxwMifUqtY,9535
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=ZGgubT1BRa52PkwzX4yVzyHh6EVOxQCuQMs2Lz_yT-Q,11205
25
+ dayhoff_tools/cli/engines_studios/simulators/studio_list_simulator.py,sha256=MVQf_CshYqPuldW_VXE8LijSm26yYPWMg6QJLuRTobg,11207
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=rhtxZNFMC29rl9omKnZzyySAh9k3O9uZGnLIuc8Dci4,24275
27
+ dayhoff_tools/cli/engines_studios/studio_commands.py,sha256=RbXayvlrydEt5ao7OjYNAkyaVgAkukre3Iq1VrolKk8,24401
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.1.dist-info/METADATA,sha256=4a0PkNGLQFHLDuHmw_HYwV6XQB0BUU5H5TY_ghqnSPA,2980
52
- dayhoff_tools-1.13.1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
53
- dayhoff_tools-1.13.1.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
54
- dayhoff_tools-1.13.1.dist-info/RECORD,,
51
+ dayhoff_tools-1.13.2.dist-info/METADATA,sha256=3yH2B0VHCo_8AfohB70VdnxLjHuK_zWklWcW9zN62qk,2980
52
+ dayhoff_tools-1.13.2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
53
+ dayhoff_tools-1.13.2.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
54
+ dayhoff_tools-1.13.2.dist-info/RECORD,,