yellowdog-python-examples 7.17.3__tar.gz → 7.17.4__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.
- {yellowdog_python_examples-7.17.3/yellowdog_python_examples.egg-info → yellowdog_python_examples-7.17.4}/PKG-INFO +2 -2
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/requirements.txt +1 -1
- yellowdog_python_examples-7.17.4/yellowdog_cli/__init__.py +1 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/compare.py +4 -3
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/printing.py +3 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4/yellowdog_python_examples.egg-info}/PKG-INFO +2 -2
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_python_examples.egg-info/requires.txt +1 -1
- yellowdog_python_examples-7.17.3/yellowdog_cli/__init__.py +0 -1
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/LICENSE +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/PYPI_README.md +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/README.md +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/pyproject.toml +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/setup.cfg +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/tests/test_create_remove.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/tests/test_demos.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/tests/test_dryruns.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/tests/test_entrypoints.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/tests/test_gui.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/tests/test_list.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/tests/test_objects.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/tests/test_variable_processing.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/abort.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/admin.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/boost.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/cancel.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/cloudwizard.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/create.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/delete.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/download.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/follow.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/format_json.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/hold.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/instantiate.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/jsonnet2json.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/list.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/provision.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/remove.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/resize.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/show.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/shutdown.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/start.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/submit.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/terminate.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/upload.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/__init__.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/args.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/check_imports.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/cloudwizard_aws.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/cloudwizard_aws_types.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/cloudwizard_azure.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/cloudwizard_common.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/cloudwizard_gcp.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/compact_json.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/config_types.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/csv_data.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/entity_utils.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/follow_utils.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/interactive.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/items.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/load_config.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/load_resources.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/misc_utils.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/property_names.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/provision_utils.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/rich_console_input_fixed.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/settings.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/start_hold_common.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/submit_utils.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/type_check.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/upload_utils.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/validate_properties.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/variables.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/wrapper.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/ydid_utils.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/version.py +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_python_examples.egg-info/SOURCES.txt +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_python_examples.egg-info/dependency_links.txt +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_python_examples.egg-info/entry_points.txt +0 -0
- {yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_python_examples.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: yellowdog-python-examples
|
|
3
|
-
Version: 7.17.
|
|
3
|
+
Version: 7.17.4
|
|
4
4
|
Summary: Python CLI commands using the YellowDog Python SDK
|
|
5
5
|
Author-email: YellowDog Limited <support@yellowdog.co>
|
|
6
6
|
Project-URL: Homepage, https://github.com/yellowdog/python-examples
|
|
@@ -19,7 +19,7 @@ Requires-Dist: requests
|
|
|
19
19
|
Requires-Dist: rich==13.9.4
|
|
20
20
|
Requires-Dist: tabulate>=0.9.0
|
|
21
21
|
Requires-Dist: toml
|
|
22
|
-
Requires-Dist: yellowdog-sdk>=9.2.
|
|
22
|
+
Requires-Dist: yellowdog-sdk>=9.2.1
|
|
23
23
|
Provides-Extra: jsonnet
|
|
24
24
|
Requires-Dist: jsonnet; extra == "jsonnet"
|
|
25
25
|
Provides-Extra: cloudwizard
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "7.17.4"
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/compare.py
RENAMED
|
@@ -31,6 +31,7 @@ from yellowdog_cli.utils.wrapper import ARGS_PARSER, CLIENT, main_wrapper
|
|
|
31
31
|
from yellowdog_cli.utils.ydid_utils import YDIDType, get_ydid_type
|
|
32
32
|
|
|
33
33
|
NONE_STRING = "NONE"
|
|
34
|
+
EMPTY_STRING = ""
|
|
34
35
|
UNKNOWN_STRING = "NOT YET KNOWN"
|
|
35
36
|
|
|
36
37
|
|
|
@@ -211,7 +212,7 @@ class WorkerPools:
|
|
|
211
212
|
return PropertyMatch(
|
|
212
213
|
property_name="Worker Tag(s)",
|
|
213
214
|
task_group_values=(
|
|
214
|
-
|
|
215
|
+
EMPTY_STRING
|
|
215
216
|
if task_group.runSpecification.workerTags is None
|
|
216
217
|
else ", ".join(task_group.runSpecification.workerTags)
|
|
217
218
|
),
|
|
@@ -478,7 +479,7 @@ class WorkerPools:
|
|
|
478
479
|
return PropertyMatch(
|
|
479
480
|
property_name="RAM (GB)",
|
|
480
481
|
task_group_values=(
|
|
481
|
-
|
|
482
|
+
EMPTY_STRING
|
|
482
483
|
if task_group.runSpecification.ram is None
|
|
483
484
|
else self._doublerange_str(task_group.runSpecification.ram)
|
|
484
485
|
),
|
|
@@ -519,7 +520,7 @@ class WorkerPools:
|
|
|
519
520
|
return PropertyMatch(
|
|
520
521
|
property_name="vCPUs Count",
|
|
521
522
|
task_group_values=(
|
|
522
|
-
|
|
523
|
+
EMPTY_STRING
|
|
523
524
|
if task_group.runSpecification.vcpus is None
|
|
524
525
|
else self._doublerange_str(task_group.runSpecification.vcpus)
|
|
525
526
|
),
|
|
@@ -997,6 +997,9 @@ def sorted_objects(
|
|
|
997
997
|
except TypeError:
|
|
998
998
|
return objects
|
|
999
999
|
|
|
1000
|
+
if isinstance(objects[0], Task): # Sort tasks by their task number
|
|
1001
|
+
return sorted(objects, key=lambda x: int(x.id.split(":")[-1]), reverse=reverse)
|
|
1002
|
+
|
|
1000
1003
|
try:
|
|
1001
1004
|
return sorted(objects, key=lambda x: x.name, reverse=reverse)
|
|
1002
1005
|
except:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: yellowdog-python-examples
|
|
3
|
-
Version: 7.17.
|
|
3
|
+
Version: 7.17.4
|
|
4
4
|
Summary: Python CLI commands using the YellowDog Python SDK
|
|
5
5
|
Author-email: YellowDog Limited <support@yellowdog.co>
|
|
6
6
|
Project-URL: Homepage, https://github.com/yellowdog/python-examples
|
|
@@ -19,7 +19,7 @@ Requires-Dist: requests
|
|
|
19
19
|
Requires-Dist: rich==13.9.4
|
|
20
20
|
Requires-Dist: tabulate>=0.9.0
|
|
21
21
|
Requires-Dist: toml
|
|
22
|
-
Requires-Dist: yellowdog-sdk>=9.2.
|
|
22
|
+
Requires-Dist: yellowdog-sdk>=9.2.1
|
|
23
23
|
Provides-Extra: jsonnet
|
|
24
24
|
Requires-Dist: jsonnet; extra == "jsonnet"
|
|
25
25
|
Provides-Extra: cloudwizard
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "7.17.3"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/tests/test_create_remove.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/tests/test_entrypoints.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/abort.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/admin.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/boost.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/cancel.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/cloudwizard.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/create.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/delete.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/download.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/follow.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/format_json.py
RENAMED
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/instantiate.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/jsonnet2json.py
RENAMED
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/provision.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/remove.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/resize.py
RENAMED
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/shutdown.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/start.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/submit.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/terminate.py
RENAMED
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/upload.py
RENAMED
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/args.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
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/items.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
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/utils/wrapper.py
RENAMED
|
File without changes
|
|
File without changes
|
{yellowdog_python_examples-7.17.3 → yellowdog_python_examples-7.17.4}/yellowdog_cli/version.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|