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.
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/.gitignore +6 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/PKG-INFO +2 -2
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/pyproject.toml +1 -1
- divbase_cli-0.1.0a2/src/divbase_cli/__init__.py +1 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/file_cli.py +2 -2
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/user_auth.py +2 -2
- divbase_cli-0.1.0a1/src/divbase_cli/__init__.py +0 -1
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/README.md +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/__init__.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/auth_cli.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/dimensions_cli.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/query_cli.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/shared_args_options.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/task_history_cli.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/user_config_cli.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/version_cli.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_config.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_exceptions.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/config_resolver.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/display_task_history.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/divbase_cli.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/retries.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/services/__init__.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/services/announcements.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/services/pre_signed_urls.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/services/project_versions.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/services/s3_files.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/user_config.py +0 -0
- {divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: divbase-cli
|
|
3
|
-
Version: 0.1.
|
|
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.
|
|
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
|
|
@@ -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
|
|
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
|
|
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
|
|
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(
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/shared_args_options.py
RENAMED
|
File without changes
|
{divbase_cli-0.1.0a1 → divbase_cli-0.1.0a2}/src/divbase_cli/cli_commands/task_history_cli.py
RENAMED
|
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
|