pyegeria 5.4.4.8__py3-none-any.whl → 5.4.6__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.
Files changed (211) hide show
  1. commands/cat/dr_egeria_command_help.py +0 -0
  2. commands/cat/exp_list_glossaries.py +0 -0
  3. commands/cat/get_collection.py +0 -0
  4. commands/cat/get_project_dependencies.py +0 -0
  5. commands/cat/get_project_structure.py +0 -0
  6. commands/cat/list_assets.py +0 -0
  7. commands/cat/list_cert_types.py +0 -0
  8. commands/cat/list_collections.py +0 -0
  9. commands/cat/list_data_designer.py +0 -0
  10. commands/cat/list_data_structures_full.py +0 -0
  11. commands/cat/list_deployed_servers.py +0 -0
  12. commands/cat/list_glossaries.py +0 -0
  13. commands/cat/list_projects.py +0 -0
  14. commands/cat/list_tech_types.py +0 -0
  15. commands/cat/list_terms.py +0 -0
  16. commands/cat/list_todos.py +0 -0
  17. commands/cli/egeria.py +0 -0
  18. commands/my/list_my_profile.py +0 -0
  19. commands/my/list_my_roles.py +0 -0
  20. commands/my/monitor_my_todos.py +0 -0
  21. commands/my/monitor_open_todos.py +0 -0
  22. commands/ops/list_archives.py +0 -0
  23. commands/ops/list_catalog_targets.py +0 -0
  24. commands/ops/monitor_asset_events.py +0 -0
  25. commands/ops/monitor_engine_activity.py +0 -0
  26. commands/ops/monitor_engine_activity_c.py +0 -0
  27. commands/ops/monitor_gov_eng_status.py +0 -0
  28. commands/ops/monitor_integ_daemon_status.py +0 -0
  29. commands/ops/monitor_platform_status.py +0 -0
  30. commands/ops/monitor_server_startup.py +0 -0
  31. commands/ops/monitor_server_status.py +0 -0
  32. commands/ops/orig_monitor_server_list.py +0 -0
  33. commands/ops/orig_monitor_server_status.py +0 -0
  34. commands/ops/table_integ_daemon_status.py +0 -0
  35. commands/tech/get_guid_info.py +0 -0
  36. commands/tech/get_tech_details.py +0 -0
  37. commands/tech/list_anchored_elements.py +0 -0
  38. commands/tech/list_asset_types.py +0 -0
  39. commands/tech/list_gov_action_processes.py +0 -0
  40. commands/tech/list_information_supply_chains.py +0 -0
  41. commands/tech/list_registered_services.py +0 -0
  42. commands/tech/list_relationship_types.py +0 -0
  43. commands/tech/list_relationships.py +0 -0
  44. commands/tech/list_solution_blueprints.py +0 -0
  45. commands/tech/list_solution_components.py +0 -0
  46. commands/tech/list_solution_roles.py +0 -0
  47. commands/tech/list_valid_metadata_values.py +0 -0
  48. md_processing/__init__.py +2 -0
  49. md_processing/dr_egeria.py +7 -4
  50. md_processing/md_commands/data_designer_commands.py +8 -3
  51. md_processing/md_commands/product_manager_commands.py +115 -12
  52. md_processing/md_commands/view_commands.py +3 -0
  53. md_processing/md_processing_utils/md_processing_constants.py +2 -1
  54. pyegeria/__init__.py +1 -0
  55. pyegeria/_client_new.py +1 -1
  56. pyegeria/_output_formats.py +50 -8
  57. pyegeria/automated_curation.py +122 -15
  58. pyegeria/collection_manager.py +28 -2
  59. pyegeria/data_designer.py +3 -3
  60. pyegeria/format_set_executor.py +159 -0
  61. pyegeria/mcp_adapter.py +110 -0
  62. pyegeria/mcp_server.py +176 -0
  63. pyegeria/project_manager.py +1 -1
  64. pyegeria/reference_data.py +1 -1
  65. pyegeria/x_action_author_omvs.py +1 -1
  66. {pyegeria-5.4.4.8.dist-info → pyegeria-5.4.6.dist-info}/METADATA +26 -29
  67. pyegeria-5.4.6.dist-info/RECORD +174 -0
  68. {pyegeria-5.4.4.8.dist-info → pyegeria-5.4.6.dist-info}/WHEEL +2 -1
  69. pyegeria-5.4.6.dist-info/entry_points.txt +105 -0
  70. pyegeria-5.4.6.dist-info/top_level.txt +3 -0
  71. commands/README.md +0 -47
  72. commands/cat/README.md +0 -16
  73. commands/cat/debug_log.2025-09-14_11-03-29_316193.log.zip +0 -0
  74. commands/cat/debug_log.2025-09-15_19-06-37_086464.log.zip +0 -0
  75. commands/cat/debug_log.2025-09-20_11-10-54_418109.log.zip +0 -0
  76. commands/cli/debug_log +0 -0
  77. commands/cli/txt_custom_v2.tcss +0 -19
  78. commands/doc/README.md +0 -145
  79. commands/doc/Visual Command Reference/README.md +0 -511
  80. commands/doc/Visual Command Reference/cat/show/assets/asset-graph 2024-11-20 at 15.56.42.png +0 -0
  81. commands/doc/Visual Command Reference/cat/show/assets/assets-in-domain 2024-11-20 at 15.49.55@2x.png +0 -0
  82. commands/doc/Visual Command Reference/cat/show/assets/elements-of-type 2024-11-20 at 16.01.35.png +0 -0
  83. commands/doc/Visual Command Reference/cat/show/assets/tech-type-elements 2024-11-20 at 16.05.05.png +0 -0
  84. commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-data-catalogs 2024-12-17 at 15.43.27@2x.png +0 -0
  85. commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-data-catalogs-2024-11-20 at 16.17.43@2x.png +0 -0
  86. commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-schemas 2024-11-25 at 20.14.50@2x.png +0 -0
  87. commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-schemas 2024-12-17 at 15.48.38@2x.png +0 -0
  88. commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-servers 2024-11-25 at 20.21.25@2x.png +0 -0
  89. commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-servers 2024-12-17 at 15.52.16@2x.png +0 -0
  90. commands/doc/Visual Command Reference/cat/show/deployed-data/deployed_databases 2024-12-16 at 16.40.31@2x.png +0 -0
  91. commands/doc/Visual Command Reference/cat/show/glossary/list-glossaries 2024-11-25 at 20.30.02.png +0 -0
  92. commands/doc/Visual Command Reference/cat/show/glossary/list-terms 2024-11-25 at 20.32.11.png +0 -0
  93. commands/doc/Visual Command Reference/cat/show/info/asset-types 2024-11-25 at 20.34.19@2x.png +0 -0
  94. commands/doc/Visual Command Reference/cat/show/info/certification-types 2024-11-25 at 20.37.07.png +0 -0
  95. commands/doc/Visual Command Reference/cat/show/info/collection-graph 2024-12-12 at 11.33.18@2x.png +0 -0
  96. commands/doc/Visual Command Reference/cat/show/info/list-collections 2024-12-10 at 14.25.51@2x.png +0 -0
  97. commands/doc/Visual Command Reference/cat/show/info/list-todos 2024-12-12 at 11.46.30@2x.png +0 -0
  98. commands/doc/Visual Command Reference/cat/show/info/list-user-ids 2024-12-12 at 11.51.09@2x.png +0 -0
  99. commands/doc/Visual Command Reference/cat/show/info/tech-types 2024-12-12 at 11.37.20@2x.png +0 -0
  100. commands/doc/Visual Command Reference/cat/show/projects/project_dependencies 2024-12-14 at 16.24.39@2x.png +0 -0
  101. commands/doc/Visual Command Reference/cat/show/projects/project_structure 2024-12-14 at 16.21.35@2x.png +0 -0
  102. commands/doc/Visual Command Reference/cat/show/projects/projects 2024-12-14 at 16.18.10@2x.png +0 -0
  103. commands/doc/Visual Command Reference/hey_egeria tui 2024-12-16 at 16.58.22@2x.png +0 -0
  104. commands/doc/Visual Command Reference/my/show/my_profile 2024-12-14 at 16.29.27@2x.png +0 -0
  105. commands/doc/Visual Command Reference/my/show/my_roles 2024-12-14 at 16.32.10@2x.png +0 -0
  106. commands/doc/Visual Command Reference/my/show/my_todos 2024-12-15 at 16.24.13@2x.png +0 -0
  107. commands/doc/Visual Command Reference/my/show/open_todos 2024-12-14 at 16.36.12@2x.png +0 -0
  108. commands/doc/Visual Command Reference/ops/show/engines/list_engine_activity compressed 2024-12-15 at 16.48.48@2x.png +0 -0
  109. commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_activity 2024-12-15 at 16.32.55@2x.png +0 -0
  110. commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_activity compressed 2024-12-15 at 16.38.29@2x.png +0 -0
  111. commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_status 2024-12-15 at 16.51.26.jpeg +0 -0
  112. commands/doc/Visual Command Reference/ops/show/integrations/monitor_integration_daemon_status 2024-12-15 at 16.57.12@2x.png +0 -0
  113. commands/doc/Visual Command Reference/ops/show/integrations/monitor_integration_targets 2024-12-15 at 17.02.19@2x.png +0 -0
  114. commands/doc/Visual Command Reference/ops/show/platforms/monitor_platform_status 2024-12-15 at 19.53.18@2x.png +0 -0
  115. commands/doc/Visual Command Reference/ops/show/servers/monitor_server_status 2024-12-15 at 19.59.39@2x.png +0 -0
  116. commands/doc/Visual Command Reference/ops/show/servers/monitor_server_status full 2024-12-15 at 20.01.57@2x.png +0 -0
  117. commands/doc/Visual Command Reference/ops/show/servers/monitor_startup_servers 2024-12-15 at 19.56.07@2x.png +0 -0
  118. commands/doc/Visual Command Reference/tech/show/elements/get_anchored_elements 2024-12-15 at 21.25.41@2x.png +0 -0
  119. commands/doc/Visual Command Reference/tech/show/elements/get_elements_of_om_type 2024-12-16 at 14.39.59@2x.png +0 -0
  120. commands/doc/Visual Command Reference/tech/show/elements/info_for_guid 2024-12-16 at 11.35.29@2x.png +0 -0
  121. commands/doc/Visual Command Reference/tech/show/elements/list_elements_by_om-type 2024-12-16 at 14.24.18@2x.png +0 -0
  122. commands/doc/Visual Command Reference/tech/show/elements/list_elements_by_om-type extended 2024-12-16 at 14.28.46@2x.png +0 -0
  123. commands/doc/Visual Command Reference/tech/show/elements/list_elements_of_om_type_by_classification 2024-12-16 at 14.35.26@2x.png +0 -0
  124. commands/doc/Visual Command Reference/tech/show/elements/related_elements 2024-12-16 at 14.55.01@2x.png +0 -0
  125. commands/doc/Visual Command Reference/tech/show/elements/show_related_specifications 2024-12-16 at 15.04.55@2x.png +0 -0
  126. commands/doc/Visual Command Reference/tech/show/tech-info/asset_types 2024-12-16 at 15.10.16@2x.png +0 -0
  127. commands/doc/Visual Command Reference/tech/show/tech-info/detailed_governance_action_processes 2024-12-16 at 15.16.26@2x.png +0 -0
  128. commands/doc/Visual Command Reference/tech/show/tech-info/governance_action_processes 2024-12-16 at 15.13.01@2x.png +0 -0
  129. commands/doc/Visual Command Reference/tech/show/tech-info/registered_services 2024-12-16 at 16.44.54@2x.png +0 -0
  130. commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-16 at 16.20.34@2x.png +0 -0
  131. commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-19 at 10.51.54@2x.png +0 -0
  132. commands/doc/Visual Command Reference/tech/show/tech-info/valid_metadata_values 2024-12-16 at 15.31.56@2x.png +0 -0
  133. commands/doc/Visual Command Reference/tech/show/tech-types/list_tech_type_template_specs 2024-12-16 at 16.03.22@2x.png +0 -0
  134. commands/doc/Visual Command Reference/tech/show/tech-types/list_technology_types 2024-12-16 at 15.39.20@2x.png +0 -0
  135. commands/doc/Visual Command Reference/tech/show/tech-types/tech_type_details 2024-12-16 at 15.37.21@2x.png +0 -0
  136. commands/doc/Visual Command Reference/tech/show/tech-types/tech_type_templates 2024-12-16 at 16.11.48@2x.png +0 -0
  137. commands/doc/glossary/basic-glossary-tui.md +0 -109
  138. commands/doc/glossary/images/delete-glossary-step1 2024-11-06 at 15.47.23@2x.png +0 -0
  139. commands/doc/glossary/images/delete-glossary-step2 2024-11-06 at 15.51.29@2x.png +0 -0
  140. commands/doc/glossary/images/delete-glossary-step3 2024-11-06 at 15.53.19@2x.png +0 -0
  141. commands/doc/glossary/images/delete-glossary-step4 2024-11-06 at 15.55.11@2x.png +0 -0
  142. commands/doc/glossary/images/out-create-glossary example 2024-11-05 at 20.38.04@2x.png +0 -0
  143. commands/doc/glossary/images/out-create-term 2024-11-06 at 20.48.29.png +0 -0
  144. commands/doc/glossary/images/out-delete-term 2024-11-07 at 03.57.25.png +0 -0
  145. commands/doc/glossary/images/out-display-terms-for-glossary-test 2024-11-06 at 20.51.28.png +0 -0
  146. commands/doc/glossary/images/out-export-example 2024-11-07 at 09.54.57.png +0 -0
  147. commands/doc/glossary/images/out-exported-terms 2024-11-06 at 21.06.32.png +0 -0
  148. commands/doc/glossary/images/out-glossary-list example 2024-11-05 at 20.41.02@2x.png +0 -0
  149. commands/doc/glossary/images/out-import-terms 2024-11-07 at 08.15.18.png +0 -0
  150. commands/doc/glossary/images/out-list-all-terms 2024-11-06 at 16.22.20@2x.png +0 -0
  151. commands/doc/glossary/images/out-list-terms-for-example 2024-11-06 at 16.40.12.png +0 -0
  152. commands/doc/glossary/images/out-list-terms-second 2024-11-06 at 16.45.13.png +0 -0
  153. commands/doc/glossary/images/out-pipx install pyegeria 2024-11-10 at 18.12.21.png +0 -0
  154. commands/doc/glossary/images/out-server-status-full 2024-11-10 at 18.25.14.png +0 -0
  155. commands/doc/glossary/images/out-servers-status 2024-11-10 at 18.15.42.png +0 -0
  156. commands/doc/glossary/images/out-upsert-import 2024-11-07 at 19.37.00.png +0 -0
  157. commands/doc/glossary/images/tui-2024-11-10 at 18.26.29.png +0 -0
  158. commands/doc/glossary/images/tui-create-glossary example 2024-11-05 at 20.34.24@2x.png +0 -0
  159. commands/doc/glossary/images/tui-create-term 2024-11-06 at 20.46.35.png +0 -0
  160. commands/doc/glossary/images/tui-delete-term 2024-11-07 at 03.51.57.png +0 -0
  161. commands/doc/glossary/images/tui-display-terms-for-example 2024-11-06 at 20.56.49.png +0 -0
  162. commands/doc/glossary/images/tui-export-example 2024-11-07 at 09.52.59.png +0 -0
  163. commands/doc/glossary/images/tui-hey-egeria 2024-11-10 at 18.31.01.png +0 -0
  164. commands/doc/glossary/images/tui-import-upsert-example 2024-11-07 at 10.08.37.png +0 -0
  165. commands/doc/glossary/images/tui-list-terms-second 2024-11-06 at 16.46.34.png +0 -0
  166. commands/doc/glossary/images/tui-load-archive.png +0 -0
  167. commands/doc/glossary/images/tui-server-status-full 2024-11-10 at 19.14.36.png +0 -0
  168. commands/doc/glossary/images/tui-show-glossaries 2024-11-07 at 20.00.05.png +0 -0
  169. commands/doc/glossary/images/tui-show-glossary-terms 2024-11-05 at 19.37.53@2x.png +0 -0
  170. commands/doc/glossary/images/tui-upsert 2024-11-07 at 11.49.04.png +0 -0
  171. commands/doc/glossary/images/upsert-example.om-terms 2024-11-07 at 11.44.05.png +0 -0
  172. commands/doc/hey_egeria: a pyegeria command line interface/README.md +0 -346
  173. commands/doc/hey_egeria: a pyegeria command line interface/images/CleanShot 2024-11-18 at 21.32.03@2x.png +0 -0
  174. commands/doc/hey_egeria: a pyegeria command line interface/images/Xmind 1731421782704.png +0 -0
  175. commands/doc/hey_egeria: a pyegeria command line interface/images/Xmind 1731422134920.png +0 -0
  176. commands/doc/hey_egeria: a pyegeria command line interface/images/hey_egeria 2024-11-12 at 20.38.43.png +0 -0
  177. commands/doc/hey_egeria: a pyegeria command line interface/images/hey_egeria cat 2024-11-12 at 21.41.43.png +0 -0
  178. commands/doc/hey_egeria: a pyegeria command line interface/images/out-integ-status-list 2024-11-12 at 16.45.26.png +0 -0
  179. commands/doc/hey_egeria: a pyegeria command line interface/images/out-integ-status-live 2024-11-12 at 16.44.12@2x.png +0 -0
  180. commands/doc/hey_egeria: a pyegeria command line interface/images/out-server-status 2024-11-10 at 18.15.42@2x.png +0 -0
  181. commands/doc/hey_egeria: a pyegeria command line interface/images/out-server-status-full 2024-11-10 at 18.25.14@2x.png +0 -0
  182. commands/doc/hey_egeria: a pyegeria command line interface/images/short-cut commands 2024-11-12 at 22.22.13.png +0 -0
  183. commands/doc/hey_egeria: a pyegeria command line interface/images/tui-hey-egeria.png +0 -0
  184. commands/doc/hey_egeria: a pyegeria command line interface/images/tui-integration-status-paging.png +0 -0
  185. commands/doc/hey_egeria: a pyegeria command line interface/images/tui-load-archive 2024-11-10 at 19.19.09@2x.png +0 -0
  186. commands/doc/hey_egeria: a pyegeria command line interface/images/tui-show-server-status 2024-11-10 at 18.52.01@2x.png +0 -0
  187. commands/doc/hey_egeria: a pyegeria command line interface/images/tui-show-server-status-full 2024-11-10.png +0 -0
  188. commands/doc/hey_egeria: a pyegeria command line interface/images/tui-status-paging 2024-11-12 at 16.26.14@2x.png +0 -0
  189. commands/my/README.md +0 -17
  190. commands/ops/README.md +0 -24
  191. commands/tech/README.md +0 -24
  192. md_processing/.obsidian/app.json +0 -1
  193. md_processing/.obsidian/appearance.json +0 -1
  194. md_processing/.obsidian/community-plugins.json +0 -1
  195. md_processing/.obsidian/core-plugins.json +0 -33
  196. md_processing/.obsidian/workspace.json +0 -167
  197. md_processing/data/commands-working.json +0 -34850
  198. md_processing/data/commands.json +0 -51697
  199. md_processing/data/generated_format_sets.json +0 -4137
  200. md_processing/dr-egeria-outbox/DataStruct-DrE-2025-09-19-22-35-57.md +0 -46
  201. md_processing/dr-egeria-outbox/Digital Products-2025-09-21-16-52-50.md +0 -51
  202. md_processing/dr-egeria-outbox/Digital-Product-Catalog-2025-09-21-16-55-19.md +0 -77
  203. md_processing/dr_egeria_inbox/glossary_creation_experiment.ipynb +0 -341
  204. md_processing/md_processing_utils/debug_log +0 -84
  205. md_processing/md_processing_utils/dr-egeria-help-2025-09-09T11:10:03.md +0 -3305
  206. md_processing/md_processing_utils/dr-egeria-help-2025-09-10T14:49:49.md +0 -3460
  207. md_processing/md_processing_utils/dr-egeria-help-2025-09-10T14:57:46.md +0 -472
  208. pyegeria/README.md +0 -35
  209. pyegeria-5.4.4.8.dist-info/RECORD +0 -308
  210. pyegeria-5.4.4.8.dist-info/entry_points.txt +0 -105
  211. {pyegeria-5.4.4.8.dist-info → pyegeria-5.4.6.dist-info/licenses}/LICENSE +0 -0
pyegeria/mcp_server.py ADDED
@@ -0,0 +1,176 @@
1
+ """PDX-License-Identifier: Apache-2.0
2
+ Copyright Contributors to the ODPi Egeria project.
3
+
4
+ This module provides a basic MCP server for Egeria.
5
+ """
6
+ import asyncio
7
+ import re
8
+ import sys
9
+ from typing import Any, Dict, Optional, List
10
+
11
+ try:
12
+ # We use Optional[] and List[] types, so we import them.
13
+ from mcp.server.fastmcp import FastMCP
14
+ print("MCP import successful...", file=sys.stderr)
15
+ except ImportError:
16
+ print("MCP import failed.", file=sys.stderr)
17
+ raise
18
+
19
+ from pyegeria.mcp_adapter import (
20
+ list_reports,
21
+ describe_report,
22
+ run_report, _execute_egeria_call_blocking,
23
+ )
24
+
25
+
26
+ def _ok(result: Dict[str, Any] ) -> Dict[str, Any]:
27
+ # Pass-through helper in case you want to normalize or add metadata
28
+ print("OK: Operation completed successfully.", file=sys.stderr)
29
+ return result
30
+
31
+
32
+ def main() -> None:
33
+ # Initialize the server
34
+ srv = FastMCP(name="pyegeria-mcp")
35
+ print("Starting MCP server...", file=sys.stderr)
36
+
37
+ # list_reports tool (formerly list_format_sets)
38
+ @srv.tool(name="list_reports")
39
+ def list_reports_tool() -> Dict[str, Any]:
40
+ """Lists all available reports (FormatSets)."""
41
+ print("DEBUG: Listing reports...", file=sys.stderr)
42
+ return _ok(list_reports())
43
+
44
+ # describe_report tool (formerly describe_format_set)
45
+ @srv.tool(name="describe_report")
46
+ def describe_report_tool(name: str, output_type: str = "DICT") -> Dict[str, Any]:
47
+ """Returns the schema and details for a specified report."""
48
+ # FastMCP handles validation of 'name' and 'output_type' types automatically.
49
+ print(f"DEBUG: Describing report: {name} with output type: {output_type}", file=sys.stderr)
50
+ try:
51
+ return _ok(describe_report(name, output_type))
52
+ except Exception as e:
53
+ print(f"DEBUG: Exception during describe_report: {str(e)}", file=sys.stderr)
54
+ raise
55
+
56
+ # run_report tool (formerly run_format_set_action)
57
+ @srv.tool(name="run_report")
58
+ async def run_report_tool(
59
+ report_name: str,
60
+ search_string: str = "*",
61
+ page_size: Optional[int] = None,
62
+ start_from: Optional[int] = None,
63
+ starts_with: Optional[bool] = None,
64
+ ends_with: Optional[bool] = None,
65
+ ignore_case: Optional[bool] = None,
66
+ output_format: str = "DICT"
67
+ ) -> Dict[str, Any]:
68
+
69
+ """Run a report with the specified parameters."""
70
+ print("DEBUG: Running report...", file=sys.stderr)
71
+ # 1. Automatic Validation: FastMCP/Pydantic ensures types are correct.
72
+
73
+ # 2. Manual Validation (for specific values like output_format)
74
+ if output_format not in ["DICT", "JSON", "REPORT", "MERMAID", "HTML"]:
75
+ print(f"DEBUG: Invalid output_format: {output_format}", file=sys.stderr)
76
+ raise ValueError(
77
+ f"Invalid output_format: {output_format}. Must be one of ['DICT', 'JSON', 'REPORT', 'MERMAID', 'HTML'].")
78
+
79
+ # 3. Build params dictionary with only non-None values for clean passing
80
+ params = {
81
+ "search_string": search_string,
82
+ "page_size": page_size,
83
+ "start_from": start_from,
84
+ "starts_with": starts_with,
85
+ "ends_with": ends_with,
86
+ "ignore_case": ignore_case,
87
+ }
88
+ # Filter out None values before passing to run_report
89
+ params = {k: v for k, v in params.items() if v is not None}
90
+
91
+ print(f"DEBUG: Running report={report_name} with params={params}", file=sys.stderr)
92
+
93
+ try:
94
+
95
+ result = await asyncio.to_thread(
96
+ _execute_egeria_call_blocking,
97
+ report = report_name,
98
+ params = params,
99
+ # view_server="qs-view-server",
100
+ # view_url="https://localhost:9443",
101
+ # user="erinoverview",
102
+ # user_pass='secret'
103
+ )
104
+ print("DEBUG: run_report completed successfully", file=sys.stderr)
105
+ return _ok(result)
106
+ except Exception as e:
107
+ # Re-raise the exception to be sent back as a JSON-RPC error
108
+ print(f"DEBUG: Exception occurred: {str(e)}", file=sys.stderr)
109
+ raise
110
+
111
+ @srv.tool(name="prompt")
112
+ def natural_language_prompt(prompt: str) -> Dict[str, Any]:
113
+ """
114
+ Handles natural language queries from the user.
115
+ In a production environment, this would call an LLM API.
116
+ """
117
+ print(f"DEBUG: Received natural language prompt: {prompt}", file=sys.stderr)
118
+
119
+ # Example of simple logic: If the user asks to list reports, delegate to the tool.
120
+ if "list" in prompt.lower() and "reports" in prompt.lower():
121
+ print("DEBUG: Delegating prompt to list_reports tool.", file=sys.stderr)
122
+ return list_reports() # Call the standard tool function directly
123
+ elif "run" in prompt.lower() and "report" in prompt.lower():
124
+ print("DEBUG: Delegating prompt to run_report tool.", file=sys.stderr)
125
+ # Simple entity extraction for report name (Requires more robust logic in reality!)
126
+ # Let's assume the report name is the word immediately following "report"
127
+
128
+ match = re.search(r'report\s+([a-zA-Z0-9]+)', prompt, re.IGNORECASE)
129
+ report_name = match.group(1) if match else None
130
+
131
+ if report_name:
132
+ print(f"DEBUG: Extracted report name: {report_name}", file=sys.stderr)
133
+
134
+ # Use another simple regex to look for page size
135
+ page_size_match = re.search(r'page size of\s+(\d+)', prompt, re.IGNORECASE)
136
+ page_size = int(page_size_match.group(1)) if page_size_match else None
137
+
138
+ search_match = re.search(r'search for\s+(.*?)(?:\s+in\s+report|\.|$)', prompt, re.IGNORECASE)
139
+
140
+ if search_match:
141
+ # Extract the content captured by the group (.*?)
142
+ search_string = search_match.group(1).strip()
143
+
144
+ # Check if the search string is meaningful
145
+ if search_string:
146
+ # Use a default report for demonstration purposes
147
+
148
+ print(
149
+ f"DEBUG: Delegating prompt to run_report tool. Report: {report_name}, Search: '{search_string}'",
150
+ file=sys.stderr)
151
+
152
+ # Call the standard tool function with extracted parameters
153
+ return run_report_tool(
154
+ report_name=report_name,
155
+ page_size=page_size,
156
+ search_string=search_string
157
+ )
158
+
159
+ # Delegate to the run_report_tool with the extracted parameters
160
+ return run_report_tool(
161
+ report_name=report_name,
162
+ page_size=page_size
163
+ )
164
+ # Fallback: Just confirm the prompt was received.
165
+ return {
166
+ "response": f"Acknowledged natural language query: '{prompt}'. This would be sent to an LLM."
167
+ }
168
+
169
+ # CRITICAL: This is the missing step. It tells the server to read and process
170
+ # JSON-RPC messages from standard input (stdin).
171
+ srv.run()
172
+ print("MCP server finished running.", file=sys.stderr)
173
+
174
+
175
+ if __name__ == "__main__":
176
+ main()
@@ -915,7 +915,7 @@ class ProjectManager(Client2):
915
915
  """
916
916
 
917
917
  url = f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/project-manager/projects/from-template"
918
- return await self._async_create_elem_from_template(url, body)
918
+ return await self._async_create_element_from_template(url, body)
919
919
 
920
920
  @dynamic_catch
921
921
  def create_project_from_template(
@@ -652,7 +652,7 @@ class ReferenceDataManager(Client2):
652
652
  """
653
653
 
654
654
  url = f"{self.ref_data_command_base}/valid-value-definitions/from-template"
655
- return await self._async_create_elem_from_template(url, body)
655
+ return await self._async_create_element_from_template(url, body)
656
656
 
657
657
  @dynamic_catch
658
658
  def create_valid_value_definition_from_template(
@@ -49,7 +49,7 @@ class ActionAuthor(AutomatedCuration):
49
49
  )
50
50
  self.action_command_root = f"{platform_url}/servers/"
51
51
 
52
- async def _async_create_elem_from_template(
52
+ async def _async_x_create_element_from_template(
53
53
  self, body: str, server: str = None
54
54
  ) -> str:
55
55
  """Create a metadata element from a template. Async version.
@@ -1,40 +1,37 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: pyegeria
3
- Version: 5.4.4.8
3
+ Version: 5.4.6
4
4
  Summary: A python client for Egeria
5
- License: Apache 2.0
5
+ Author-email: Dan Wolfson <dan.wolfson@pdr-associates.com>
6
+ License-Expression: Apache-2.0
6
7
  Keywords: egeria,metadata,governance
7
- Author: Dan Wolfson
8
- Author-email: dan.wolfson@pdr-associates.com
9
- Requires-Python: >3.12,<4.0.0
10
- Classifier: License :: OSI Approved :: Apache Software License
11
- Classifier: License :: Other/Proprietary License
12
8
  Classifier: Programming Language :: Python
13
9
  Classifier: Programming Language :: Python :: 3
14
- Classifier: Programming Language :: Python :: 3.13
15
- Requires-Dist: click
10
+ Requires-Python: >3.12
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
16
13
  Requires-Dist: httpx
17
- Requires-Dist: inflect (>=7.5.0,<8.0.0)
18
- Requires-Dist: jupyter
19
- Requires-Dist: jupyter-notebook-parser (>=0.1.4,<0.2.0)
20
- Requires-Dist: loguru (>=0.7.3,<0.8.0)
21
- Requires-Dist: mermaid-py
22
- Requires-Dist: poetry-core (>=2.1.3,<3.0.0)
23
- Requires-Dist: psycopg2-binary (>=2.9.9,<3.0.0)
24
- Requires-Dist: pydantic (>=2.11.7,<3.0.0)
25
- Requires-Dist: pydantic-settings (>=2.10.1,<3.0.0)
26
- Requires-Dist: pydevd-pycharm (>=252.23892.364,<253.0.0)
27
- Requires-Dist: pytest (>=8.3.5,<9.0.0)
28
- Requires-Dist: requests
29
14
  Requires-Dist: rich
30
- Requires-Dist: textual
31
- Requires-Dist: trogon (>=0.6.0,<0.7.0)
32
- Requires-Dist: urllib3
33
15
  Requires-Dist: validators
34
- Requires-Dist: wcwidth (==0.2.13)
35
- Project-URL: Homepage, https://github.com/odpi/egeria-python
36
- Project-URL: Repository, https://github.com/odpi/egeria-python
37
- Description-Content-Type: text/markdown
16
+ Requires-Dist: urllib3
17
+ Requires-Dist: requests
18
+ Requires-Dist: jupyter
19
+ Requires-Dist: click
20
+ Requires-Dist: trogon
21
+ Requires-Dist: textual
22
+ Requires-Dist: mermaid-py
23
+ Requires-Dist: psycopg2-binary
24
+ Requires-Dist: jupyter-notebook-parser
25
+ Requires-Dist: loguru
26
+ Requires-Dist: inflect
27
+ Requires-Dist: pydantic>=2.11.7
28
+ Requires-Dist: pydantic-settings>=2.10.1
29
+ Requires-Dist: pydevd-pycharm>=252.23892.364
30
+ Requires-Dist: wcwidth
31
+ Requires-Dist: altair
32
+ Requires-Dist: modelcontextprotocol
33
+ Requires-Dist: mcp>=1.15.0
34
+ Dynamic: license-file
38
35
 
39
36
  <!-- SPDX-License-Identifier: CC-BY-4.0 -->
40
37
  <!-- Copyright Contributors to the ODPi Egeria project. -->
@@ -0,0 +1,174 @@
1
+ commands/__init__.py,sha256=-_1ApX0GIzkVNl1NajyGMIz7fHbwZfN5DVnBQAOiScA,1174
2
+ commands/cat/Dr-Egeria_md-orig.py,sha256=ZX20BvRo0fIFisvy5Z-VJDLVyKbQoud89-CUV2S66tU,7336
3
+ commands/cat/__init__.py,sha256=l4CImkjEiTQKS7QR-RQwzHIgRpfP032Mn_NZEuIILwg,98
4
+ commands/cat/dr_egeria_command_help.py,sha256=_HOJd1IplnYhoQm1cwsROS9SxVKILLUf9YNlGMvvdF4,15359
5
+ commands/cat/dr_egeria_jupyter.py,sha256=rfLVV_84Q8Pqcq1flmijKvZ7sEZFy7JAcAP_NAbb46Y,5656
6
+ commands/cat/dr_egeria_md.py,sha256=zz-XtRW0sfBOG8kA51OFR5uKQ7JULGoOgXeJBXQBqTM,4889
7
+ commands/cat/exp_list_glossaries.py,sha256=dC6Bnfm3YSMTKPP146qeslIFRiZnGu5b7iDYE07p4iU,5817
8
+ commands/cat/get_asset_graph.py,sha256=xnXJfpDTVH1TJ2TwE3dtjaXU36Di6-N6JAyhothzz2o,12461
9
+ commands/cat/get_collection.py,sha256=kXPcP8u-SMWfrVyyBhNoxG8mcgB7EV_5i9N9w_IBU7o,5379
10
+ commands/cat/get_project_dependencies.py,sha256=XwstxuDxDDuP2uN1oJi0PTDZVLbqgcc_3lxh_prBZvY,5987
11
+ commands/cat/get_project_structure.py,sha256=5uxWMqNve592OT73GRCO2KoBkgLWRNuQv_emWpS-Fw8,5975
12
+ commands/cat/get_tech_type_elements.py,sha256=IznytHXwDOFriGM6mypV9wuEeM-vT2s66cUzf-IROog,6147
13
+ commands/cat/glossary_actions.py,sha256=D-jeQ3YnsC7fYbMtUwlXLokvZygLNM1ITxfa-jxy1Ks,19608
14
+ commands/cat/list_assets.py,sha256=CdJ2coKvvQv2VwJO0Sp9Eg9Fu_uvpC21tgjrdtT9Yz4,6315
15
+ commands/cat/list_cert_types.py,sha256=HmrTks0SSYgSMsYz3LqfX5kwDQ6D9KMcynoR_xlWtnE,7137
16
+ commands/cat/list_collections.py,sha256=4OEXdjtY6wmRwR89as6WGnCBMCZuQfhOFQYkVqkOJ1s,9522
17
+ commands/cat/list_data_designer.py,sha256=Bpix52CVdV1xZFo-07N8W30vdoDcHYT91jKVRTxQgQ0,6720
18
+ commands/cat/list_data_structures_full.py,sha256=E9PY_AU1lzGSqUwy711Bjd5uMfV41kpmNPzhdf0nZjs,8642
19
+ commands/cat/list_deployed_catalogs.py,sha256=VdN6R9kRVWX-fGIgubOigvMVPzhF-hKQepHHlS-w-D8,8258
20
+ commands/cat/list_deployed_database_schemas.py,sha256=1Qicke1R2_7Xi3Qf5sp8KJ3_reAIt0z1iaz2sG8Z0Qs,9458
21
+ commands/cat/list_deployed_databases.py,sha256=ryrBW1CxJRfOeLP978qQwxb5oImqhIsHghtcpWeBIrw,7587
22
+ commands/cat/list_deployed_servers.py,sha256=_xR7EaaCsxIjTphxmoCZlARoja_vQqZ881pFiEuhw-8,5719
23
+ commands/cat/list_format_set.py,sha256=5PFkEO_YmnQ89PAVIJFBSAyHXMBa6zIpcrK6I9Fm6fc,19286
24
+ commands/cat/list_glossaries.py,sha256=ilac-SpeizOV78-OWgPLY-Xew5RTd4TjRgtdYNFfH_w,7623
25
+ commands/cat/list_projects.py,sha256=NzWTuepTGUEyxK-eWvuUxtBgCtNWubVwmz2eqm2UN1c,7997
26
+ commands/cat/list_tech_type_elements.py,sha256=-9omj5en9dSP1xMSljYVHyfXsuhuE1bO2IFj_bZPhAs,6873
27
+ commands/cat/list_tech_types.py,sha256=uqZcXHCzAznhEG6WWeM5j-spwUh8ycygFqpVDeXOG-0,4653
28
+ commands/cat/list_terms.py,sha256=LlMlI0pTcCegf7zGmTujFzCnCFjqxmi869uqyzkJQXw,11342
29
+ commands/cat/list_todos.py,sha256=NitCw0uyVVjmN1hxb1W-I4FbOsa8wQxW2ICyOElHyc8,6556
30
+ commands/cat/list_user_ids.py,sha256=X5Q-YNEp38saPYDuy9VwdQC5Qpa4HyC3WvAdbyp_P6M,5108
31
+ commands/cli/__init__.py,sha256=E6vPW3P3iuVPyrwtDIWvU9P0JXOGqP8KupeIZdxc6wc,298
32
+ commands/cli/egeria.py,sha256=kBbwWgYkgDHSK2nErq6hWR8dslEPrhjdOLBKHgwJ5lg,52185
33
+ commands/cli/egeria_cat.py,sha256=yZYOkaou1beBt8pbcsrXAtMF851jz7qhq0BTmJRoMZU,18211
34
+ commands/cli/egeria_login_tui.py,sha256=bh9MvJcZPpixXkEtWh_4NK4YcRdeHSVDUBTIhQncSyY,9498
35
+ commands/cli/egeria_my.py,sha256=pWFgznhBs34a6ldRExAFGmZ7K-wBYqjTUfvdUtPq_uc,6349
36
+ commands/cli/egeria_ops.py,sha256=0cjvlNj1hbilQ17aIx2OrQgQzhVzGiCPlz4f7XdP1t8,12519
37
+ commands/cli/egeria_tech.py,sha256=etLJOEzO7UQyfY8aRcmXqoYvh_fdi5CGtT9X6KEW8p0,20995
38
+ commands/cli/ops_config.py,sha256=0_aKDNl-AxfeT4aukOXiS1TH72b3ZRszGg_ekTnbgMU,1363
39
+ commands/my/__init__.py,sha256=0O3kDAlDfx7ohSg_5tZt55B4B3UItgE0noROQLCIUxs,449
40
+ commands/my/list_my_profile.py,sha256=eoWBNNnxUsVFTJOYufs9QsG6BNrra3-Fc9TbrCl-CGE,5731
41
+ commands/my/list_my_roles.py,sha256=jXkIcA71GRBrx556GROML4QrE3JGt-IPuGzVodDhPx0,5190
42
+ commands/my/monitor_my_todos.py,sha256=mM68RH1DJzf38BqmIZZXJrQgpGyAQDO4VimlPYE4osU,7104
43
+ commands/my/monitor_open_todos.py,sha256=Vi6VOcxdHe_94de_ICTHoIOA94KCcTxDCTRb9-4oKRs,5975
44
+ commands/my/todo_actions.py,sha256=daio-D1dVDkAXIcz15bVogJ-nWA_bMGKrpvkK7tc3cQ,8153
45
+ commands/ops/__init__.py,sha256=v7u-zC3gr8soVbYV0Izc2wuEcGCovO00j5v-IhLg3xs,450
46
+ commands/ops/gov_server_actions.py,sha256=OCff2cajMbZOy_nwG6xIiIX1seiu3tLxn-uP_CPrpTM,5685
47
+ commands/ops/list_archives.py,sha256=jKm_easQUjJNRkuasILvuVpQBFuyyBlBHE-L0i0FGgQ,5456
48
+ commands/ops/list_catalog_targets.py,sha256=piru83lRLV7O-HZ2gYTJbZy3nHptGuBJ62QsVrYTLE0,7702
49
+ commands/ops/load_archive.py,sha256=5GvwYKHFbmKuxbqTLe2fpUVptlmlmYU-4vMfNcYiZe4,2878
50
+ commands/ops/monitor_asset_events.py,sha256=5XXWt5yvl9mGq1Lve9gdrWT0dvvTWpFr_lFWO-_WdaU,3883
51
+ commands/ops/monitor_engine_activity.py,sha256=yMNR0MI4Vm7IzOFc6jz-De9xDuWPPgUU31LnrLkI-3M,9896
52
+ commands/ops/monitor_engine_activity_c.py,sha256=Jf9Eo-ZtEPminf5gcz4NsT2wDD2AddcbTPJzSYdD5Sc,10773
53
+ commands/ops/monitor_gov_eng_status.py,sha256=gK5HXewXKnLEjCBRkbEyzbGtWs998P-AoFKaMCAQBLs,9917
54
+ commands/ops/monitor_integ_daemon_status.py,sha256=N09KaP1eA3OiGfRS4GgbjKxnkheMYK6oQojNbuO6KRo,11828
55
+ commands/ops/monitor_platform_status.py,sha256=5Vn8C-vDth9qgzEswqwzR2on3Up1mdFp9oVEudMj5PU,7247
56
+ commands/ops/monitor_server_startup.py,sha256=UNws5paaN0VTVLkJp-8MI07oUMdwCRpKcMNM9oUNCW8,3915
57
+ commands/ops/monitor_server_status.py,sha256=w7uFLR6BXgPtuC4L5cp8nWsw3W1Z-5JB2nCo1N_zEF4,7144
58
+ commands/ops/orig_monitor_server_list.py,sha256=EYmvygmrhNmcXORsRHtCniuZ3C9ko8CBRlH34vZRrPg,4651
59
+ commands/ops/orig_monitor_server_status.py,sha256=QCRi5uxrtZvXnZGcMPvlsLHr6P9v-5m12CqqL691lvc,4033
60
+ commands/ops/refresh_integration_daemon.py,sha256=cOgdWQV6pTajIBWNeJy7MJo32JtMxPDHcxivfT72NWc,2981
61
+ commands/ops/restart_integration_daemon.py,sha256=M8vb-SEIGFd4fnZcwFD1rRNYXGe-jySzFGnizB72dSI,2917
62
+ commands/ops/table_integ_daemon_status.py,sha256=XyHM4LzOslWFmH5q9nFa8tpZNylL9JztOavtQacnP7w,8430
63
+ commands/ops/x_engine_actions.py,sha256=sjoyDJD2_0xQkE2tSlFdBxD2d9C3Nzcy9qi69dWC4Rw,2284
64
+ commands/tech/__init__.py,sha256=0O3kDAlDfx7ohSg_5tZt55B4B3UItgE0noROQLCIUxs,449
65
+ commands/tech/generic_actions.py,sha256=vHwgaADbai61R46QiCvS9pZr4vZXAN1XEtcizaSEidU,2677
66
+ commands/tech/get_element_info.py,sha256=a1msEwL_kKjO8uslJa-tSgrdW6UgKUY4iyLjZqzeG9M,4761
67
+ commands/tech/get_guid_info.py,sha256=7QBMteAd8mbJymkJC8AJW8D2TQ8Roc2zDcNb0tI2l-A,4295
68
+ commands/tech/get_tech_details.py,sha256=m312TXXu5UkJ42g0YopntXWJwSSAil1Udj62erD8cOU,6383
69
+ commands/tech/get_tech_type_template.py,sha256=kyKaqr5gBsmUyxePXM2hfeHCtzef8mQ_e6_rbf4ssYs,6246
70
+ commands/tech/list_all_om_type_elements.py,sha256=xJmI7p4eNWSB09NYANz5wGAg2oqKqs4dv9rfSQA7zuA,5999
71
+ commands/tech/list_all_om_type_elements_x.py,sha256=KkUSWtUWnQEbuK5PwLF5C3whft_V9OOtYD2M-aQfg3c,6570
72
+ commands/tech/list_all_related_elements.py,sha256=2uAYHEuPEjXGM5I_zVblZFOGoyGP02lhR5tPc0u8zog,7782
73
+ commands/tech/list_anchored_elements.py,sha256=OJx3U77QCJadheD0RRiRw-4GvheoqL0gdBqBgHzEKho,7589
74
+ commands/tech/list_asset_types.py,sha256=GbW8Tj9o1wh_qJM6b2oIESyzr9tcYcvjoL-0rnOXViI,4176
75
+ commands/tech/list_elements_by_classification_by_property_value.py,sha256=aCNSpQgyRn6u-8nU9iLCuYzj4kVBKKCnLuBSGKP_w-8,7132
76
+ commands/tech/list_elements_by_property_value.py,sha256=ZObsaQ0jXXN88pVoO68_NVsSXN2CnGjLsOhCuYDzINs,6489
77
+ commands/tech/list_elements_by_property_value_x.py,sha256=rk0cY3fKUE0zEvHe42OYUvXItzl8EqW4euvjbk8vSd0,7011
78
+ commands/tech/list_elements_for_classification.py,sha256=4Opb_dp-p4jR4jO6ZaA3Lc3bapojT95iLkvLN9ehNK0,6216
79
+ commands/tech/list_gov_action_processes.py,sha256=2yhfzlBIJCxciT9AQyfik_-Zkfcca95xjRdaJfMWYRM,4562
80
+ commands/tech/list_information_supply_chains.py,sha256=QWD9jBhvi0pGMWd2HtUTYxCO_aNWKqY6r1GlMXUHM9w,6323
81
+ commands/tech/list_registered_services.py,sha256=yH0C_ge5ZYylrPhKaT0VWFkBMaLJopTzL2ZhJJcAiSE,6548
82
+ commands/tech/list_related_elements_with_prop_value.py,sha256=jNfpfdWmgNsSFKqKfKHTYhrPTu6m0LeOUkmc6DeupdE,8224
83
+ commands/tech/list_related_specification.py,sha256=m72yh1ayud58_BqWhgEgdgnaWIxUYKLxPSulJmCoZ7o,5932
84
+ commands/tech/list_relationship_types.py,sha256=QQZLRhAWUTpu3DCqem6og7sm1W95f3oE-gv5RY5bMnY,5766
85
+ commands/tech/list_relationships.py,sha256=g2Kl6LSvmQ3SCjsaZ3oFk5PuYVVeqRKfEhmD-icJjzo,5940
86
+ commands/tech/list_solution_blueprints.py,sha256=TbJvvTBw9dU5QdzPqnOHT10ORCMNy1KW38YpLlzxDNM,7105
87
+ commands/tech/list_solution_components.py,sha256=PhDfUZ06FPrRDqJ1ShGx5PJauPVvoFrVujxnewc72kg,6903
88
+ commands/tech/list_solution_roles.py,sha256=YMzb-OWQRMk8HYkxHz7m4C-i1mmUwtAfU5HSkI9-PFI,6675
89
+ commands/tech/list_tech_templates.py,sha256=5hhDJJjrqGyWDPPcFzFeFs-4rsal1M2Bl7EUuJNz8Ns,14144
90
+ commands/tech/list_valid_metadata_values.py,sha256=_zgOdq2N6s7GjLd8iEc5xVfplKfOnKZ-ySM-lSdgYn8,6315
91
+ commands/tech/table_tech_templates.py,sha256=jI1c9YKa3KirArMNXeCRKeaiVdwQSN-ztPqkag6jdZs,9500
92
+ commands/tech/x_list_related_elements.py,sha256=ynaw792VnbMZ9IXBi5mmG7xBfC0kn0esKiFTsjvLGzc,5900
93
+ md_processing/__init__.py,sha256=B3hBAEI84SsAVFDCSHqoiVnBwSVbuxpeJuX3Jfe5B6U,7327
94
+ md_processing/dr_egeria.py,sha256=T1YRmGAAlamuYZB5dnBdEeyL9oODhYsxy-G4M_DtCak,20672
95
+ md_processing/data/generated_format_sets.py,sha256=2BfRzb5G5n8Cz6VwirQXlBq1fHBISIh4x7jquXg6QEw,36402
96
+ md_processing/md_commands/__init__.py,sha256=ssEojzFlSYtY2bHqqOoKo8PFaANZ_kq_gIbtlXnuc2s,93
97
+ md_processing/md_commands/data_designer_commands.py,sha256=WGCDlTPmGhcETdmus89w6Y8a3EhyQJ86SJURvphnM24,65516
98
+ md_processing/md_commands/ext_ref_commands.py,sha256=c-ZdYkWGMsrAyku9R_IReJzrLhNaNFY6vyyiFEjxNT4,23144
99
+ md_processing/md_commands/glossary_commands.py,sha256=slKnvs6ktdAOZI_EmpVWUB7hrdSngUnitucZu9dR9PE,33411
100
+ md_processing/md_commands/governance_officer_commands.py,sha256=c7SnJqQooPr3zCebDzeztAM8wZq9G7ZB4EpJ-uR5moI,26479
101
+ md_processing/md_commands/product_manager_commands.py,sha256=M63irUyEf52g075U3kzwvm9V1OiqWXp0O68nRNCRWxU,57366
102
+ md_processing/md_commands/project_commands.py,sha256=peAoemgzb8bEQghi8nFU6JrZ5Hro90Bl1JDHl7_nAtM,17127
103
+ md_processing/md_commands/solution_architect_commands.py,sha256=4Ghb8j2wlDdWtHoSCrx5jCJFEJfqII4mnFJ_tqduRKI,52569
104
+ md_processing/md_commands/view_commands.py,sha256=bIOSw0GVluOcpZMQNioeO1Srr4Y_84YNz-VHMKpPfVE,12092
105
+ md_processing/md_processing_utils/__init__.py,sha256=LxAmxlcji26ziKV4gGar01d95gL9vgToRIeJW8N-Ifs,80
106
+ md_processing/md_processing_utils/common_md_proc_utils.py,sha256=gT9Xc2BlZZe7MBRpENfz2As95N3oGk4LRko1dg9AGyI,58673
107
+ md_processing/md_processing_utils/common_md_utils.py,sha256=mHU-H5L43Egu_EpLqSQkMgyZS_xX-_TRloov_rUtO1w,26766
108
+ md_processing/md_processing_utils/determine_width.py,sha256=nzinSuSF9SeuVOfKXsg-l1cqLkNYKZnF6HYfJpft44A,4236
109
+ md_processing/md_processing_utils/extraction_utils.py,sha256=Hx3OPjMLfChBPwJxHeRNeQaSrZbopoj87iE7poPV4ns,22358
110
+ md_processing/md_processing_utils/gen_format_sets.py,sha256=ZdoLSjR-e7dZBG3tVr-HRmy-WQuAgIzj5g9tYIn4KQA,16480
111
+ md_processing/md_processing_utils/generate_dr_help.py,sha256=MJWlr_22Y9pjWqQbfSLb6C-t1GlQNlbWXkCmDnphfME,7419
112
+ md_processing/md_processing_utils/generate_md_cmd_templates.py,sha256=mFenxe9Jq8QivgmI0ZFtO_iu6P6RH_EiNa__CGyDw_0,5809
113
+ md_processing/md_processing_utils/generate_md_templates.py,sha256=DMnMQ7_LbmQCS8aG-ppHGTu25obOSn4ZzSg7V21k9jo,3547
114
+ md_processing/md_processing_utils/md_processing_constants.py,sha256=_j8FSsB1mZ2SsmDaQWaPH8iWKy1ZHYYjzOgcdIoLZPE,21108
115
+ md_processing/md_processing_utils/message_constants.py,sha256=UBf18obM83umM6zplR7ychre4xLRbBnTzidHDZ2gNvM,548
116
+ pyegeria/__init__.py,sha256=gQqIohRhPr5LKit1oqCD0_gbtHFsnJF1WxT4QOUybmk,11904
117
+ pyegeria/_client.py,sha256=hJHn5pD8sbelP_M9dK-M5Z2CYqpRXzXfg1UCgAdQ6dQ,33416
118
+ pyegeria/_client_new.py,sha256=9GQDOlmCxGPcAhKT_kkrLlS0x7nnVhha7VVR0rAlBnQ,69777
119
+ pyegeria/_deprecated_gov_engine.py,sha256=dWNcwVsE5__dF2u4QiIyQrssozzzOjBbLld8MdpmVCQ,17264
120
+ pyegeria/_exceptions.py,sha256=1SrnV194V4_YJNnNAU0myTHQ3dhLn4GF2B2gZcj1u90,18153
121
+ pyegeria/_exceptions_new.py,sha256=srmrlqoWy7VvOJOhPcYFKW32MCIovgEg5J7PrYDxzQA,19706
122
+ pyegeria/_globals.py,sha256=qSU5hM4uuJZPp-YapEEKxfcdgH9hauc6R7gRkELLroY,1132
123
+ pyegeria/_output_format_models.py,sha256=p9fTYaIa5KyTMIR4-JAbE9g66_gGMPTnUqjIq20Zr1o,14494
124
+ pyegeria/_output_formats.py,sha256=a6dgpfYJ09nMXweId61idEeGiOdGkAm1X-yTFJzMYQs,181116
125
+ pyegeria/_validators.py,sha256=pNxND0dN2qvyuGE52N74l1Ezfrh2p9Hao2ziR_t1ENI,7425
126
+ pyegeria/asset_catalog_omvs.py,sha256=P6FceMP0FgakGSOt3ePxpEbsF7nnypzo1aQahjdL_94,29021
127
+ pyegeria/automated_curation.py,sha256=wmnfpDcdg4eTtYuRHTCZQe49GxLCBiBBQsKwWVnlzak,142660
128
+ pyegeria/classification_manager_omvs.py,sha256=eodP8Fn7zi78unsjk0XNW7lnxI7R0Fb7_SLI-HA39PQ,187249
129
+ pyegeria/collection_manager.py,sha256=6DEy-77CEKVZZkREFNKoiMEU5Z_XJybDQOfOkpXqnBY,238694
130
+ pyegeria/collection_models.py,sha256=d3DdWONqDdAeuUQgussiCNfvhKIDFpaI35cdW_Tv4_0,5315
131
+ pyegeria/config.py,sha256=N-qHq74GN29Mwfp8MbXvj7uEsKCIXotL7MDwFcj3nIU,29380
132
+ pyegeria/core_omag_server_config.py,sha256=pNQpocICkZx8sRsTw5DPUe-TFyxlIo1U88qqgci_f7I,97764
133
+ pyegeria/create_tech_guid_lists.py,sha256=hf5q8Xrdsz-bqeIW3yTORZ1XB6_BrKzLDWWwC_bNG2g,4811
134
+ pyegeria/data_designer.py,sha256=RClObd7T3hTrZfDUN8p--djWdz685xlgx3pmEt9Ve6g,188544
135
+ pyegeria/egeria_cat_client.py,sha256=H4V3Qm52Vhfh16kwf2gTibtsT5PZwdjxTKOnNef1rbs,3088
136
+ pyegeria/egeria_client.py,sha256=N_CvaUgb8tQtRLsy8dfLNJ2lPPiCrfW-AFiLBxqIlyI,6102
137
+ pyegeria/egeria_config_client.py,sha256=YkgndiZ6-CfhwVeBW9ErS7l95SIrd0G9--H8kAfeBJY,2479
138
+ pyegeria/egeria_my_client.py,sha256=3dSBUlrivzih75hodNHe-2BM9pGB8AQVLru-_NbhYNE,3186
139
+ pyegeria/egeria_tech_client.py,sha256=8Apr5YEFL2qgn-QTv9YWTI-23rGI94NiUp4418EiZ4k,4707
140
+ pyegeria/external_references.py,sha256=7CNUlnD7MsWZqdLASYSxqfHAU1EqBzuv8_7INYMJI3A,74755
141
+ pyegeria/feedback_manager_omvs.py,sha256=0xBs0p54vmdfVYYgQ8pOanLC4fxfgTk1Z61Y6D1U7_I,152978
142
+ pyegeria/format_set_executor.py,sha256=z1KJsu4_1WyVJaY5SgXSfsTgxvSW9VMhxbpNVClRonY,6127
143
+ pyegeria/full_omag_server_config.py,sha256=CQqLCy_3DZFvJZEOcGf50HWdFaWpiAIs6z-kKyjvpDA,47464
144
+ pyegeria/glossary_manager.py,sha256=EmCnIPG-W0bUD7MVn2Vopb-cb_TR1J8MMOOFzo38aWk,106786
145
+ pyegeria/governance_officer.py,sha256=OYEewhoe3HBcxTR6kGdKNkwLT4gkQDRGKfFIsVlD5oI,109203
146
+ pyegeria/load_config.py,sha256=XDwPAHB3MvGRuoP8kg1lJJAI4BgMWZ3TYxfxYROgJj4,1188
147
+ pyegeria/logging_configuration.py,sha256=BxTQRN-7OOdk5t1f1xSn8gKU8iT-MfWEgbn6cYWrRsY,7674
148
+ pyegeria/mcp_adapter.py,sha256=90tqUmqKyG47ozFL39KJYn4-OoAvxoADAXniEe47U-w,4401
149
+ pyegeria/mcp_server.py,sha256=ZbFq31kNlySJJy-DtoNGvkhPrFKZLTuv2Xf3z5XjTos,7326
150
+ pyegeria/md_processing_helpers.py,sha256=xlQuK5eP_PJqUdy4BScQ97NyBD95jMS3EUg0wK5CsZo,2137
151
+ pyegeria/md_processing_utils.py,sha256=KRESCqAYjCgHRAdhHH49lLDDhaq740CUlqTG0bN-6Oo,99119
152
+ pyegeria/md_processing_utils_orig.py,sha256=SToZtXQiysi2_vmIY4-T2NIELRirzQ1zjkho_2jFsNE,52603
153
+ pyegeria/mermaid_utilities.py,sha256=w_zED21bLCeXtfpBoGpPoG3kQlJDXwrLznLIuugvXzM,54285
154
+ pyegeria/metadata_explorer_omvs.py,sha256=xHnZTQKbd6XwOhYia-RiIisrvZcqHi0SL1l6OCf04Gk,86911
155
+ pyegeria/models.py,sha256=EhqVugZU7RT_FCiuSI4nRz_6sp8GkttrPYeB2hFN-8s,20375
156
+ pyegeria/my_profile_omvs.py,sha256=d0oJYCJG7pS9BINPuGciVa00ac0jwPHNANXDCLginEc,34720
157
+ pyegeria/output_formatter.py,sha256=ecJDPMsgfRXAcw8QvmhU3aPjqXPNnCjx_qZYF_q2iFw,43646
158
+ pyegeria/platform_services.py,sha256=AJNa8n2mKfAMK68q886YCD-p5bpCxIlCxBsRdr0R9O4,41708
159
+ pyegeria/project_manager.py,sha256=BrI23_fWIM4FE1y5zRqo3651iaDJ1BI_aNBpZ7D6nJQ,65887
160
+ pyegeria/reference_data.py,sha256=nKI_fxrSi3t0ay4wdAachvYw1-vpgKN_F9yB8XAklbk,41847
161
+ pyegeria/registered_info.py,sha256=y0-LgDIQXpph0lEWxIOG3_HsqX_Z2iAIb3xu4Aa4B70,6344
162
+ pyegeria/runtime_manager_omvs.py,sha256=bVAFJPRnIbTxdzmDHx7XgJBlyh_ZyHiKeUGqFT1Ozpg,80293
163
+ pyegeria/server_operations.py,sha256=dTqUEmX1B77b0x61OSU0aonsW8KwIpfzb3eioRpwaiI,16832
164
+ pyegeria/solution_architect.py,sha256=wds7wIBmDdV1H6SPhLPicWDzA7dfjhSCfO-_s4CByDM,233688
165
+ pyegeria/template_manager_omvs.py,sha256=chBljs1vy5wr9DRAtbvIt4Cob_7HxGfxLkCNlDTM-rQ,42755
166
+ pyegeria/utils.py,sha256=xOTxk9PH8ZGZmgIwz_a6rczTVLADLEjucr10ZJTUnY4,9272
167
+ pyegeria/valid_metadata_omvs.py,sha256=Xq9DqBQvBFFJzaFIRKcVZ2k4gJvSh9yeXs_j-O3vn1w,65050
168
+ pyegeria/x_action_author_omvs.py,sha256=XyRsUgN-xnWR-cJayzo5RtY4Xv1uBDML4pwaKHrwC1w,6430
169
+ pyegeria-5.4.6.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
170
+ pyegeria-5.4.6.dist-info/METADATA,sha256=Jp8glmJGorSBhcu2Rg0q_Lh0qqrYPhKFsLomJ2Fnd3A,5919
171
+ pyegeria-5.4.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
172
+ pyegeria-5.4.6.dist-info/entry_points.txt,sha256=Ig9cZyl-nq_RohLvahgWXzZbcpHzLS3Zdc1A8qvdPG0,6595
173
+ pyegeria-5.4.6.dist-info/top_level.txt,sha256=48Mt-O3p8yO7jiEv6-Y9bUsryqJn9BQsiyV0BqSn8tk,32
174
+ pyegeria-5.4.6.dist-info/RECORD,,
@@ -1,4 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.1.3
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
+
@@ -0,0 +1,105 @@
1
+ [console_scripts]
2
+ add_term_to_category = commands.cat.glossary_actions:add_term_to_category
3
+ change_todo_status = commands.my.todo_actions:change_todo_status
4
+ create_category = commands.cat.glossary_actions:create_category
5
+ create_glossary = commands.cat.glossary_actions:create_glossary
6
+ create_term = commands.cat.glossary_actions:create_term
7
+ create_todo = commands.my.todo_actions:create_todo
8
+ delete_category = commands.cat.glossary_actions:delete_category
9
+ delete_element = commands.tech.generic_actions:delete_element
10
+ delete_glossary = commands.cat.glossary_actions:delete_glossary
11
+ delete_term = commands.cat.glossary_actions:delete_term
12
+ delete_todo = commands.my.todo_actions:delete_todo
13
+ dr_egeria_help = commands.cat.dr_egeria_command_help:main
14
+ dr_egeria_jupyter = commands.cat.dr_egeria_jupyter:process_jupyter_notebook
15
+ dr_egeria_md = commands.cat.dr_egeria_md:process_markdown_file
16
+ egeria_login = commands.cli.egeria_login_tui:login
17
+ export_terms_to_csv_file = commands.cat.glossary_actions:export_terms_csv
18
+ get_asset_graph = commands.cat.get_asset_graph:main
19
+ get_collection = commands.cat.get_collection:main
20
+ get_element_info = commands.tech.get_element_info:main
21
+ get_guid_info = commands.tech.get_guid_info:main
22
+ get_project_dependencies = commands.cat.get_project_dependencies:main
23
+ get_project_structure = commands.cat.get_project_structure:main
24
+ get_tech_details = commands.tech.get_tech_details:main
25
+ get_tech_type_elements = commands.cat.get_tech_type_elements:main
26
+ get_tech_type_template = commands.tech.get_tech_type_template:main
27
+ hey_egeria = commands.cli.egeria:cli
28
+ hey_egeria_cat = commands.cli.egeria_cat:cli
29
+ hey_egeria_my = commands.cli.egeria_my:cli
30
+ hey_egeria_ops = commands.cli.egeria_ops:cli
31
+ hey_egeria_tech = commands.cli.egeria_tech:cli
32
+ list_all_related_elements = commands.tech.list_all_related_elements:main
33
+ list_anchored_elements = commands.tech.list_anchored_elements:main
34
+ list_archives = commands.ops.list_archives:main
35
+ list_asset_types = commands.tech.list_asset_types:main
36
+ list_assets = commands.cat.list_assets:main
37
+ list_catalog_targets = commands.ops.list_catalog_targets:main
38
+ list_categories = commands.cat.list_categories:main
39
+ list_cert_types = commands.cat.list_cert_types:main
40
+ list_collections = commands.cat.list_collections:main
41
+ list_data_classes = commands.cat.list_data_designer:main_classes
42
+ list_data_fields = commands.cat.list_data_designer:main_fields
43
+ list_data_structures = commands.cat.list_data_designer:main_structs
44
+ list_data_structures_full = commands.cat.list_data_structures_full:main
45
+ list_deployed_catalogs = commands.cat.list_deployed_catalogs:main
46
+ list_deployed_databases = commands.cat.list_deployed_databases:main
47
+ list_deployed_schemas = commands.cat.list_deployed_database_schemas:main
48
+ list_deployed_servers = commands.cat.list_deployed_servers:main
49
+ list_elements = commands.tech.list_all_om_type_elements:main
50
+ list_elements_by_classification_by_prop_value = commands.tech.list_elements_by_classification_by_property_value:main
51
+ list_elements_by_prop_value = commands.tech.list_elements_by_property_value:main
52
+ list_elements_by_prop_value_x = commands.tech.list_elements_by_property_value_x:main
53
+ list_elements_for_classification = commands.tech.list_elements_for_classification:main
54
+ list_elements_x = commands.tech.list_all_om_type_elements_x:main
55
+ list_engine_activity = commands.ops.monitor_engine_activity:main_paging
56
+ list_engine_activity_compressed = commands.ops.monitor_engine_activity_c:main_paging
57
+ list_format_set = commands.cat.list_format_set:main
58
+ list_glossaries = commands.cat.list_glossaries:main
59
+ list_gov_action_processes = commands.tech.list_gov_action_processes:main
60
+ list_gov_eng_status = commands.ops.monitor_gov_eng_status:main_paging
61
+ list_info_supply_chains = commands.tech.list_information_supply_chains:main
62
+ list_integ_daemon_status = commands.ops.monitor_integ_daemon_status:main_paging
63
+ list_my_profile = commands.my.list_my_profile:main
64
+ list_my_roles = commands.my.list_my_roles:main
65
+ list_projects = commands.cat.list_projects:main
66
+ list_registered_services = commands.tech.list_registered_services:main
67
+ list_related_elements_with_prop_value = commands.tech.list_related_elements_with_prop_value:main
68
+ list_related_specification = commands.tech.list_related_specification:main
69
+ list_relationship_types = commands.tech.list_relationship_types:main
70
+ list_relationships = commands.tech.list_relationships:main
71
+ list_solution_blueprints = commands.tech.list_solution_blueprints:main
72
+ list_solution_components = commands.tech.list_solution_components:main
73
+ list_solution_roles = commands.tech.list_solution_roles:main
74
+ list_tech_templates = commands.tech.list_tech_templates:main
75
+ list_tech_type_elements = commands.cat.list_tech_type_elements:main
76
+ list_tech_types = commands.cat.list_tech_types:main
77
+ list_terms = commands.cat.list_terms:main
78
+ list_todos = commands.cat.list_todos:main
79
+ list_user_ids = commands.cat.list_user_ids:main
80
+ list_valid_metadata_values = commands.tech.list_valid_metadata_values:main
81
+ load_archive = commands.ops.load_archive:load_archive
82
+ load_archive_tui = commands.ops.load_archive:tui
83
+ load_terms_from_csv_file = commands.cat.glossary_actions:import_terms_csv
84
+ mark_todo_complete = commands.my.todo_actions:mark_todo_complete
85
+ monitor_asset_events = commands.ops.monitor_asset_events:main
86
+ monitor_coco_status = commands.ops.monitor_coco_status:main
87
+ monitor_engine_activity = commands.ops.monitor_engine_activity:main_live
88
+ monitor_engine_activity_compressed = commands.ops.monitor_engine_activity_c:main_live
89
+ monitor_gov_eng_status = commands.ops.monitor_gov_eng_status:main_live
90
+ monitor_integ_daemon_status = commands.ops.monitor_integ_daemon_status:main_live
91
+ monitor_my_todos = commands.my.monitor_my_todos:main
92
+ monitor_open_todos = commands.my.monitor_open_todos:main
93
+ monitor_platform_status = commands.ops.monitor_platform_status:main
94
+ monitor_server_list = commands.ops.orig_monitor_server_list:main
95
+ monitor_server_startup = commands.ops.monitor_server_startup:main
96
+ monitor_server_status = commands.ops.monitor_server_status:main
97
+ pyegeria-mcp = pyegeria.mcp_server:main
98
+ reassign_todo = commands.my.todo_actions:reassign_todo
99
+ refresh_gov_eng_config = commands.ops.gov_server_actions:refresh_gov_eng_config
100
+ refresh_integration_daemon = commands.ops.refresh_integration_daemon:main
101
+ remove_term_from_category = commands.cat.glossary_actions:remove_term_from_category
102
+ restart_integration_daemon = commands.ops.restart_integration_daemon:main
103
+ start_daemon = commands.ops.engine_actions:start_daemon
104
+ stop_daemon = commands.ops.engine_actions:stop_daemon
105
+ update_category = commands.cat.glossary_actions:update_category
@@ -0,0 +1,3 @@
1
+ commands
2
+ md_processing
3
+ pyegeria
commands/README.md DELETED
@@ -1,47 +0,0 @@
1
- <!-- SPDX-License-Identifier: CC-BY-4.0 -->
2
- <!-- Copyright Contributors to the Egeria project. -->
3
-
4
- The Commands in this directory provide a simple but useful command line interface for the Egeria environment. They
5
- are built with the **Rich** python package and demonstrate the use of **pyegeria**. More detailed documentation can be
6
- found in the `doc` folder.
7
-
8
- The commands can either be invoked from one of the command line interfaces or executed directly as python scripts.
9
- To invoke the commands directly, install them with pipx by invoking:
10
-
11
- `pipx install pyegeria`
12
-
13
- Some of the widgets are "live" - that is running continuously until ctrl-c is issued to interrupt it. Other widgets are
14
- **paged** to allow you to page through long lists of content. Paged interfaces have a similar behaviour to the unix
15
- `more` command - so, for example you type `q` to quit.
16
-
17
- As the number of widgets has grown, they have been organized by role into different sub-directories:
18
-
19
- * cat (catalog_user) - for users of the Egeria environment
20
- * cli - command line interfaces to simplify finding and using the commands
21
- * my - for visualizing work and individual items
22
- * ops - for configuring and operating Egeria
23
- * tech - for technical users to configure and use Egeria
24
-
25
- The command line interfaces (CLIs) can be invoked with:
26
-
27
- hey_egeria - provides access to all commands
28
- hey_egeria_cat - access for commands used by catalog users
29
- hey_egeria_my - access to personal information commands for all users
30
- hey_egeria_ops - access to operations commands
31
- hey_egeria_tech - access to commands for technical users
32
-
33
- Each of these CLIs have a textual user interface (TUI) that provides a forms based approach
34
- to utilizing each command. You invoke the TUI by adding `tui` to the cli command. For instance:
35
-
36
- `hey_egeria_cat tui`
37
-
38
- To execute a command from the TUI type ctrl-R.
39
-
40
-
41
- To upgrade the CLI commands you can type:
42
-
43
- `pipx upgrade pyegeria`
44
-
45
- ----
46
- License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/),
47
- Copyright Contributors to the Egeria project.
commands/cat/README.md DELETED
@@ -1,16 +0,0 @@
1
- <!-- SPDX-License-Identifier: CC-BY-4.0 -->
2
- <!-- Copyright Contributors to the Egeria project. -->
3
-
4
- # Catalog User
5
-
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.
8
-
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
- * view_asset_graph.py - shows a tree view of an asset with its nested elements and relationships.
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.
13
- * get_asset_graph.py - shows an asset with all its relationships as a tree graph.
14
- ----
15
- License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/),
16
- Copyright Contributors to the Egeria project.
commands/cli/debug_log DELETED
File without changes