pyegeria 0.2.4__py3-none-any.whl → 5.3.0.dev3__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 (239) hide show
  1. pyegeria/README.md +35 -0
  2. pyegeria/__init__.py +345 -14
  3. pyegeria/_client.py +376 -126
  4. pyegeria/_deprecated_gov_engine.py +451 -0
  5. pyegeria/_exceptions.py +6 -6
  6. pyegeria/_globals.py +7 -1
  7. pyegeria/_validators.py +9 -6
  8. pyegeria/asset_catalog_omvs.py +807 -0
  9. pyegeria/automated_curation_omvs.py +3760 -0
  10. pyegeria/classification_manager_omvs.py +5238 -0
  11. pyegeria/collection_manager_omvs.py +2727 -0
  12. pyegeria/commands/README.md +47 -0
  13. pyegeria/commands/__init__.py +22 -0
  14. pyegeria/commands/cat/README.md +16 -0
  15. pyegeria/commands/cat/__init__.py +1 -0
  16. pyegeria/commands/cat/exp_list_glossaries.py +156 -0
  17. pyegeria/commands/cat/get_asset_graph.py +319 -0
  18. pyegeria/commands/cat/get_collection.py +148 -0
  19. pyegeria/commands/cat/get_project_dependencies.py +168 -0
  20. pyegeria/commands/cat/get_project_structure.py +168 -0
  21. pyegeria/commands/cat/get_tech_type_elements.py +174 -0
  22. pyegeria/commands/cat/glossary_actions.py +362 -0
  23. pyegeria/commands/cat/list_assets.py +176 -0
  24. pyegeria/commands/cat/list_cert_types.py +194 -0
  25. pyegeria/commands/cat/list_collections.py +162 -0
  26. pyegeria/commands/cat/list_deployed_catalogs.py +217 -0
  27. pyegeria/commands/cat/list_deployed_database_schemas.py +251 -0
  28. pyegeria/commands/cat/list_deployed_databases.py +202 -0
  29. pyegeria/commands/cat/list_glossaries.py +150 -0
  30. pyegeria/commands/cat/list_projects.py +221 -0
  31. pyegeria/commands/cat/list_servers_deployed_imp.py +158 -0
  32. pyegeria/commands/cat/list_tech_type_elements.py +190 -0
  33. pyegeria/commands/cat/list_tech_types.py +140 -0
  34. pyegeria/commands/cat/list_terms.py +242 -0
  35. pyegeria/commands/cat/list_todos.py +189 -0
  36. pyegeria/commands/cat/list_user_ids.py +145 -0
  37. pyegeria/commands/cli/__init__.py +13 -0
  38. pyegeria/commands/cli/egeria.py +1844 -0
  39. pyegeria/commands/cli/egeria_cat.py +638 -0
  40. pyegeria/commands/cli/egeria_login_tui.py +313 -0
  41. pyegeria/commands/cli/egeria_my.py +248 -0
  42. pyegeria/commands/cli/egeria_ops.py +502 -0
  43. pyegeria/commands/cli/egeria_tech.py +618 -0
  44. pyegeria/commands/cli/ops_config.py +45 -0
  45. pyegeria/commands/cli/txt_custom_v2.tcss +19 -0
  46. pyegeria/commands/doc/README.md +145 -0
  47. pyegeria/commands/doc/Visual Command Reference/README.md +511 -0
  48. pyegeria/commands/doc/Visual Command Reference/cat/show/assets/asset-graph 2024-11-20 at 15.56.42.png +0 -0
  49. pyegeria/commands/doc/Visual Command Reference/cat/show/assets/assets-in-domain 2024-11-20 at 15.49.55@2x.png +0 -0
  50. pyegeria/commands/doc/Visual Command Reference/cat/show/assets/elements-of-type 2024-11-20 at 16.01.35.png +0 -0
  51. pyegeria/commands/doc/Visual Command Reference/cat/show/assets/tech-type-elements 2024-11-20 at 16.05.05.png +0 -0
  52. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-data-catalogs 2024-12-17 at 15.43.27@2x.png +0 -0
  53. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-data-catalogs-2024-11-20 at 16.17.43@2x.png +0 -0
  54. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-schemas 2024-11-25 at 20.14.50@2x.png +0 -0
  55. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-schemas 2024-12-17 at 15.48.38@2x.png +0 -0
  56. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-servers 2024-11-25 at 20.21.25@2x.png +0 -0
  57. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-servers 2024-12-17 at 15.52.16@2x.png +0 -0
  58. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed_databases 2024-12-16 at 16.40.31@2x.png +0 -0
  59. pyegeria/commands/doc/Visual Command Reference/cat/show/glossary/list-glossaries 2024-11-25 at 20.30.02.png +0 -0
  60. pyegeria/commands/doc/Visual Command Reference/cat/show/glossary/list-terms 2024-11-25 at 20.32.11.png +0 -0
  61. pyegeria/commands/doc/Visual Command Reference/cat/show/info/asset-types 2024-11-25 at 20.34.19@2x.png +0 -0
  62. pyegeria/commands/doc/Visual Command Reference/cat/show/info/certification-types 2024-11-25 at 20.37.07.png +0 -0
  63. pyegeria/commands/doc/Visual Command Reference/cat/show/info/collection-graph 2024-12-12 at 11.33.18@2x.png +0 -0
  64. pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-collections 2024-12-10 at 14.25.51@2x.png +0 -0
  65. pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-todos 2024-12-12 at 11.46.30@2x.png +0 -0
  66. pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-user-ids 2024-12-12 at 11.51.09@2x.png +0 -0
  67. pyegeria/commands/doc/Visual Command Reference/cat/show/info/tech-types 2024-12-12 at 11.37.20@2x.png +0 -0
  68. pyegeria/commands/doc/Visual Command Reference/cat/show/projects/project_dependencies 2024-12-14 at 16.24.39@2x.png +0 -0
  69. pyegeria/commands/doc/Visual Command Reference/cat/show/projects/project_structure 2024-12-14 at 16.21.35@2x.png +0 -0
  70. pyegeria/commands/doc/Visual Command Reference/cat/show/projects/projects 2024-12-14 at 16.18.10@2x.png +0 -0
  71. pyegeria/commands/doc/Visual Command Reference/hey_egeria tui 2024-12-16 at 16.58.22@2x.png +0 -0
  72. pyegeria/commands/doc/Visual Command Reference/my/show/my_profile 2024-12-14 at 16.29.27@2x.png +0 -0
  73. pyegeria/commands/doc/Visual Command Reference/my/show/my_roles 2024-12-14 at 16.32.10@2x.png +0 -0
  74. pyegeria/commands/doc/Visual Command Reference/my/show/my_todos 2024-12-15 at 16.24.13@2x.png +0 -0
  75. pyegeria/commands/doc/Visual Command Reference/my/show/open_todos 2024-12-14 at 16.36.12@2x.png +0 -0
  76. pyegeria/commands/doc/Visual Command Reference/ops/show/engines/list_engine_activity compressed 2024-12-15 at 16.48.48@2x.png +0 -0
  77. pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_activity 2024-12-15 at 16.32.55@2x.png +0 -0
  78. pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_activity compressed 2024-12-15 at 16.38.29@2x.png +0 -0
  79. pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_status 2024-12-15 at 16.51.26.jpeg +0 -0
  80. pyegeria/commands/doc/Visual Command Reference/ops/show/integrations/monitor_integration_daemon_status 2024-12-15 at 16.57.12@2x.png +0 -0
  81. pyegeria/commands/doc/Visual Command Reference/ops/show/integrations/monitor_integration_targets 2024-12-15 at 17.02.19@2x.png +0 -0
  82. pyegeria/commands/doc/Visual Command Reference/ops/show/platforms/monitor_platform_status 2024-12-15 at 19.53.18@2x.png +0 -0
  83. pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_server_status 2024-12-15 at 19.59.39@2x.png +0 -0
  84. pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_server_status full 2024-12-15 at 20.01.57@2x.png +0 -0
  85. pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_startup_servers 2024-12-15 at 19.56.07@2x.png +0 -0
  86. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/get_anchored_elements 2024-12-15 at 21.25.41@2x.png +0 -0
  87. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/get_elements_of_om_type 2024-12-16 at 14.39.59@2x.png +0 -0
  88. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/info_for_guid 2024-12-16 at 11.35.29@2x.png +0 -0
  89. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/list_elements_by_om-type 2024-12-16 at 14.24.18@2x.png +0 -0
  90. pyegeria/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
  91. pyegeria/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
  92. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/related_elements 2024-12-16 at 14.55.01@2x.png +0 -0
  93. pyegeria/commands/doc/Visual Command Reference/tech/show/elements/show_related_specifications 2024-12-16 at 15.04.55@2x.png +0 -0
  94. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/asset_types 2024-12-16 at 15.10.16@2x.png +0 -0
  95. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/detailed_governance_action_processes 2024-12-16 at 15.16.26@2x.png +0 -0
  96. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/governance_action_processes 2024-12-16 at 15.13.01@2x.png +0 -0
  97. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/registered_services 2024-12-16 at 16.44.54@2x.png +0 -0
  98. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-16 at 16.20.34@2x.png +0 -0
  99. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-19 at 10.51.54@2x.png +0 -0
  100. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/valid_metadata_values 2024-12-16 at 15.31.56@2x.png +0 -0
  101. pyegeria/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
  102. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/list_technology_types 2024-12-16 at 15.39.20@2x.png +0 -0
  103. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/tech_type_details 2024-12-16 at 15.37.21@2x.png +0 -0
  104. pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/tech_type_templates 2024-12-16 at 16.11.48@2x.png +0 -0
  105. pyegeria/commands/doc/glossary/basic-glossary-tui.md +109 -0
  106. pyegeria/commands/doc/glossary/images/delete-glossary-step1 2024-11-06 at 15.47.23@2x.png +0 -0
  107. pyegeria/commands/doc/glossary/images/delete-glossary-step2 2024-11-06 at 15.51.29@2x.png +0 -0
  108. pyegeria/commands/doc/glossary/images/delete-glossary-step3 2024-11-06 at 15.53.19@2x.png +0 -0
  109. pyegeria/commands/doc/glossary/images/delete-glossary-step4 2024-11-06 at 15.55.11@2x.png +0 -0
  110. pyegeria/commands/doc/glossary/images/out-create-glossary example 2024-11-05 at 20.38.04@2x.png +0 -0
  111. pyegeria/commands/doc/glossary/images/out-create-term 2024-11-06 at 20.48.29.png +0 -0
  112. pyegeria/commands/doc/glossary/images/out-delete-term 2024-11-07 at 03.57.25.png +0 -0
  113. pyegeria/commands/doc/glossary/images/out-display-terms-for-glossary-test 2024-11-06 at 20.51.28.png +0 -0
  114. pyegeria/commands/doc/glossary/images/out-export-example 2024-11-07 at 09.54.57.png +0 -0
  115. pyegeria/commands/doc/glossary/images/out-exported-terms 2024-11-06 at 21.06.32.png +0 -0
  116. pyegeria/commands/doc/glossary/images/out-glossary-list example 2024-11-05 at 20.41.02@2x.png +0 -0
  117. pyegeria/commands/doc/glossary/images/out-import-terms 2024-11-07 at 08.15.18.png +0 -0
  118. pyegeria/commands/doc/glossary/images/out-list-all-terms 2024-11-06 at 16.22.20@2x.png +0 -0
  119. pyegeria/commands/doc/glossary/images/out-list-terms-for-example 2024-11-06 at 16.40.12.png +0 -0
  120. pyegeria/commands/doc/glossary/images/out-list-terms-second 2024-11-06 at 16.45.13.png +0 -0
  121. pyegeria/commands/doc/glossary/images/out-pipx install pyegeria 2024-11-10 at 18.12.21.png +0 -0
  122. pyegeria/commands/doc/glossary/images/out-server-status-full 2024-11-10 at 18.25.14.png +0 -0
  123. pyegeria/commands/doc/glossary/images/out-servers-status 2024-11-10 at 18.15.42.png +0 -0
  124. pyegeria/commands/doc/glossary/images/out-upsert-import 2024-11-07 at 19.37.00.png +0 -0
  125. pyegeria/commands/doc/glossary/images/tui-2024-11-10 at 18.26.29.png +0 -0
  126. pyegeria/commands/doc/glossary/images/tui-create-glossary example 2024-11-05 at 20.34.24@2x.png +0 -0
  127. pyegeria/commands/doc/glossary/images/tui-create-term 2024-11-06 at 20.46.35.png +0 -0
  128. pyegeria/commands/doc/glossary/images/tui-delete-term 2024-11-07 at 03.51.57.png +0 -0
  129. pyegeria/commands/doc/glossary/images/tui-display-terms-for-example 2024-11-06 at 20.56.49.png +0 -0
  130. pyegeria/commands/doc/glossary/images/tui-export-example 2024-11-07 at 09.52.59.png +0 -0
  131. pyegeria/commands/doc/glossary/images/tui-hey-egeria 2024-11-10 at 18.31.01.png +0 -0
  132. pyegeria/commands/doc/glossary/images/tui-import-upsert-example 2024-11-07 at 10.08.37.png +0 -0
  133. pyegeria/commands/doc/glossary/images/tui-list-terms-second 2024-11-06 at 16.46.34.png +0 -0
  134. pyegeria/commands/doc/glossary/images/tui-load-archive.png +0 -0
  135. pyegeria/commands/doc/glossary/images/tui-server-status-full 2024-11-10 at 19.14.36.png +0 -0
  136. pyegeria/commands/doc/glossary/images/tui-show-glossaries 2024-11-07 at 20.00.05.png +0 -0
  137. pyegeria/commands/doc/glossary/images/tui-show-glossary-terms 2024-11-05 at 19.37.53@2x.png +0 -0
  138. pyegeria/commands/doc/glossary/images/tui-upsert 2024-11-07 at 11.49.04.png +0 -0
  139. pyegeria/commands/doc/glossary/images/upsert-example.om-terms 2024-11-07 at 11.44.05.png +0 -0
  140. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/README.md +346 -0
  141. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/CleanShot 2024-11-18 at 21.32.03@2x.png +0 -0
  142. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/Xmind 1731421782704.png +0 -0
  143. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/Xmind 1731422134920.png +0 -0
  144. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/hey_egeria 2024-11-12 at 20.38.43.png +0 -0
  145. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/hey_egeria cat 2024-11-12 at 21.41.43.png +0 -0
  146. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-integ-status-list 2024-11-12 at 16.45.26.png +0 -0
  147. pyegeria/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
  148. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-server-status 2024-11-10 at 18.15.42@2x.png +0 -0
  149. pyegeria/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
  150. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/short-cut commands 2024-11-12 at 22.22.13.png +0 -0
  151. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-hey-egeria.png +0 -0
  152. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-integration-status-paging.png +0 -0
  153. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-load-archive 2024-11-10 at 19.19.09@2x.png +0 -0
  154. pyegeria/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
  155. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-show-server-status-full 2024-11-10.png +0 -0
  156. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-status-paging 2024-11-12 at 16.26.14@2x.png +0 -0
  157. pyegeria/commands/my/README.md +17 -0
  158. pyegeria/commands/my/__init__.py +0 -0
  159. pyegeria/commands/my/list_my_profile.py +163 -0
  160. pyegeria/commands/my/list_my_roles.py +151 -0
  161. pyegeria/commands/my/monitor_my_todos.py +205 -0
  162. pyegeria/commands/my/monitor_open_todos.py +175 -0
  163. pyegeria/commands/my/todo_actions.py +242 -0
  164. pyegeria/commands/ops/README.md +24 -0
  165. pyegeria/commands/ops/__init__.py +22 -0
  166. pyegeria/commands/ops/gov_server_actions.py +177 -0
  167. pyegeria/commands/ops/list_archives.py +161 -0
  168. pyegeria/commands/ops/list_catalog_targets.py +203 -0
  169. pyegeria/commands/ops/load_archive.py +75 -0
  170. pyegeria/commands/ops/monitor_asset_events.py +107 -0
  171. pyegeria/commands/ops/monitor_engine_activity.py +270 -0
  172. pyegeria/commands/ops/monitor_engine_activity_c.py +286 -0
  173. pyegeria/commands/ops/monitor_gov_eng_status.py +288 -0
  174. pyegeria/commands/ops/monitor_integ_daemon_status.py +321 -0
  175. pyegeria/commands/ops/monitor_platform_status.py +188 -0
  176. pyegeria/commands/ops/monitor_server_startup.py +117 -0
  177. pyegeria/commands/ops/monitor_server_status.py +182 -0
  178. pyegeria/commands/ops/orig_monitor_server_list.py +140 -0
  179. pyegeria/commands/ops/orig_monitor_server_status.py +124 -0
  180. pyegeria/commands/ops/refresh_integration_daemon.py +83 -0
  181. pyegeria/commands/ops/restart_integration_daemon.py +82 -0
  182. pyegeria/commands/ops/table_integ_daemon_status.py +237 -0
  183. pyegeria/commands/ops/x_engine_actions.py +76 -0
  184. pyegeria/commands/tech/README.md +24 -0
  185. pyegeria/commands/tech/__init__.py +0 -0
  186. pyegeria/commands/tech/get_element_info.py +144 -0
  187. pyegeria/commands/tech/get_guid_info.py +134 -0
  188. pyegeria/commands/tech/get_tech_details.py +173 -0
  189. pyegeria/commands/tech/get_tech_type_template.py +166 -0
  190. pyegeria/commands/tech/list_anchored_elements.py +205 -0
  191. pyegeria/commands/tech/list_asset_types.py +123 -0
  192. pyegeria/commands/tech/list_elements.py +168 -0
  193. pyegeria/commands/tech/list_elements_for_classification.py +171 -0
  194. pyegeria/commands/tech/list_elements_x.py +191 -0
  195. pyegeria/commands/tech/list_gov_action_processes.py +139 -0
  196. pyegeria/commands/tech/list_registered_services.py +180 -0
  197. pyegeria/commands/tech/list_related_elements.py +207 -0
  198. pyegeria/commands/tech/list_related_specification.py +169 -0
  199. pyegeria/commands/tech/list_relationship_types.py +164 -0
  200. pyegeria/commands/tech/list_relationships.py +179 -0
  201. pyegeria/commands/tech/list_tech_templates.py +360 -0
  202. pyegeria/commands/tech/list_valid_metadata_values.py +178 -0
  203. pyegeria/commands/tech/table_tech_templates.py +238 -0
  204. pyegeria/commands/tech/x_list_related_elements.py +165 -0
  205. pyegeria/core_omag_server_config.py +550 -313
  206. pyegeria/create_tech_guid_lists.py +105 -0
  207. pyegeria/egeria_cat_client.py +78 -0
  208. pyegeria/egeria_client.py +117 -0
  209. pyegeria/egeria_config_client.py +45 -0
  210. pyegeria/egeria_my_client.py +56 -0
  211. pyegeria/egeria_tech_client.py +93 -0
  212. pyegeria/feedback_manager_omvs.py +4573 -0
  213. pyegeria/full_omag_server_config.py +1337 -0
  214. pyegeria/glossary_browser_omvs.py +2507 -0
  215. pyegeria/glossary_manager_omvs.py +3597 -0
  216. pyegeria/mermaid_utilities.py +218 -0
  217. pyegeria/metadata_explorer_omvs.py +2371 -0
  218. pyegeria/my_profile_omvs.py +1021 -0
  219. pyegeria/platform_services.py +259 -218
  220. pyegeria/project_manager_omvs.py +1854 -0
  221. pyegeria/registered_info.py +111 -108
  222. pyegeria/runtime_manager_omvs.py +2299 -0
  223. pyegeria/server_operations.py +178 -71
  224. pyegeria/template_manager_omvs.py +1414 -0
  225. pyegeria/utils.py +75 -85
  226. pyegeria/valid_metadata_omvs.py +1911 -0
  227. pyegeria/x_action_author_omvs.py +200 -0
  228. pyegeria-5.3.0.dev3.dist-info/METADATA +70 -0
  229. pyegeria-5.3.0.dev3.dist-info/RECORD +232 -0
  230. {pyegeria-0.2.4.dist-info → pyegeria-5.3.0.dev3.dist-info}/WHEEL +1 -1
  231. pyegeria-5.3.0.dev3.dist-info/entry_points.txt +81 -0
  232. pyegeria/config.toml +0 -11
  233. pyegeria/curation_omvs.py +0 -458
  234. pyegeria/exceptions.py +0 -382
  235. pyegeria/glossary_omvs.py +0 -639
  236. pyegeria/gov_engine.py +0 -573
  237. pyegeria-0.2.4.dist-info/METADATA +0 -57
  238. pyegeria-0.2.4.dist-info/RECORD +0 -19
  239. {pyegeria-0.2.4.dist-info/licenses → pyegeria-5.3.0.dev3.dist-info}/LICENSE +0 -0
@@ -0,0 +1,105 @@
1
+ """
2
+ SPDX-License-Identifier: Apache-2.0
3
+ Copyright Contributors to the ODPi Egeria project.
4
+
5
+ Script to create a new file to initiate tech guids.
6
+ These GUIDS should be copied into the pyegeria/__init__.py.
7
+
8
+ """
9
+ from datetime import datetime
10
+
11
+ from rich.console import Console
12
+
13
+ from pyegeria import AutomatedCuration, ServerOps
14
+
15
+ console = Console(width=200)
16
+
17
+
18
+ def build_global_guid_lists(
19
+ server: str = "view-server",
20
+ url: str = "https://localhost:9443",
21
+ user_id: str = "erinoverview",
22
+ user_pwd: str = "secret",
23
+ ) -> None:
24
+ """This is a utility function that builds arrays of guid lists for Templates & Connectors"""
25
+
26
+ cur_time = datetime.now().strftime("%d-%m-%Y %H:%M")
27
+ file_name = f"./tech_guids_{cur_time}.py"
28
+ a_client = AutomatedCuration(server, url, user_id=user_id, user_pwd=user_pwd)
29
+ token = a_client.create_egeria_bearer_token()
30
+ # get all technology types
31
+
32
+ tech_types = a_client.get_all_technology_types()
33
+ if type(tech_types) is list:
34
+ with open(file_name, "w") as f:
35
+ out = f"global template_guids, integration_guids\n"
36
+ f.write(out)
37
+ for tech_type in tech_types:
38
+ # get tech type details
39
+ display_name = tech_type["name"]
40
+
41
+ details = a_client.get_technology_type_detail(display_name)
42
+ if type(details) is str:
43
+ console.print(f"{display_name} technology type has no details")
44
+ continue
45
+ # get templates and update the template_guids global
46
+ templates = details.get("catalogTemplates", "Not Found")
47
+
48
+ if type(templates) is list:
49
+ for template in templates:
50
+ template_name = template.get("name", None).replace(
51
+ " template", ""
52
+ )
53
+ template_guid = template["relatedElement"]["guid"]
54
+ out = f"TEMPLATE_GUIDS['{template_name}'] = '{template_guid}'\n"
55
+ console.print(
56
+ f"Added {template_name} template with GUID {template_guid}"
57
+ )
58
+ f.write(out)
59
+ else:
60
+ console.print(f"{display_name} technology type has no templates")
61
+ # Now find the integration connector guids
62
+ resource_list = details.get("resourceList", " ")
63
+ if type(resource_list) is list:
64
+ for resource in resource_list:
65
+ resource_guid = resource["relatedElement"]["guid"]
66
+ resource_type = resource["relatedElement"]["type"]["typeName"]
67
+ if resource_type == "IntegrationConnector":
68
+ if resource["resourceUse"] == "Catalog Resource":
69
+ int_con = resource["relatedElement"]["uniqueName"]
70
+ int_con_name = int_con.split(":")[-1].replace(
71
+ "IntegrationConnector", ""
72
+ )
73
+
74
+ out = f"INTEGRATION_GUIDS['{int_con_name}'] = '{resource_guid}'\n"
75
+ console.print(
76
+ f"Added {int_con_name} integration connector with GUID {resource_guid}"
77
+ )
78
+ f.write(out)
79
+ else:
80
+ console.print(
81
+ f"{display_name} technology type has no integration connectors"
82
+ )
83
+ #
84
+ # Ok - now lets harvest integration connectors using get_integration_daemon_status from ServerOps
85
+ # Assume that integration daemon called integration_daemon
86
+ #
87
+ s_client = ServerOps(
88
+ "integration_daemon", url, user_id=user_id, user_pwd=user_pwd
89
+ )
90
+ integ_status = s_client.get_integration_daemon_status()
91
+
92
+ if type(integ_status) is dict:
93
+ connections = integ_status["integrationConnectorReports"]
94
+ for connection in connections:
95
+ int_con_name = connection["connectorName"]
96
+ resource_guid = connection["connectorGUID"]
97
+ out = f"INTEGRATION_GUIDS['{int_con_name}'] = '{resource_guid}'\n"
98
+ console.print(
99
+ f"Added {int_con_name} integration connector with GUID {resource_guid}"
100
+ )
101
+ f.write(out)
102
+
103
+
104
+ if __name__ == "__main__":
105
+ build_global_guid_lists()
@@ -0,0 +1,78 @@
1
+ """
2
+ SPDX-License-Identifier: Apache-2.0
3
+ Copyright Contributors to the ODPi Egeria project.
4
+
5
+ This class is meant to be a client for catalog users and currently inherits from
6
+ AssetCatalog, CollectionManager, GlossaryManager, and ProjectManager.
7
+
8
+ """
9
+
10
+ from pyegeria import (
11
+ AssetCatalog,
12
+ CollectionManager,
13
+ EgeriaMy,
14
+ GlossaryManager,
15
+ ProjectManager,
16
+ )
17
+
18
+
19
+ class EgeriaCat(
20
+ AssetCatalog,
21
+ CollectionManager,
22
+ EgeriaMy,
23
+ GlossaryManager,
24
+ # GovernanceAuthor,
25
+ # PeopleOrganizer,
26
+ ProjectManager,
27
+ ):
28
+ """
29
+ Client to issue Runtime status requests.
30
+
31
+ Attributes:
32
+
33
+ server_name: str
34
+ Name of the server to use.
35
+ platform_url : str
36
+ URL of the server platform to connect to
37
+ user_id : str
38
+ The identity of the user calling the method - this sets a default optionally used by the methods
39
+ when the user doesn't pass the user_id on a method call.
40
+ user_pwd: str
41
+ The password associated with the user_id. Defaults to None
42
+ token: str
43
+ An optional bearer token
44
+
45
+ Methods:
46
+
47
+ """
48
+
49
+ def __init__(
50
+ self,
51
+ view_server: str,
52
+ platform_url: str,
53
+ user_id: str,
54
+ user_pwd: str = None,
55
+ token: str = None,
56
+ ):
57
+ self.view_server = view_server
58
+ self.platform_url = platform_url
59
+ self.user_id = user_id
60
+ self.user_pwd = user_pwd
61
+
62
+ AssetCatalog.__init__(self, view_server, platform_url, user_id, user_pwd, token)
63
+ CollectionManager.__init__(
64
+ self, view_server, platform_url, user_id, user_pwd, token
65
+ )
66
+ EgeriaMy.__init__(self, view_server, platform_url, user_id, user_pwd, token)
67
+
68
+ GlossaryManager.__init__(
69
+ self, view_server, platform_url, user_id, user_pwd, token
70
+ )
71
+
72
+ ProjectManager.__init__(
73
+ self, view_server, platform_url, user_id, user_pwd, token
74
+ )
75
+
76
+
77
+ if __name__ == "__main__":
78
+ print("Egeria Cat Client")
@@ -0,0 +1,117 @@
1
+ """
2
+ SPDX-License-Identifier: Apache-2.0
3
+ Copyright Contributors to the ODPi Egeria project.
4
+
5
+ This class is the overall Egeria Client covering all of the functional pyegeria classes. May not be appropriate
6
+ for all use cases..using the more role based clients is often appropriate:
7
+ * EgeriaCat - for catalog users
8
+ * EgeriaConfig - for configuring the Egeria platform and servers
9
+ * EgeriaMy - for personal actions
10
+ * EgeriaOps - for operations and administration
11
+ * EgeriaTech - for technical users such as data scientists and engineers
12
+
13
+ """
14
+
15
+ from pyegeria import (
16
+ AssetCatalog,
17
+ CollectionManager,
18
+ EgeriaCat,
19
+ EgeriaMy,
20
+ GlossaryManager,
21
+ ProjectManager,
22
+ RuntimeManager,
23
+ ServerOps,
24
+ ActionAuthor,
25
+ AutomatedCuration,
26
+ ClassificationManager,
27
+ RegisteredInfo,
28
+ ValidMetadataManager,
29
+ FullServerConfig,
30
+ EgeriaConfig,
31
+ MetadataExplorer,
32
+ )
33
+
34
+
35
+ class Egeria(
36
+ AssetCatalog,
37
+ CollectionManager,
38
+ EgeriaMy,
39
+ GlossaryManager,
40
+ # GovernanceAuthor,
41
+ # PeopleOrganizer,
42
+ ProjectManager,
43
+ RuntimeManager,
44
+ ServerOps,
45
+ FullServerConfig,
46
+ ActionAuthor,
47
+ AutomatedCuration,
48
+ ClassificationManager,
49
+ RegisteredInfo,
50
+ # TemplateManager,
51
+ ValidMetadataManager,
52
+ MetadataExplorer,
53
+ ):
54
+ """
55
+ Client to issue Runtime status requests.
56
+
57
+ Attributes:
58
+
59
+ view_server: str
60
+ Name of the view server to use.
61
+ platform_url : str
62
+ URL of the server platform to connect to
63
+ user_id : str
64
+ The identity of the user calling the method - this sets a default optionally used by the methods
65
+ when the user doesn't pass the user_id on a method call.
66
+ user_pwd: str
67
+ The password associated with the user_id. Defaults to None
68
+ token: str
69
+ An optional bearer token
70
+
71
+ Methods:
72
+
73
+ """
74
+
75
+ def __init__(
76
+ self,
77
+ view_server: str,
78
+ platform_url: str,
79
+ user_id: str,
80
+ user_pwd: str = None,
81
+ token: str = None,
82
+ ):
83
+ AssetCatalog.__init__(self, view_server, platform_url, user_id, user_pwd, token)
84
+ CollectionManager.__init__(
85
+ self, view_server, platform_url, user_id, user_pwd, token
86
+ )
87
+
88
+ EgeriaMy.__init__(self, view_server, platform_url, user_id, user_pwd, token)
89
+
90
+ GlossaryManager.__init__(
91
+ self, view_server, platform_url, user_id, user_pwd, token
92
+ )
93
+
94
+ ProjectManager.__init__(
95
+ self, view_server, platform_url, user_id, user_pwd, token
96
+ )
97
+
98
+ RuntimeManager.__init__(
99
+ self, view_server, platform_url, user_id, user_pwd, token=token
100
+ )
101
+ ServerOps.__init__(self, view_server, platform_url, user_id, user_pwd)
102
+
103
+ EgeriaConfig.__init__(self, view_server, platform_url, user_id, user_pwd)
104
+
105
+ ActionAuthor.__init__(self, view_server, platform_url, user_id, user_pwd, token)
106
+ AutomatedCuration.__init__(
107
+ self, view_server, platform_url, user_id, user_pwd, token
108
+ )
109
+ ClassificationManager.__init__(
110
+ self, view_server, platform_url, user_id, user_pwd, token
111
+ )
112
+ RegisteredInfo.__init__(
113
+ self, view_server, platform_url, user_id, user_pwd, token
114
+ )
115
+ ValidMetadataManager.__init__(
116
+ self, view_server, platform_url, user_id, user_pwd, token
117
+ )
@@ -0,0 +1,45 @@
1
+ """
2
+ SPDX-License-Identifier: Apache-2.0
3
+ Copyright Contributors to the ODPi Egeria project.
4
+
5
+ Client to configure the Egeria platform and servers
6
+
7
+ """
8
+
9
+ from pyegeria import FullServerConfig, ServerOps
10
+
11
+
12
+ class EgeriaConfig(FullServerConfig, ServerOps):
13
+ """
14
+ Client for configuring the Egeria Platform and Servers
15
+
16
+ Attributes:
17
+
18
+ server_name: str
19
+ Name of the server to use.
20
+ platform_url : str
21
+ URL of the server platform to connect to
22
+ user_id : str
23
+ The identity of the user calling the method - this sets a default optionally used by the methods
24
+ when the user doesn't pass the user_id on a method call.
25
+ user_pwd: str
26
+ The password associated with the user_id. Defaults to None
27
+
28
+ Methods:
29
+ Inherits methods from FullServerConfig
30
+ """
31
+
32
+ def __init__(
33
+ self, server_name: str, platform_url: str, user_id: str, user_pwd: str = None
34
+ ):
35
+ self.server_name = server_name
36
+ self.platform_url = platform_url
37
+ self.user_id = user_id
38
+ self.user_pwd = user_pwd
39
+
40
+ FullServerConfig.__init__(self, server_name, platform_url, user_id, user_pwd)
41
+ ServerOps.__init__(self, server_name, platform_url, user_id, user_pwd)
42
+
43
+
44
+ if __name__ == "__main__":
45
+ print("Main-Config Client")
@@ -0,0 +1,56 @@
1
+ """
2
+ SPDX-License-Identifier: Apache-2.0
3
+ Copyright Contributors to the ODPi Egeria project.
4
+
5
+ Runtime manager is a view service that supports user interaction with the running platforms.
6
+
7
+ """
8
+
9
+ from pyegeria._exceptions import (
10
+ InvalidParameterException,
11
+ )
12
+ from pyegeria import max_paging_size, body_slimmer, MyProfile, FeedbackManager
13
+
14
+
15
+ class EgeriaMy(MyProfile, FeedbackManager):
16
+ """
17
+ Client to issue Runtime status requests.
18
+
19
+ Attributes:
20
+
21
+ view_server: str
22
+ Name of the server to use.
23
+ platform_url : str
24
+ URL of the server platform to connect to
25
+ user_id : str
26
+ The identity of the user calling the method - this sets a default optionally used by the methods
27
+ when the user doesn't pass the user_id on a method call.
28
+ user_pwd: str
29
+ The password associated with the user_id. Defaults to None
30
+
31
+
32
+ Methods:
33
+ Inherits from MyProfile, FeedbackManager
34
+ """
35
+
36
+ def __init__(
37
+ self,
38
+ view_server: str,
39
+ platform_url: str,
40
+ user_id: str,
41
+ user_pwd: str = None,
42
+ token: str = None,
43
+ ):
44
+ self.view_server = view_server
45
+ self.platform_url = platform_url
46
+ self.user_id = user_id
47
+ self.user_pwd = user_pwd
48
+
49
+ MyProfile.__init__(self, view_server, platform_url, user_id, user_pwd, token)
50
+ FeedbackManager.__init__(
51
+ self, view_server, platform_url, user_id, user_pwd, token
52
+ )
53
+
54
+
55
+ if __name__ == "__main__":
56
+ print("Main-Egeria My Client")
@@ -0,0 +1,93 @@
1
+ """
2
+ SPDX-License-Identifier: Apache-2.0
3
+ Copyright Contributors to the ODPi Egeria project.
4
+
5
+ Runtime manager is a view service that supports user interaction with the running platforms.
6
+
7
+ """
8
+
9
+ from pyegeria._exceptions import (
10
+ InvalidParameterException,
11
+ )
12
+ from pyegeria import (
13
+ max_paging_size,
14
+ body_slimmer,
15
+ MyProfile,
16
+ FeedbackManager,
17
+ EgeriaCat,
18
+ ValidMetadataManager,
19
+ AutomatedCuration,
20
+ # ActionAuthor,
21
+ ClassificationManager,
22
+ RegisteredInfo,
23
+ RuntimeManager,
24
+ TEMPLATE_GUIDS,
25
+ INTEGRATION_GUIDS,
26
+ MetadataExplorer,
27
+ )
28
+
29
+
30
+ class EgeriaTech(
31
+ # ActionAuthor,
32
+ AutomatedCuration,
33
+ EgeriaCat,
34
+ ClassificationManager,
35
+ RegisteredInfo,
36
+ RuntimeManager,
37
+ ValidMetadataManager,
38
+ MetadataExplorer,
39
+ ):
40
+ """
41
+ Client for technical Egeria users.
42
+
43
+ Attributes:
44
+
45
+ view_server: str
46
+ Name of the server to use.
47
+ platform_url : str
48
+ URL of the server platform to connect to
49
+ user_id : str
50
+ The identity of the user calling the method - this sets a default optionally used by the methods
51
+ when the user doesn't pass the user_id on a method call.
52
+ user_pwd: str
53
+ The password associated with the user_id. Defaults to None
54
+ token: str, optional
55
+ Bearer token
56
+
57
+ Methods:
58
+ Inherits methods from EgeriaCat, ActionAuthor, AutomatedCuration,
59
+ ClassificationManager, RegisteredInfo, ValidMetadataManager
60
+ """
61
+
62
+ def __init__(
63
+ self,
64
+ view_server: str,
65
+ platform_url: str,
66
+ user_id: str,
67
+ user_pwd: str = None,
68
+ token: str = None,
69
+ ):
70
+ # ActionAuthor.__init__(self, view_server, platform_url, user_id, user_pwd, token)
71
+ AutomatedCuration.__init__(
72
+ self, view_server, platform_url, user_id, user_pwd, token
73
+ )
74
+ EgeriaCat.__init__(self, view_server, platform_url, user_id, user_pwd, token)
75
+ ClassificationManager.__init__(
76
+ self, view_server, platform_url, user_id, user_pwd, token
77
+ )
78
+ RegisteredInfo.__init__(
79
+ self, view_server, platform_url, user_id, user_pwd, token
80
+ )
81
+ RuntimeManager.__init__(
82
+ self, view_server, platform_url, user_id, user_pwd, token
83
+ )
84
+ ValidMetadataManager.__init__(
85
+ self, view_server, platform_url, user_id, user_pwd, token
86
+ )
87
+ MetadataExplorer.__init__(
88
+ self, view_server, platform_url, user_id, user_pwd, token
89
+ )
90
+
91
+
92
+ if __name__ == "__main__":
93
+ print("Main-Tech Client")