pyegeria 1.5.1.1.7__tar.gz → 1.5.1.1.9__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 (110) hide show
  1. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/PKG-INFO +1 -1
  2. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/glossary_actions.py +20 -5
  3. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/list_terms.py +16 -4
  4. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyproject.toml +1 -1
  5. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/LICENSE +0 -0
  6. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/README.md +0 -0
  7. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/README.md +0 -0
  8. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/__init__.py +0 -0
  9. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/get_asset_graph.py +0 -0
  10. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/get_collection.py +0 -0
  11. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/get_project_dependencies.py +0 -0
  12. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/get_project_structure.py +0 -0
  13. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/get_tech_type_elements.py +0 -0
  14. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/get_tech_type_template.py +0 -0
  15. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/list_archives.py +0 -0
  16. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/list_assets.py +0 -0
  17. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/list_cert_types.py +0 -0
  18. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/list_deployed_catalogs.py +0 -0
  19. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/list_deployed_database_schemas.py +0 -0
  20. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/list_deployed_databases.py +0 -0
  21. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/list_projects.py +0 -0
  22. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/list_relationships.py +0 -0
  23. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/list_tech_types.py +0 -0
  24. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/list_todos.py +0 -0
  25. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cat/list_user_ids.py +0 -0
  26. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cli/__init__.py +0 -0
  27. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cli/egeria.py +0 -0
  28. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cli/egeria_cat.py +0 -0
  29. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cli/egeria_my.py +0 -0
  30. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cli/egeria_ops.py +0 -0
  31. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cli/egeria_tech.py +0 -0
  32. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/cli/ops_config.py +0 -0
  33. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/my/README.md +0 -0
  34. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/my/__init__.py +0 -0
  35. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/my/list_my_profile.py +0 -0
  36. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/my/list_my_roles.py +0 -0
  37. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/my/monitor_my_todos.py +0 -0
  38. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/my/monitor_open_todos.py +0 -0
  39. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/my/todo_actions.py +0 -0
  40. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/ops/README.md +0 -0
  41. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/ops/__init__.py +0 -0
  42. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/ops/engine_actions.py +0 -0
  43. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/ops/gov_server_actions.py +0 -0
  44. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/ops/list_catalog_targets.py +0 -0
  45. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/ops/load_archive.py +0 -0
  46. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/ops/monitor_asset_events.py +0 -0
  47. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/ops/monitor_engine_activity.py +0 -0
  48. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/ops/monitor_engine_activity_c.py +0 -0
  49. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/ops/monitor_gov_eng_status.py +0 -0
  50. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/ops/monitor_integ_daemon_status.py +0 -0
  51. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/ops/monitor_platform_status.py +0 -0
  52. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/ops/monitor_server_startup.py +0 -0
  53. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/ops/monitor_server_status.py +0 -0
  54. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/ops/orig_monitor_server_list.py +0 -0
  55. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/ops/orig_monitor_server_status.py +0 -0
  56. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/ops/refresh_integration_daemon.py +0 -0
  57. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/ops/restart_integration_daemon.py +0 -0
  58. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/ops/table_integ_daemon_status.py +0 -0
  59. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/tech/README.md +0 -0
  60. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/tech/__init__.py +0 -0
  61. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/tech/get_element_graph.py +0 -0
  62. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/tech/get_element_info.py +0 -0
  63. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/tech/get_guid_info.py +0 -0
  64. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/tech/get_tech_details.py +0 -0
  65. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/tech/list_asset_types.py +0 -0
  66. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/tech/list_elements.py +0 -0
  67. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/tech/list_elements_for_classification.py +0 -0
  68. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/tech/list_elements_x.py +0 -0
  69. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/tech/list_gov_action_processes.py +0 -0
  70. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/tech/list_registered_services.py +0 -0
  71. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/tech/list_related_elements.py +0 -0
  72. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/tech/list_related_specification.py +0 -0
  73. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/tech/list_relationship_types.py +0 -0
  74. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/tech/list_tech_templates.py +0 -0
  75. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/tech/list_valid_metadata_values.py +0 -0
  76. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/tech/table_tech_templates.py +0 -0
  77. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/commands/tech/x_list_related_elements.py +0 -0
  78. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/README.md +0 -0
  79. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/__init__.py +0 -0
  80. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/_client.py +0 -0
  81. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/_deprecated_gov_engine.py +0 -0
  82. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/_exceptions.py +0 -0
  83. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/_globals.py +0 -0
  84. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/_validators.py +0 -0
  85. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/asset_catalog_omvs.py +0 -0
  86. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/automated_curation_omvs.py +0 -0
  87. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/classification_manager_omvs.py +0 -0
  88. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/collection_manager_omvs.py +0 -0
  89. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/core_omag_server_config.py +0 -0
  90. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/create_tech_guid_lists.py +0 -0
  91. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/egeria_cat_client.py +0 -0
  92. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/egeria_client.py +0 -0
  93. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/egeria_config_client.py +0 -0
  94. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/egeria_my_client.py +0 -0
  95. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/egeria_tech_client.py +0 -0
  96. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/feedback_manager_omvs.py +0 -0
  97. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/full_omag_server_config.py +0 -0
  98. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/glossary_browser_omvs.py +0 -0
  99. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/glossary_manager_omvs.py +0 -0
  100. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/mermaid_utilities.py +0 -0
  101. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/my_profile_omvs.py +0 -0
  102. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/platform_services.py +0 -0
  103. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/project_manager_omvs.py +0 -0
  104. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/registered_info.py +0 -0
  105. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/runtime_manager_omvs.py +0 -0
  106. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/server_operations.py +0 -0
  107. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/template_manager_omvs.py +0 -0
  108. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/utils.py +0 -0
  109. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/valid_metadata_omvs.py +0 -0
  110. {pyegeria-1.5.1.1.7 → pyegeria-1.5.1.1.9}/pyegeria/x_action_author_omvs.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 1.5.1.1.7
3
+ Version: 1.5.1.1.9
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://github.com/odpi/egeria-python
6
6
  License: Apache 2.0
@@ -113,7 +113,22 @@ def create_glossary(
113
113
  @click.option("--userid", default=EGERIA_USER, help="Egeria user")
114
114
  @click.option("--password", default=EGERIA_USER_PASSWORD, help="Egeria user password")
115
115
  @click.option("--timeout", default=60, help="Number of seconds to wait")
116
- def list_glossaries(search_string, server, url, userid, password, timeout):
116
+ @click.option(
117
+ "--jupyter",
118
+ is_flag=True,
119
+ default=False,
120
+ envvar="EGERIA_JUPYTER",
121
+ help="Enable for rendering in a Jupyter terminal",
122
+ )
123
+ @click.option(
124
+ "--width",
125
+ default=200,
126
+ envvar="EGERIA_WIDTH",
127
+ help="Screen width, in characters, to use",
128
+ )
129
+ def list_glossaries(
130
+ search_string, server, url, userid, password, timeout, jupyter, width
131
+ ):
117
132
  """List all glossaries"""
118
133
  m_client = EgeriaTech(server, url, user_id=userid, user_pwd=password)
119
134
  token = m_client.create_egeria_bearer_token()
@@ -151,8 +166,8 @@ def list_glossaries(search_string, server, url, userid, password, timeout):
151
166
  table.add_row(display_name, q_name, language, description, usage)
152
167
  console = Console(
153
168
  style="bold bright_white on black",
154
- width=EGERIA_WIDTH,
155
- force_terminal=not EGERIA_JUPYTER,
169
+ width=width,
170
+ force_terminal=not jupyter,
156
171
  )
157
172
  console.print(table)
158
173
 
@@ -284,9 +299,9 @@ def create_term(
284
299
  @click.option("--file-name", help="Path of CSV file", required=True)
285
300
  @click.option(
286
301
  "--verbose",
287
- type=bool,
302
+ is_flag=True,
288
303
  default=False,
289
- help="If true, result descriptions are provided",
304
+ help="If set, result descriptions are provided",
290
305
  )
291
306
  @click.option("--server", default=EGERIA_VIEW_SERVER, help="Egeria view server to use")
292
307
  @click.option(
@@ -72,11 +72,13 @@ def display_glossary_terms(
72
72
  expand=True,
73
73
  )
74
74
  table.add_column("Term Name")
75
- table.add_column("Qualified Name")
76
-
75
+ table.add_column("Qualified Name / GUID")
76
+ table.add_column("Glossary")
77
77
  table.add_column("Abbreviation")
78
78
  table.add_column("Summary")
79
79
  table.add_column("Description")
80
+ table.add_column("Version Id")
81
+ # table.add_column("Status")
80
82
 
81
83
  terms = g_client.find_glossary_terms(
82
84
  search_string,
@@ -103,17 +105,27 @@ def display_glossary_terms(
103
105
  return table
104
106
 
105
107
  display_name = Text(props["displayName"], style=style)
106
- qualified_name = Text(props["qualifiedName"], style=style)
108
+ qualified_name = props["qualifiedName"]
109
+ term_guid = term["elementHeader"]["guid"]
110
+ q_name = Text(f"{qualified_name}\n\t\t\t&\n{term_guid}", style=style)
107
111
  abbrev = Text(props.get("abbreviation", " "), style=style)
108
112
  summary = Text(props.get("summary", " "), style=style)
109
113
  description = Text(props.get("description", " "), style=style)
114
+ version = Text(props.get("publishVersionIdentifier", " "), style=style)
115
+
116
+ glossary_info = g_client.get_glossary_for_term(term_guid)
117
+
118
+ glossary_name = glossary_info["glossaryProperties"].get("displayName", " ")
110
119
 
111
120
  table.add_row(
112
121
  display_name,
113
- qualified_name,
122
+ q_name,
123
+ glossary_name,
114
124
  abbrev,
115
125
  summary,
116
126
  description,
127
+ version,
128
+ # status,
117
129
  style="bold white on black",
118
130
  )
119
131
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyegeria"
3
- version = "1.5.1.1.7"
3
+ version = "1.5.1.1.9"
4
4
  license = 'Apache 2.0'
5
5
  authors = ["Dan Wolfson <dan.wolfson@pdr-associates.com>"]
6
6
  readme = "README.md"
File without changes
File without changes