divbase-cli 0.1.0a1__tar.gz → 0.1.0a2__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.
Files changed (29) hide show
  1. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/.gitignore +6 -0
  2. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/PKG-INFO +2 -2
  3. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/pyproject.toml +1 -1
  4. divbase_cli-0.1.0a2/src/divbase_cli/__init__.py +1 -0
  5. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/file_cli.py +2 -2
  6. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/user_auth.py +2 -2
  7. divbase_cli-0.1.0a1/src/divbase_cli/__init__.py +0 -1
  8. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/README.md +0 -0
  9. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/__init__.py +0 -0
  10. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/auth_cli.py +0 -0
  11. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/dimensions_cli.py +0 -0
  12. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/query_cli.py +0 -0
  13. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/shared_args_options.py +0 -0
  14. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/task_history_cli.py +0 -0
  15. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/user_config_cli.py +0 -0
  16. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/version_cli.py +0 -0
  17. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_config.py +0 -0
  18. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_exceptions.py +0 -0
  19. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/config_resolver.py +0 -0
  20. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/display_task_history.py +0 -0
  21. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/divbase_cli.py +0 -0
  22. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/retries.py +0 -0
  23. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/services/__init__.py +0 -0
  24. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/services/announcements.py +0 -0
  25. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/services/pre_signed_urls.py +0 -0
  26. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/services/project_versions.py +0 -0
  27. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/services/s3_files.py +0 -0
  28. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/user_config.py +0 -0
  29. {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/utils.py +0 -0
@@ -34,6 +34,12 @@ split_scaffold_files.txt
34
34
  scripts/benchmarking/*.yaml
35
35
  scripts/benchmarking/results
36
36
 
37
+ # pytest-cov generate files
38
+ .coverage
39
+ .coverage.*
40
+ htmlcov/
41
+ docker/coverage-data/
42
+
37
43
  #MacOS artifacts
38
44
  .DS_Store
39
45
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: divbase-cli
3
- Version: 0.1.0a1
3
+ Version: 0.1.0a2
4
4
  Summary: Command Line Interface for Divbase
5
5
  Project-URL: Homepage, https://divbase.scilifelab-2-prod.sys.kth.se
6
6
  Project-URL: Documentation, https://scilifelabdatacentre.github.io/divbase
@@ -18,7 +18,7 @@ Classifier: Programming Language :: Python :: 3.12
18
18
  Classifier: Programming Language :: Python :: 3.13
19
19
  Classifier: Programming Language :: Python :: 3.14
20
20
  Requires-Python: >=3.12
21
- Requires-Dist: divbase-lib==0.1.0a1
21
+ Requires-Dist: divbase-lib==0.1.0a2
22
22
  Requires-Dist: keyring>=25.7.0
23
23
  Requires-Dist: typer==0.24.1
24
24
  Description-Content-Type: text/markdown
@@ -10,7 +10,7 @@ requires-python = ">=3.12"
10
10
  dependencies = [
11
11
  "typer==0.24.1",
12
12
  "keyring>=25.7.0",
13
- "divbase-lib==0.1.0a1",
13
+ "divbase-lib==0.1.0a2",
14
14
  ]
15
15
  dynamic = ["version"]
16
16
 
@@ -0,0 +1 @@
1
+ __version__ = "0.1.0a2"
@@ -483,7 +483,7 @@ def upload_files(
483
483
  @file_app.command("rm")
484
484
  def remove_files(
485
485
  files: list[str] | None = typer.Argument(
486
- None, help="Space seperated list of files/objects in the project's store on DivBase to delete."
486
+ None, help="Space separated list of files/objects in the project's store on DivBase to delete."
487
487
  ),
488
488
  file_list: Path | None = typer.Option(None, "--file-list", help="Text file with list of files to delete."),
489
489
  dry_run: bool = typer.Option(
@@ -528,7 +528,7 @@ def remove_files(
528
528
  @file_app.command("restore")
529
529
  def restore_soft_deleted_files(
530
530
  files: list[str] | None = typer.Argument(
531
- None, help="Space seperated list of files/objects in the project's store on DivBase to restore."
531
+ None, help="Space separated list of files/objects in the project's store on DivBase to restore."
532
532
  ),
533
533
  file_list: Path | None = typer.Option(None, "--file-list", help="Text file with list of files to restore."),
534
534
  project: str | None = PROJECT_NAME_OPTION,
@@ -21,7 +21,7 @@ import httpx
21
21
  import keyring
22
22
  import stamina
23
23
  import yaml
24
- from keyring.errors import KeyringError, NoKeyringError, PasswordDeleteError
24
+ from keyring.errors import KeyringError
25
25
  from pydantic import SecretStr
26
26
 
27
27
  from divbase_cli import __version__ as cli_version
@@ -85,7 +85,7 @@ class TokenData:
85
85
 
86
86
  def _delete_stored_jwts(token_path: Path) -> None:
87
87
  """Attempt to delete user JWTs from both the keyring and the fallback file."""
88
- with contextlib.suppress(NoKeyringError, PasswordDeleteError):
88
+ with contextlib.suppress(KeyringError):
89
89
  keyring.delete_password(service_name=cli_settings.KEYRING_SERVICE, username=cli_settings.KEYRING_USERNAME)
90
90
  token_path.unlink(missing_ok=True)
91
91
 
@@ -1 +0,0 @@
1
- __version__ = "0.1.0a1"
File without changes