amapy-utils 1.0.1.dev0__tar.gz → 1.0.2__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.
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/PKG-INFO +1 -1
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/common/user_commands.py +9 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils.egg-info/PKG-INFO +1 -1
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/pyproject.toml +1 -1
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/README.md +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/__init__.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/common/__init__.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/common/better_set.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/common/class_property.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/common/exceptions.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/common/singleton.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/common/tests/__init__.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/common/tests/test_better_set.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/common/tests/test_class_property.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/common/tests/test_singleton.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/common/user_messages.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/__init__.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/aws_hash.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/cloud_utils.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/file_html_diff.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/file_tree.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/file_utils.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/in_memory_file.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/in_memory_zip.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/log_utils.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/pager.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/path_utils.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/progress.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/stat_utils.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/tests/__init__.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/tests/test_aws_hash.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/tests/test_cloud_utils.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/tests/test_file_tree.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/tests/test_file_utils.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/tests/test_in_memory_file.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/tests/test_log_utils.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/tests/test_path_utils.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/tests/test_progress.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/tests/test_utils.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/utils.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/utils/web_utils.py +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils.egg-info/SOURCES.txt +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils.egg-info/dependency_links.txt +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils.egg-info/requires.txt +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils.egg-info/top_level.txt +0 -0
- {amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: amapy-utils
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: A utility package that provides common functionality shared across the ama ecosystem.
|
|
5
5
|
Author-email: Swarup Mahanti <swarup.mahanti@roche.com>
|
|
6
6
|
Maintainer-email: Swarup Mahanti <swarup.mahanti@roche.com>
|
|
@@ -10,6 +10,7 @@ SET_USER = {"cmd": "asset auth set --user <username>",
|
|
|
10
10
|
"desc": "to set the user for asset (need to do this only once)"}
|
|
11
11
|
|
|
12
12
|
FETCH_ASSET = {"cmd": "asset fetch", "desc": "to refresh the asset metadata from remote"}
|
|
13
|
+
FETCH_ASSET_VERSIONS = {"cmd": "asset fetch --versions", "desc": "to refresh the asset versions from remote"}
|
|
13
14
|
|
|
14
15
|
LIST_CLASS_ASSETS = {"cmd": "asset list --class <class-name>", "desc": "to list all the assets in a class"}
|
|
15
16
|
FETCH_CLASS_ASSETS = {"cmd": "asset fetch --class <class-name>", "desc": "to refresh the assets from remote"}
|
|
@@ -91,6 +92,8 @@ SET_USER_CONFIGS = {"cmd": "asset config set --key <config_key> --value <config_
|
|
|
91
92
|
RESET_USER_CONFIGS = {"cmd": "asset config reset --key <config_key>",
|
|
92
93
|
"desc": "to reset any configuration to factory defaults"}
|
|
93
94
|
|
|
95
|
+
ASSET_JOIN = {"cmd": "asset join <server_url>", "desc": "to setup the server url"}
|
|
96
|
+
|
|
94
97
|
|
|
95
98
|
def formatted(command: dict, color):
|
|
96
99
|
return COMMAND_TEMPLATE.format(
|
|
@@ -115,6 +118,9 @@ class UserCommands:
|
|
|
115
118
|
def fetch_asset(self, color=COMMAND_COLOR):
|
|
116
119
|
return formatted(FETCH_ASSET, color=color)
|
|
117
120
|
|
|
121
|
+
def fetch_asset_versions(self, color=COMMAND_COLOR):
|
|
122
|
+
return formatted(FETCH_ASSET_VERSIONS, color=color)
|
|
123
|
+
|
|
118
124
|
def fetch_assets(self, color=COMMAND_COLOR):
|
|
119
125
|
return formatted(FETCH_CLASS_ASSETS, color)
|
|
120
126
|
|
|
@@ -271,3 +277,6 @@ class UserCommands:
|
|
|
271
277
|
|
|
272
278
|
def alias_info(self, color=COMMAND_COLOR):
|
|
273
279
|
return formatted(ALIAS_INFO, color)
|
|
280
|
+
|
|
281
|
+
def asset_join(self, color=COMMAND_COLOR):
|
|
282
|
+
return formatted(ASSET_JOIN, color)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: amapy-utils
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: A utility package that provides common functionality shared across the ama ecosystem.
|
|
5
5
|
Author-email: Swarup Mahanti <swarup.mahanti@roche.com>
|
|
6
6
|
Maintainer-email: Swarup Mahanti <swarup.mahanti@roche.com>
|
|
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
|
{amapy-utils-1.0.1.dev0 → amapy-utils-1.0.2}/amapy_utils/common/tests/test_class_property.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
|
|
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
|
|
File without changes
|