dayhoff-tools 1.4.5__tar.gz → 1.4.7__tar.gz
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-1.4.5 → dayhoff_tools-1.4.7}/PKG-INFO +1 -1
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/cli/engine_commands.py +2 -4
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/pyproject.toml +1 -1
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/README.md +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/__init__.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/chemistry/standardizer.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/chemistry/utils.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/cli/__init__.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/cli/cloud_commands.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/cli/main.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/cli/swarm_commands.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/cli/utility_commands.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/deployment/base.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/deployment/deploy_aws.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/deployment/deploy_gcp.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/deployment/deploy_utils.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/deployment/job_runner.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/deployment/processors.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/deployment/swarm.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/embedders.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/fasta.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/file_ops.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/h5.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/intake/gcp.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/intake/gtdb.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/intake/kegg.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/intake/mmseqs.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/intake/structure.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/intake/uniprot.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/logs.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/sqlite.py +0 -0
- {dayhoff_tools-1.4.5 → dayhoff_tools-1.4.7}/dayhoff_tools/warehouse.py +0 -0
@@ -382,8 +382,7 @@ def update_ssh_config_entry(engine_name: str, instance_id: str, ssh_user: str):
|
|
382
382
|
Host {engine_name} {SSH_MANAGED_COMMENT}
|
383
383
|
HostName {instance_id}
|
384
384
|
User {ssh_user}
|
385
|
-
ProxyCommand sh -c "aws ssm start-session --target %h --document-name AWS-StartSSHSession --
|
386
|
-
"""
|
385
|
+
ProxyCommand sh -c \"AWS_SSM_IDLE_TIMEOUT=600 aws ssm start-session --target %h --document-name AWS-StartSSHSession --parameters 'portNumber=%p'\"\n"""
|
387
386
|
|
388
387
|
# Check if entry already exists
|
389
388
|
host_line = f"Host {engine_name} {SSH_MANAGED_COMMENT}"
|
@@ -617,7 +616,6 @@ def engine_status(
|
|
617
616
|
f"[bold]Instance:[/bold] {engine['instance_id']}",
|
618
617
|
f"[bold]Type:[/bold] {engine['engine_type']} ({engine['instance_type']})",
|
619
618
|
f"[bold]Status:[/bold] {format_status(engine['state'], engine.get('ready'))}",
|
620
|
-
f"[bold]Bootstrap:[/bold] {_colour_stage(stage_val)}",
|
621
619
|
f"[bold]User:[/bold] {engine['user']}",
|
622
620
|
f"[bold]IP:[/bold] {engine.get('public_ip', 'N/A')}",
|
623
621
|
f"[bold]Launched:[/bold] {launch_time.strftime('%Y-%m-%d %H:%M:%S')} ({format_duration(uptime)} ago)",
|
@@ -945,7 +943,7 @@ def config_ssh(
|
|
945
943
|
f"Host {engine['name']} {SSH_MANAGED_COMMENT}",
|
946
944
|
f" HostName {engine['instance_id']}",
|
947
945
|
f" User {ssh_user}",
|
948
|
-
f" ProxyCommand sh -c \"aws ssm start-session --target %h --document-name AWS-StartSSHSession --
|
946
|
+
f" ProxyCommand sh -c \"AWS_SSM_IDLE_TIMEOUT=600 aws ssm start-session --target %h --document-name AWS-StartSSHSession --parameters 'portNumber=%p'\"",
|
949
947
|
]
|
950
948
|
)
|
951
949
|
|
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
|
|
5
5
|
|
6
6
|
[project]
|
7
7
|
name = "dayhoff-tools"
|
8
|
-
version = "1.4.
|
8
|
+
version = "1.4.7"
|
9
9
|
description = "Common tools for all the repos at Dayhoff Labs"
|
10
10
|
authors = [
|
11
11
|
{name = "Daniel Martin-Alarcon", email = "dma@dayhofflabs.com"}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|