cloudos-cli 2.57.0__tar.gz → 2.59.0__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 (45) hide show
  1. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/PKG-INFO +8 -12
  2. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/README.md +7 -11
  3. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/__main__.py +284 -107
  4. cloudos_cli-2.59.0/cloudos_cli/_version.py +1 -0
  5. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/clos.py +63 -0
  6. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/configure/configure.py +10 -3
  7. cloudos_cli-2.59.0/cloudos_cli/logging/__init__.py +8 -0
  8. cloudos_cli-2.59.0/cloudos_cli/logging/logger.py +152 -0
  9. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli.egg-info/PKG-INFO +8 -12
  10. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli.egg-info/SOURCES.txt +5 -1
  11. cloudos_cli-2.59.0/tests/test_logging/__init__.py +0 -0
  12. cloudos_cli-2.59.0/tests/test_logging/test_logger.py +519 -0
  13. cloudos_cli-2.57.0/cloudos_cli/_version.py +0 -1
  14. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/LICENSE +0 -0
  15. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/__init__.py +0 -0
  16. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/configure/__init__.py +0 -0
  17. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/datasets/__init__.py +0 -0
  18. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/datasets/datasets.py +0 -0
  19. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/import_wf/__init__.py +0 -0
  20. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/import_wf/import_wf.py +0 -0
  21. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/jobs/__init__.py +0 -0
  22. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/jobs/job.py +0 -0
  23. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/link/__init__.py +0 -0
  24. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/link/link.py +0 -0
  25. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/procurement/__init__.py +0 -0
  26. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/procurement/images.py +0 -0
  27. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/queue/__init__.py +0 -0
  28. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/queue/queue.py +0 -0
  29. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/utils/__init__.py +0 -0
  30. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/utils/array_job.py +0 -0
  31. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/utils/cloud.py +0 -0
  32. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/utils/details.py +0 -0
  33. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/utils/errors.py +0 -0
  34. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/utils/last_wf.py +0 -0
  35. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/utils/requests.py +0 -0
  36. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli/utils/resources.py +0 -0
  37. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli.egg-info/dependency_links.txt +0 -0
  38. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli.egg-info/entry_points.txt +0 -0
  39. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli.egg-info/requires.txt +0 -0
  40. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/cloudos_cli.egg-info/top_level.txt +0 -0
  41. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/setup.cfg +0 -0
  42. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/setup.py +0 -0
  43. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/tests/__init__.py +0 -0
  44. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/tests/functions_for_pytest.py +0 -0
  45. {cloudos_cli-2.57.0 → cloudos_cli-2.59.0}/tests/test_cli_project_create.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cloudos_cli
3
- Version: 2.57.0
3
+ Version: 2.59.0
4
4
  Summary: Python package for interacting with CloudOS
5
5
  Home-page: https://github.com/lifebit-ai/cloudos-cli
6
6
  Author: David Piñeyro
@@ -204,15 +204,7 @@ This will tell you the implemented commands. Each implemented command has its ow
204
204
  ```bash
205
205
  cloudos job list --help
206
206
  ```
207
- ```console
208
- CloudOS python package: a package for interacting with CloudOS.
209
-
210
- Version: 2.55.0
211
-
212
- CloudOS job functionality: run, check and abort jobs in CloudOS.
213
-
214
-
215
- Usage: cloudos job list [OPTIONS]
207
+ ```console Usage: cloudos job list [OPTIONS]
216
208
 
217
209
  Collect workspace jobs from a CloudOS workspace in CSV or JSON format.
218
210
 
@@ -249,6 +241,7 @@ CloudOS job functionality: run, check and abort jobs in CloudOS.
249
241
  │ --filter-queue TEXT Filter jobs by queue name. Only applies to jobs running │
250
242
  │ in batch environment. Non-batch jobs are preserved in │
251
243
  │ results. │
244
+ │ --filter-owner TEXT Filter jobs by owner username. │
252
245
  │ --verbose Whether to print information messages or not. │
253
246
  │ --disable-ssl-verification Disable SSL certificate verification. Please, remember │
254
247
  │ that this option is not generally recommended for │
@@ -926,6 +919,7 @@ You find specific jobs within your workspace using the listing filtering options
926
919
  - **`--filter-workflow`**: Filter jobs by workflow/pipeline name (exact match required)
927
920
  - **`--filter-job-id`**: Filter jobs by specific job ID (exact match required)
928
921
  - **`--filter-only-mine`**: Show only jobs belonging to the current user
922
+ - **`--filter-owner`**: Show only job for the specified owner (exact match required, i.e needs to be in quotes and be "Name Surname")
929
923
  - **`--filter-queue`**: Filter jobs by queue name (only applies to batch jobs)
930
924
 
931
925
  Here following are some examples:
@@ -1281,12 +1275,14 @@ cloudos datasets mkdir <new_folder_path> --profile my_profile
1281
1275
  Remove unnecessary files or empty folders from your File Explorer. Note that this removes files from CloudOS but not from underlying cloud storage.
1282
1276
 
1283
1277
  > [!NOTE]
1284
- > Files and folders can be removed from file explorer (in the `Data` datasets and its subfolders) and not from the corresponding cloud storage.
1278
+ > Files and folders can be removed in the `Data` datasets and its subfolders.
1285
1279
 
1286
1280
  ```bash
1287
1281
  cloudos datasets rm <path> --profile my_profile
1288
1282
  ```
1289
-
1283
+ > [!NOTE]
1284
+ > If a file was uploaded by the user, in order to be removed you must use `--force` and that will permanently remove the file. If the file is "linked" (e.g a s3 folder or file), removing it using `cloudos datasets rm` will not remove it from the the s3 bucket.
1285
+
1290
1286
  ---
1291
1287
 
1292
1288
  ### Procurement
@@ -169,15 +169,7 @@ This will tell you the implemented commands. Each implemented command has its ow
169
169
  ```bash
170
170
  cloudos job list --help
171
171
  ```
172
- ```console
173
- CloudOS python package: a package for interacting with CloudOS.
174
-
175
- Version: 2.55.0
176
-
177
- CloudOS job functionality: run, check and abort jobs in CloudOS.
178
-
179
-
180
- Usage: cloudos job list [OPTIONS]
172
+ ```console Usage: cloudos job list [OPTIONS]
181
173
 
182
174
  Collect workspace jobs from a CloudOS workspace in CSV or JSON format.
183
175
 
@@ -214,6 +206,7 @@ CloudOS job functionality: run, check and abort jobs in CloudOS.
214
206
  │ --filter-queue TEXT Filter jobs by queue name. Only applies to jobs running │
215
207
  │ in batch environment. Non-batch jobs are preserved in │
216
208
  │ results. │
209
+ │ --filter-owner TEXT Filter jobs by owner username. │
217
210
  │ --verbose Whether to print information messages or not. │
218
211
  │ --disable-ssl-verification Disable SSL certificate verification. Please, remember │
219
212
  │ that this option is not generally recommended for │
@@ -891,6 +884,7 @@ You find specific jobs within your workspace using the listing filtering options
891
884
  - **`--filter-workflow`**: Filter jobs by workflow/pipeline name (exact match required)
892
885
  - **`--filter-job-id`**: Filter jobs by specific job ID (exact match required)
893
886
  - **`--filter-only-mine`**: Show only jobs belonging to the current user
887
+ - **`--filter-owner`**: Show only job for the specified owner (exact match required, i.e needs to be in quotes and be "Name Surname")
894
888
  - **`--filter-queue`**: Filter jobs by queue name (only applies to batch jobs)
895
889
 
896
890
  Here following are some examples:
@@ -1246,12 +1240,14 @@ cloudos datasets mkdir <new_folder_path> --profile my_profile
1246
1240
  Remove unnecessary files or empty folders from your File Explorer. Note that this removes files from CloudOS but not from underlying cloud storage.
1247
1241
 
1248
1242
  > [!NOTE]
1249
- > Files and folders can be removed from file explorer (in the `Data` datasets and its subfolders) and not from the corresponding cloud storage.
1243
+ > Files and folders can be removed in the `Data` datasets and its subfolders.
1250
1244
 
1251
1245
  ```bash
1252
1246
  cloudos datasets rm <path> --profile my_profile
1253
1247
  ```
1254
-
1248
+ > [!NOTE]
1249
+ > If a file was uploaded by the user, in order to be removed you must use `--force` and that will permanently remove the file. If the file is "linked" (e.g a s3 folder or file), removing it using `cloudos datasets rm` will not remove it from the the s3 bucket.
1250
+
1255
1251
  ---
1256
1252
 
1257
1253
  ### Procurement