dayhoff-tools 1.11.5__py3-none-any.whl → 1.11.7__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/utility_commands.py +72 -14
 - {dayhoff_tools-1.11.5.dist-info → dayhoff_tools-1.11.7.dist-info}/METADATA +1 -1
 - {dayhoff_tools-1.11.5.dist-info → dayhoff_tools-1.11.7.dist-info}/RECORD +5 -5
 - {dayhoff_tools-1.11.5.dist-info → dayhoff_tools-1.11.7.dist-info}/WHEEL +0 -0
 - {dayhoff_tools-1.11.5.dist-info → dayhoff_tools-1.11.7.dist-info}/entry_points.txt +0 -0
 
| 
         @@ -559,16 +559,44 @@ def sync_with_toml( 
     | 
|
| 
       559 
559 
     | 
    
         
             
                        # Sync into the active environment
         
     | 
| 
       560 
560 
     | 
    
         
             
                        if install_project:
         
     | 
| 
       561 
561 
     | 
    
         
             
                            print(
         
     | 
| 
       562 
     | 
    
         
            -
                                "Syncing dependencies into ACTIVE env  
     | 
| 
      
 562 
     | 
    
         
            +
                                "Syncing dependencies into ACTIVE env (project installed separately)…"
         
     | 
| 
       563 
563 
     | 
    
         
             
                            )
         
     | 
| 
       564 
     | 
    
         
            -
                            sync_cmd = [ 
     | 
| 
      
 564 
     | 
    
         
            +
                            sync_cmd = [
         
     | 
| 
      
 565 
     | 
    
         
            +
                                "uv",
         
     | 
| 
      
 566 
     | 
    
         
            +
                                "sync",
         
     | 
| 
      
 567 
     | 
    
         
            +
                                "--all-groups",
         
     | 
| 
      
 568 
     | 
    
         
            +
                                "--no-install-project",
         
     | 
| 
      
 569 
     | 
    
         
            +
                                "--active",
         
     | 
| 
      
 570 
     | 
    
         
            +
                            ]
         
     | 
| 
       565 
571 
     | 
    
         
             
                            print(f"Running command: {BLUE}{' '.join(sync_cmd)}{RESET}")
         
     | 
| 
       566 
572 
     | 
    
         
             
                            subprocess.run(sync_cmd, check=True, cwd=str(mac_uv_dir))
         
     | 
| 
       567 
     | 
    
         
            -
             
     | 
| 
       568 
     | 
    
         
            -
                             
     | 
| 
       569 
     | 
    
         
            -
                             
     | 
| 
       570 
     | 
    
         
            -
                             
     | 
| 
       571 
     | 
    
         
            -
                             
     | 
| 
      
 573 
     | 
    
         
            +
             
     | 
| 
      
 574 
     | 
    
         
            +
                            # Install project from repo root (where source code actually is)
         
     | 
| 
      
 575 
     | 
    
         
            +
                            # Temporarily create pyproject.toml at repo root for UV
         
     | 
| 
      
 576 
     | 
    
         
            +
                            print("Installing project with 'full' extras from repo root…")
         
     | 
| 
      
 577 
     | 
    
         
            +
                            temp_pyproject = False
         
     | 
| 
      
 578 
     | 
    
         
            +
                            backup_created = False
         
     | 
| 
      
 579 
     | 
    
         
            +
                            try:
         
     | 
| 
      
 580 
     | 
    
         
            +
                                if not Path("pyproject.toml").exists():
         
     | 
| 
      
 581 
     | 
    
         
            +
                                    # Create temp pyproject.toml from platform manifest
         
     | 
| 
      
 582 
     | 
    
         
            +
                                    Path("pyproject.toml").write_text(mac_manifest.read_text())
         
     | 
| 
      
 583 
     | 
    
         
            +
                                    temp_pyproject = True
         
     | 
| 
      
 584 
     | 
    
         
            +
                                elif Path("pyproject.toml").is_symlink():
         
     | 
| 
      
 585 
     | 
    
         
            +
                                    # Backup existing symlink
         
     | 
| 
      
 586 
     | 
    
         
            +
                                    Path("pyproject.toml").rename("pyproject.toml.sync.bak")
         
     | 
| 
      
 587 
     | 
    
         
            +
                                    Path("pyproject.toml").write_text(mac_manifest.read_text())
         
     | 
| 
      
 588 
     | 
    
         
            +
                                    backup_created = True
         
     | 
| 
      
 589 
     | 
    
         
            +
             
     | 
| 
      
 590 
     | 
    
         
            +
                                pip_install_cmd = ["uv", "pip", "install", "-e", ".[full]"]
         
     | 
| 
      
 591 
     | 
    
         
            +
                                print(f"Running command: {BLUE}{' '.join(pip_install_cmd)}{RESET}")
         
     | 
| 
      
 592 
     | 
    
         
            +
                                subprocess.run(pip_install_cmd, check=True)
         
     | 
| 
      
 593 
     | 
    
         
            +
                                print("Project installed with 'full' extras successfully.")
         
     | 
| 
      
 594 
     | 
    
         
            +
                            finally:
         
     | 
| 
      
 595 
     | 
    
         
            +
                                # Clean up temp pyproject.toml
         
     | 
| 
      
 596 
     | 
    
         
            +
                                if temp_pyproject and Path("pyproject.toml").exists():
         
     | 
| 
      
 597 
     | 
    
         
            +
                                    Path("pyproject.toml").unlink()
         
     | 
| 
      
 598 
     | 
    
         
            +
                                if backup_created and Path("pyproject.toml.sync.bak").exists():
         
     | 
| 
      
 599 
     | 
    
         
            +
                                    Path("pyproject.toml.sync.bak").rename("pyproject.toml")
         
     | 
| 
       572 
600 
     | 
    
         
             
                        else:
         
     | 
| 
       573 
601 
     | 
    
         
             
                            print("Syncing dependencies into ACTIVE env (project not installed)…")
         
     | 
| 
       574 
602 
     | 
    
         
             
                            sync_cmd = [
         
     | 
| 
         @@ -606,16 +634,46 @@ def sync_with_toml( 
     | 
|
| 
       606 
634 
     | 
    
         
             
                            # Sync into the active environment
         
     | 
| 
       607 
635 
     | 
    
         
             
                            if install_project:
         
     | 
| 
       608 
636 
     | 
    
         
             
                                print(
         
     | 
| 
       609 
     | 
    
         
            -
                                    "Syncing dependencies into ACTIVE env  
     | 
| 
      
 637 
     | 
    
         
            +
                                    "Syncing dependencies into ACTIVE env (project installed separately)…"
         
     | 
| 
       610 
638 
     | 
    
         
             
                                )
         
     | 
| 
       611 
     | 
    
         
            -
                                sync_cmd = [ 
     | 
| 
      
 639 
     | 
    
         
            +
                                sync_cmd = [
         
     | 
| 
      
 640 
     | 
    
         
            +
                                    "uv",
         
     | 
| 
      
 641 
     | 
    
         
            +
                                    "sync",
         
     | 
| 
      
 642 
     | 
    
         
            +
                                    "--all-groups",
         
     | 
| 
      
 643 
     | 
    
         
            +
                                    "--no-install-project",
         
     | 
| 
      
 644 
     | 
    
         
            +
                                    "--active",
         
     | 
| 
      
 645 
     | 
    
         
            +
                                ]
         
     | 
| 
       612 
646 
     | 
    
         
             
                                print(f"Running command: {BLUE}{' '.join(sync_cmd)}{RESET}")
         
     | 
| 
       613 
647 
     | 
    
         
             
                                subprocess.run(sync_cmd, check=True, cwd=str(aws_uv_dir))
         
     | 
| 
       614 
     | 
    
         
            -
             
     | 
| 
       615 
     | 
    
         
            -
                                 
     | 
| 
       616 
     | 
    
         
            -
                                 
     | 
| 
       617 
     | 
    
         
            -
                                 
     | 
| 
       618 
     | 
    
         
            -
                                 
     | 
| 
      
 648 
     | 
    
         
            +
             
     | 
| 
      
 649 
     | 
    
         
            +
                                # Install project from repo root (where source code actually is)
         
     | 
| 
      
 650 
     | 
    
         
            +
                                # Temporarily create pyproject.toml at repo root for UV
         
     | 
| 
      
 651 
     | 
    
         
            +
                                print("Installing project with 'full' extras from repo root…")
         
     | 
| 
      
 652 
     | 
    
         
            +
                                temp_pyproject = False
         
     | 
| 
      
 653 
     | 
    
         
            +
                                backup_created = False
         
     | 
| 
      
 654 
     | 
    
         
            +
                                try:
         
     | 
| 
      
 655 
     | 
    
         
            +
                                    if not Path("pyproject.toml").exists():
         
     | 
| 
      
 656 
     | 
    
         
            +
                                        # Create temp pyproject.toml from platform manifest
         
     | 
| 
      
 657 
     | 
    
         
            +
                                        Path("pyproject.toml").write_text(aws_manifest.read_text())
         
     | 
| 
      
 658 
     | 
    
         
            +
                                        temp_pyproject = True
         
     | 
| 
      
 659 
     | 
    
         
            +
                                    elif Path("pyproject.toml").is_symlink():
         
     | 
| 
      
 660 
     | 
    
         
            +
                                        # Backup existing symlink
         
     | 
| 
      
 661 
     | 
    
         
            +
                                        Path("pyproject.toml").rename("pyproject.toml.sync.bak")
         
     | 
| 
      
 662 
     | 
    
         
            +
                                        Path("pyproject.toml").write_text(aws_manifest.read_text())
         
     | 
| 
      
 663 
     | 
    
         
            +
                                        backup_created = True
         
     | 
| 
      
 664 
     | 
    
         
            +
             
     | 
| 
      
 665 
     | 
    
         
            +
                                    pip_install_cmd = ["uv", "pip", "install", "-e", ".[full]"]
         
     | 
| 
      
 666 
     | 
    
         
            +
                                    print(
         
     | 
| 
      
 667 
     | 
    
         
            +
                                        f"Running command: {BLUE}{' '.join(pip_install_cmd)}{RESET}"
         
     | 
| 
      
 668 
     | 
    
         
            +
                                    )
         
     | 
| 
      
 669 
     | 
    
         
            +
                                    subprocess.run(pip_install_cmd, check=True)
         
     | 
| 
      
 670 
     | 
    
         
            +
                                    print("Project installed with 'full' extras successfully.")
         
     | 
| 
      
 671 
     | 
    
         
            +
                                finally:
         
     | 
| 
      
 672 
     | 
    
         
            +
                                    # Clean up temp pyproject.toml
         
     | 
| 
      
 673 
     | 
    
         
            +
                                    if temp_pyproject and Path("pyproject.toml").exists():
         
     | 
| 
      
 674 
     | 
    
         
            +
                                        Path("pyproject.toml").unlink()
         
     | 
| 
      
 675 
     | 
    
         
            +
                                    if backup_created and Path("pyproject.toml.sync.bak").exists():
         
     | 
| 
      
 676 
     | 
    
         
            +
                                        Path("pyproject.toml.sync.bak").rename("pyproject.toml")
         
     | 
| 
       619 
677 
     | 
    
         
             
                            else:
         
     | 
| 
       620 
678 
     | 
    
         
             
                                print(
         
     | 
| 
       621 
679 
     | 
    
         
             
                                    "Syncing dependencies into ACTIVE env (project not installed)…"
         
     | 
| 
         @@ -12,7 +12,7 @@ dayhoff_tools/cli/engine/shared.py,sha256=Ecx6I1jtzmxQDn3BezKpgpQ4SJeZf4SZjUCLg- 
     | 
|
| 
       12 
12 
     | 
    
         
             
            dayhoff_tools/cli/engine/studio_commands.py,sha256=VwTQujz32-uMcYusDRE73SdzRpgvIkv7ZAF4zRv6AzA,30266
         
     | 
| 
       13 
13 
     | 
    
         
             
            dayhoff_tools/cli/main.py,sha256=Ii5boey--93yGthB_eS2LC7ZR3WHGsJXDHY7uElEtso,6169
         
     | 
| 
       14 
14 
     | 
    
         
             
            dayhoff_tools/cli/swarm_commands.py,sha256=5EyKj8yietvT5lfoz8Zx0iQvVaNgc3SJX1z2zQR6o6M,5614
         
     | 
| 
       15 
     | 
    
         
            -
            dayhoff_tools/cli/utility_commands.py,sha256= 
     | 
| 
      
 15 
     | 
    
         
            +
            dayhoff_tools/cli/utility_commands.py,sha256=P6ZfWRedD6Uze-q5Zhm2wOFzosJDnHLwkd0Ir2TT-yQ,46442
         
     | 
| 
       16 
16 
     | 
    
         
             
            dayhoff_tools/deployment/base.py,sha256=48KE76QlWMeIZJefcBOZVbyChS2V_mgs7IQ31odPV2o,17806
         
     | 
| 
       17 
17 
     | 
    
         
             
            dayhoff_tools/deployment/deploy_aws.py,sha256=gfqh09hGbz0q3oPqVm0imd_CEjKF2k8moGNRIL26qqE,18614
         
     | 
| 
       18 
18 
     | 
    
         
             
            dayhoff_tools/deployment/deploy_gcp.py,sha256=xgaOVsUDmP6wSEMYNkm1yRNcVskfdz80qJtCulkBIAM,8860
         
     | 
| 
         @@ -33,7 +33,7 @@ dayhoff_tools/intake/uniprot.py,sha256=BZYJQF63OtPcBBnQ7_P9gulxzJtqyorgyuDiPeOJq 
     | 
|
| 
       33 
33 
     | 
    
         
             
            dayhoff_tools/logs.py,sha256=DKdeP0k0kliRcilwvX0mUB2eipO5BdWUeHwh-VnsICs,838
         
     | 
| 
       34 
34 
     | 
    
         
             
            dayhoff_tools/sqlite.py,sha256=jV55ikF8VpTfeQqqlHSbY8OgfyfHj8zgHNpZjBLos_E,18672
         
     | 
| 
       35 
35 
     | 
    
         
             
            dayhoff_tools/warehouse.py,sha256=UETBtZD3r7WgvURqfGbyHlT7cxoiVq8isjzMuerKw8I,24475
         
     | 
| 
       36 
     | 
    
         
            -
            dayhoff_tools-1.11. 
     | 
| 
       37 
     | 
    
         
            -
            dayhoff_tools-1.11. 
     | 
| 
       38 
     | 
    
         
            -
            dayhoff_tools-1.11. 
     | 
| 
       39 
     | 
    
         
            -
            dayhoff_tools-1.11. 
     | 
| 
      
 36 
     | 
    
         
            +
            dayhoff_tools-1.11.7.dist-info/METADATA,sha256=I3IOGfqRo9xJzkAs0bXH79VbRxmHl4wEuK5Qed7poRQ,3003
         
     | 
| 
      
 37 
     | 
    
         
            +
            dayhoff_tools-1.11.7.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
         
     | 
| 
      
 38 
     | 
    
         
            +
            dayhoff_tools-1.11.7.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
         
     | 
| 
      
 39 
     | 
    
         
            +
            dayhoff_tools-1.11.7.dist-info/RECORD,,
         
     | 
| 
         
            File without changes
         
     | 
| 
         
            File without changes
         
     |