pyegeria 0.6__py3-none-any.whl → 0.6.2__py3-none-any.whl

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.
@@ -4,12 +4,13 @@
4
4
  # Catalog User
5
5
 
6
6
  These widgets display different kinds of information useful to a typical catalog user. Widgets
7
- will continue to be added over time to cover more facets of catalog use.
7
+ will continue to be added over time to cover more facets of catalog use.
8
8
 
9
9
  * list_assets.py - lists assets containing the user provided search string in the display name or qualified name. Search string must be a minimum of three characters.
10
10
  * view_asset_graph.py - shows a tree view of an asset with its nested elements and relationships.
11
11
  * view_collection.py - provides a tree view of a collection with all nested collections and items within the collection.
12
- * view_glossary.py - provides a simple glossary viewer showing terms and related information.
12
+ * view_glossary.py - provides a simple glossary viewer showing terms and related information.
13
+ * get_asset_graph.py - shows an asset with all its relationships as a tree graph.
13
14
  ----
14
15
  License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/),
15
16
  Copyright Contributors to the Egeria project.
@@ -61,7 +61,8 @@ def display_project_list(project_name: str, server: str, url: str,
61
61
  )
62
62
 
63
63
  table.add_column("Display Name")
64
- table.add_column("Project GUID", no_wrap=True, )
64
+ table.add_column("Description")
65
+
65
66
  table.add_column("Classifications")
66
67
  table.add_column("Qualified Name")
67
68
  table.add_column("Identifier")
@@ -70,7 +71,8 @@ def display_project_list(project_name: str, server: str, url: str,
70
71
  table.add_column("Status")
71
72
  table.add_column("Start Date")
72
73
  table.add_column("End Date")
73
- table.add_column("Description")
74
+ table.add_column("Contracts")
75
+
74
76
 
75
77
  projects = p_client.find_projects(project_name)
76
78
 
@@ -97,21 +99,21 @@ def display_project_list(project_name: str, server: str, url: str,
97
99
  p_class = project['elementHeader'].get("classifications")
98
100
  if p_class:
99
101
  for classif in p_class:
100
- classification += f"{classif.get('classificationName')}"
102
+ classification += f"* {classif.get('classificationName')}\n"
101
103
  qualified_name = props.get("qualifiedName", " ")
102
104
  identifier = props.get("identifier", " ")
103
105
  phase = props.get("projectPhase", " ")
104
106
  health = props.get("projectHealth", " ")
105
107
  status = props.get("projectStatus", " ")
106
108
  description = props.get("description", " ")
107
- start = props.get("startDate", " ")
109
+ start = props.get("startDate", " ")[0:10]
108
110
  end = props.get("plannedEndDate", " ")
109
111
  additional_properties = project.get('additionalProperties')
110
112
  if additional_properties is not None:
111
113
  props = json.dumps(additional_properties)
112
114
  table.add_row(
113
- name, guid, classification, qualified_name, identifier, phase, health, status, start,
114
- end, description)
115
+ name, description, classification, qualified_name, identifier, phase, health, status, start,
116
+ end, '---')
115
117
 
116
118
  p_client.close_session()
117
119
  return table
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 0.6
3
+ Version: 0.6.2
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://github.com/odpi/egeria-python
6
6
  License: Apache 2.0
@@ -1,6 +1,6 @@
1
1
  examples/doc_samples/Create_Collection_Sample.py,sha256=D8nhc4qLXIzAqVdJQjmFIS-jL6FzmYCMZyEviXnUbvg,11874
2
2
  examples/doc_samples/Create_Sustainability_Collection_Sample.py,sha256=iLBm1LwRLi42Gayyb-wcWZ5NySQ6sc4kVSmwIAzP2Po,5049
3
- examples/widgets/catalog_user/README.md,sha256=aCCVo7iqyE-XGEvmoYXnkIGM0VskF95JTj6Egzec7LM,883
3
+ examples/widgets/catalog_user/README.md,sha256=-aaAnIT2fcfU63vajgB-RzQk4l4yFdhkyVfSaTPiqRY,967
4
4
  examples/widgets/catalog_user/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  examples/widgets/catalog_user/get_asset_graph.py,sha256=Q23n_svJBii58hgaMPLpliN8wqKl4yhnhCCk2IU2nvM,11168
6
6
  examples/widgets/catalog_user/get_collection.py,sha256=DBZ5-XkoYsz4WmMSPz0Ao0wz3DlAUQve89KI26-44nc,4613
@@ -8,7 +8,7 @@ examples/widgets/catalog_user/get_tech_type_elements.py,sha256=SvnDWfBIA1NzpkKZj
8
8
  examples/widgets/catalog_user/get_tech_type_template.py,sha256=gMFVcgCIm09GQu1Vsc5ZUVH9XLhItAG1eVGZJrcnHeQ,6174
9
9
  examples/widgets/catalog_user/list_assets.py,sha256=imVun2GB3zoEjaQxKJVGcalI7yZv5Dg_ksb7tYCIVLE,6476
10
10
  examples/widgets/catalog_user/list_glossary.py,sha256=zljSzVKYysFZVmVhHJt0fYFDmAG9azIphOs4MOIfA7g,5395
11
- examples/widgets/catalog_user/list_projects.py,sha256=RpxPj68X7yPl046xTuGRhl8EwUk_lFMW_BCbX7aJ2hA,6513
11
+ examples/widgets/catalog_user/list_projects.py,sha256=PoXNBbDQ2KmPQG03z7cOykCJIYj3-6hJA0Rv9f8Bq84,6507
12
12
  examples/widgets/catalog_user/list_tech_types.py,sha256=20T4v6L5qeebSsaL1nGkFMDAIsy2W3A3SMm1RcgFoh0,4609
13
13
  examples/widgets/catalog_user/list_todos.py,sha256=wD9HevGcc4G_bxV25VUz1rRssdZHE33mF5zmJ6Lprt8,5522
14
14
  examples/widgets/cli/__init__.py,sha256=ReG7mIcm5c512S_z1UZIpMtE67zlO_zj-1HhHWYS4fI,30
@@ -75,8 +75,8 @@ pyegeria/runtime_manager_omvs.py,sha256=oSVFeG_yBGXIvQR0EClLZqTZ6C5z5ReZzwm8cce8
75
75
  pyegeria/server_operations.py,sha256=ZX7FlJRrAC7RK4bq4wHWepEsYbbWlqkUZdsJrTplVVU,16534
76
76
  pyegeria/utils.py,sha256=pkVmS3RrbjaS9yz7FtOCwaOfV5FMqz-__Rt5koCnd9c,5374
77
77
  pyegeria/valid_metadata_omvs.py,sha256=aisdRodIwJSkyArAzfm_sEnBELh69xE8k4Nea-vHu8M,36745
78
- pyegeria-0.6.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
79
- pyegeria-0.6.dist-info/METADATA,sha256=MWU5vpm2MsvAEuflwhDoXgqiJxMQefacq6tYuZIwcNA,2684
80
- pyegeria-0.6.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
81
- pyegeria-0.6.dist-info/entry_points.txt,sha256=j1oliLpkHsBWthLvi5-yhbvvWWzQXp-P9Cq5LVcIGBM,2822
82
- pyegeria-0.6.dist-info/RECORD,,
78
+ pyegeria-0.6.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
79
+ pyegeria-0.6.2.dist-info/METADATA,sha256=6LqLLZamte2ntj-7eo5bcWdTc6W_2UbsqbheSASfWJY,2686
80
+ pyegeria-0.6.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
81
+ pyegeria-0.6.2.dist-info/entry_points.txt,sha256=eFuCDIFhsa89FdYJZrSNdz4jq1ZYr9Ba4yCsCytagks,2826
82
+ pyegeria-0.6.2.dist-info/RECORD,,
@@ -1,5 +1,4 @@
1
1
  [console_scripts]
2
- egeria=examples.widgets.cli.egeria:cli
3
2
  egeria_cat=examples.widgets.cli.egeria_cat:cli
4
3
  egeria_ops=examples.widgets.cli.egeria_ops:cli
5
4
  egeria_per=examples.widgets.cli.egeria_per:cli
@@ -10,6 +9,7 @@ get_guid_info=examples.widgets.tech.get_guid_info:main
10
9
  get_tech_details=examples.widgets.tech.get_tech_details:main
11
10
  get_tech_type_elements=examples.widgets.catalog_user.get_tech_type_elements:main
12
11
  get_tech_type_template=examples.widgets.catalog_user.get_tech_type_template:main
12
+ hey_egeria=examples.widgets.cli.egeria:cli
13
13
  list_asset_types=examples.widgets.tech.list_asset_types:main
14
14
  list_assets=examples.widgets.catalog_user.list_assets:main
15
15
  list_catalog_targets=examples.widgets.operational.list_catalog_targets:main