divbase-cli 0.1.0a14__tar.gz → 0.1.0a16__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.0a14 → divbase_cli-0.1.0a16}/.gitignore +3 -2
  2. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/PKG-INFO +4 -4
  3. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/pyproject.toml +2 -2
  4. divbase_cli-0.1.0a16/src/divbase_cli/__init__.py +1 -0
  5. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/cli_commands/dimensions_cli.py +4 -4
  6. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/display_task_history.py +1 -1
  7. divbase_cli-0.1.0a14/src/divbase_cli/__init__.py +0 -1
  8. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/README.md +0 -0
  9. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/cli_commands/__init__.py +0 -0
  10. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/cli_commands/auth_cli.py +0 -0
  11. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/cli_commands/file_cli.py +0 -0
  12. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/cli_commands/query_cli.py +0 -0
  13. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/cli_commands/shared_args_options.py +0 -0
  14. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/cli_commands/task_history_cli.py +0 -0
  15. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/cli_commands/user_config_cli.py +0 -0
  16. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/cli_commands/version_cli.py +0 -0
  17. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/cli_config.py +0 -0
  18. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/cli_exceptions.py +0 -0
  19. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/config_resolver.py +0 -0
  20. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/divbase_cli.py +0 -0
  21. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/retries.py +0 -0
  22. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/services/__init__.py +0 -0
  23. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/services/announcements.py +0 -0
  24. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/services/pre_signed_urls.py +0 -0
  25. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/services/project_versions.py +0 -0
  26. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/services/s3_files.py +0 -0
  27. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/user_auth.py +0 -0
  28. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/user_config.py +0 -0
  29. {divbase_cli-0.1.0a14 → divbase_cli-0.1.0a16}/src/divbase_cli/utils.py +0 -0
@@ -50,9 +50,10 @@ docker/logs/*
50
50
  #MacOS artifacts
51
51
  .DS_Store
52
52
 
53
- # mkdocs build cache
53
+ # mkdocs/zensical build cache
54
54
  .cache/
55
- # mkdocs auto generated files
55
+ site/
56
+ # documentation site's auto generated files
56
57
  docs/cli/_auto_generated/*.md
57
58
  docs/releases/index.md
58
59
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: divbase-cli
3
- Version: 0.1.0a14
3
+ Version: 0.1.0a16
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,9 +18,9 @@ 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.0a14
21
+ Requires-Dist: divbase-lib==0.1.0a16
22
22
  Requires-Dist: keyring==25.7.0
23
- Requires-Dist: typer==0.26.8
23
+ Requires-Dist: typer==0.27.2
24
24
  Description-Content-Type: text/markdown
25
25
 
26
26
  # divbase-cli
@@ -8,9 +8,9 @@ authors = [
8
8
  ]
9
9
  requires-python = ">=3.12"
10
10
  dependencies = [
11
- "typer==0.26.8",
11
+ "typer==0.27.2",
12
12
  "keyring==25.7.0",
13
- "divbase-lib==0.1.0a14",
13
+ "divbase-lib==0.1.0a16",
14
14
  ]
15
15
  dynamic = ["version"]
16
16
 
@@ -0,0 +1 @@
1
+ __version__ = "0.1.0a16"
@@ -34,7 +34,7 @@ dimensions_app = typer.Typer(
34
34
  def update_dimensions_index(
35
35
  project: str | None = PROJECT_NAME_OPTION,
36
36
  ) -> None:
37
- """Calculate and add the dimensions of all VCF files in the project to the dimensions index in the project."""
37
+ """Calculate and add the dimensions of all VCF files in the project to the dimensions cache in the project."""
38
38
  project_config = resolve_and_authenticate_project(project_name=project)
39
39
  response = make_authenticated_request(
40
40
  method="PUT",
@@ -96,7 +96,7 @@ def show_dimensions_index(
96
96
  project: str | None = PROJECT_NAME_OPTION,
97
97
  ) -> None:
98
98
  """
99
- Show the dimensions index file for a project.
99
+ Show the dimensions cache file for a project.
100
100
  When running --unique-scaffolds, the sorting separates between numeric and non-numeric scaffold names.
101
101
  """
102
102
  if sample_names_output and sample_names_stdout:
@@ -290,7 +290,7 @@ def create_metadata_template_with_project_samples_names(
290
290
  )
291
291
 
292
292
  if sample_count == 0:
293
- # Fallback in case there are no samples in the dimensions index. If no dimensions entry for the project
293
+ # Fallback in case there are no samples in the dimensions cache. If no dimensions entry for the project
294
294
  # VCFDimensionsEntryMissingError will be returned. But for some reason, there are no samples in the VCF, this will catch that.
295
295
  print("No samples found for this project. No file written.")
296
296
  return
@@ -337,7 +337,7 @@ def validate_metadata_template_versus_dimensions_and_formatting_constraints(
337
337
  """
338
338
  # Client-side validation of a sidecar metadata TSV file, intended to be run before upload to DivBase.
339
339
  # Uses the SharedMetadataValidator (that is also used on the server-side) which checks for formatting errors and also validates that the sample names
340
- # in the TSV file match the sample names in the dimensions index for the project
340
+ # in the TSV file match the sample names in the dimensions cache for the project
341
341
  project_config = resolve_and_authenticate_project(project_name=project)
342
342
  print(f"Validating local metadata file: {input_path}")
343
343
  print(f"Project: {project_config.name}\n")
@@ -155,7 +155,7 @@ class TaskHistoryDisplayManager:
155
155
 
156
156
  elif isinstance(task.result, DimensionUpdateTaskResult):
157
157
  result_message = (
158
- f"VCF file dimensions index added or updated:\n {task.result.VCF_files_added}\n"
158
+ f"VCF file dimensions cache added or updated:\n {task.result.VCF_files_added}\n"
159
159
  f"VCF files skipped by this job (previous DivBase-generated result VCFs):\n {task.result.VCF_files_skipped}\n"
160
160
  f"VCF files that have been deleted from the project and now are dropped from the index:\n {task.result.VCF_files_deleted}"
161
161
  )
@@ -1 +0,0 @@
1
- __version__ = "0.1.0a14"
File without changes