dayhoff-tools 1.0.5__py3-none-any.whl → 1.0.6__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.
@@ -371,11 +371,13 @@ def gcp_use_devcon(
371
371
 
372
372
  # Modify RC files to persist across sessions
373
373
  _modify_rc_files("CLOUDSDK_AUTH_IMPERSONATE_SERVICE_ACCOUNT", f"'{GCP_DEVCON_SA}'")
374
+ _modify_rc_files("GOOGLE_IMPERSONATE_SERVICE_ACCOUNT", f"'{GCP_DEVCON_SA}'")
374
375
  _modify_rc_files("GOOGLE_CLOUD_PROJECT", f"'{GCP_PROJECT_ID}'")
375
376
 
376
377
  if export:
377
378
  # Print export commands for the current shell to stdout
378
379
  print(f"export CLOUDSDK_AUTH_IMPERSONATE_SERVICE_ACCOUNT='{GCP_DEVCON_SA}'")
380
+ print(f"export GOOGLE_IMPERSONATE_SERVICE_ACCOUNT='{GCP_DEVCON_SA}'")
379
381
  print(f"export GOOGLE_CLOUD_PROJECT='{GCP_PROJECT_ID}'")
380
382
 
381
383
  # Print confirmation to stderr so it doesn't affect eval
@@ -421,11 +423,13 @@ def gcp_use_user(
421
423
 
422
424
  # Modify RC files to persist across sessions
423
425
  _modify_rc_files("CLOUDSDK_AUTH_IMPERSONATE_SERVICE_ACCOUNT", None)
426
+ _modify_rc_files("GOOGLE_IMPERSONATE_SERVICE_ACCOUNT", None)
424
427
  _modify_rc_files("GOOGLE_CLOUD_PROJECT", f"'{GCP_PROJECT_ID}'")
425
428
 
426
429
  if export:
427
430
  # Print export commands for the current shell to stdout
428
431
  print(f"unset CLOUDSDK_AUTH_IMPERSONATE_SERVICE_ACCOUNT")
432
+ print(f"unset GOOGLE_IMPERSONATE_SERVICE_ACCOUNT")
429
433
  print(f"export GOOGLE_CLOUD_PROJECT='{GCP_PROJECT_ID}'")
430
434
 
431
435
  # Print confirmation to stderr so it doesn't affect eval
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: dayhoff-tools
3
- Version: 1.0.5
3
+ Version: 1.0.6
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
@@ -2,7 +2,7 @@ dayhoff_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  dayhoff_tools/chemistry/standardizer.py,sha256=uMn7VwHnx02nc404eO6fRuS4rsl4dvSPf2ElfZDXEpY,11188
3
3
  dayhoff_tools/chemistry/utils.py,sha256=jt-7JgF-GeeVC421acX-bobKbLU_X94KNOW24p_P-_M,2257
4
4
  dayhoff_tools/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
- dayhoff_tools/cli/cloud_commands.py,sha256=rt8bcNo73zhCwNwcb8zTGmx2xxcGejhKEEl-d9HH2yM,20889
5
+ dayhoff_tools/cli/cloud_commands.py,sha256=sXOWwFayzBa89Ci1yD4RG7P1KziqEemICSX6jrOHEaA,21172
6
6
  dayhoff_tools/cli/main.py,sha256=E1-3rZ26LMgJVKBz6CdJwsHs9fJsSGa2_9tot3hNgz4,3604
7
7
  dayhoff_tools/cli/swarm_commands.py,sha256=5EyKj8yietvT5lfoz8Zx0iQvVaNgc3SJX1z2zQR6o6M,5614
8
8
  dayhoff_tools/cli/utility_commands.py,sha256=AsZMpvUNP2xjn5cZ9_BrBNHggfuy6PLwlHw1WP0d7o0,9602
@@ -25,7 +25,7 @@ dayhoff_tools/sqlite.py,sha256=jV55ikF8VpTfeQqqlHSbY8OgfyfHj8zgHNpZjBLos_E,18672
25
25
  dayhoff_tools/structure.py,sha256=ufN3gAodQxhnt7psK1VTQeu9rKERmo_PhoxIbB4QKMw,27660
26
26
  dayhoff_tools/uniprot.py,sha256=BZYJQF63OtPcBBnQ7_P9gulxzJtqyorgyuDiPeOJqE4,16456
27
27
  dayhoff_tools/warehouse.py,sha256=TqV8nex1AluNaL4JuXH5zuu9P7qmE89lSo6f_oViy6U,14965
28
- dayhoff_tools-1.0.5.dist-info/METADATA,sha256=LE_AxsDAgFzG6oW_i2YL3sZOfbC0V1JDpAidC40Yfek,1930
29
- dayhoff_tools-1.0.5.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
30
- dayhoff_tools-1.0.5.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
31
- dayhoff_tools-1.0.5.dist-info/RECORD,,
28
+ dayhoff_tools-1.0.6.dist-info/METADATA,sha256=yt12ICNixrJlH6herXmg6e9oM3_mcoL4lqYSlk0d5dc,1930
29
+ dayhoff_tools-1.0.6.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
30
+ dayhoff_tools-1.0.6.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
31
+ dayhoff_tools-1.0.6.dist-info/RECORD,,