pyegeria 5.4.0.dev10__py3-none-any.whl → 5.4.0.dev12__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 (30) hide show
  1. commands/cat/debug_log +6290 -6042
  2. commands/cat/debug_log.2025-07-01_15-22-20_102237.zip +0 -0
  3. commands/cat/debug_log.2025-07-04_15-43-28_460900.zip +0 -0
  4. commands/cat/debug_log.2025-07-06_20-48-04_338314.zip +0 -0
  5. commands/cat/debug_log.2025-07-09_10-17-09_526262.zip +0 -0
  6. commands/cat/dr_egeria_md.py +24 -14
  7. commands/cat/list_collections.py +11 -4
  8. md_processing/__init__.py +3 -1
  9. md_processing/data/commands.json +7842 -2231
  10. md_processing/md_commands/data_designer_commands.py +67 -80
  11. md_processing/md_commands/glossary_commands.py +3 -1
  12. md_processing/md_commands/product_manager_commands.py +1746 -0
  13. md_processing/md_commands/solution_architect_commands.py +390 -236
  14. md_processing/md_processing_utils/common_md_proc_utils.py +8 -6
  15. md_processing/md_processing_utils/md_processing_constants.py +25 -4
  16. pyegeria/__init__.py +1 -0
  17. pyegeria/_client.py +0 -1
  18. pyegeria/collection_manager_omvs.py +504 -546
  19. pyegeria/data_designer_omvs.py +16 -8
  20. pyegeria/egeria_tech_client.py +9 -25
  21. pyegeria/governance_officer_omvs.py +1446 -1343
  22. pyegeria/output_formatter.py +96 -8
  23. pyegeria/solution_architect_omvs.py +2278 -1728
  24. {pyegeria-5.4.0.dev10.dist-info → pyegeria-5.4.0.dev12.dist-info}/METADATA +1 -1
  25. {pyegeria-5.4.0.dev10.dist-info → pyegeria-5.4.0.dev12.dist-info}/RECORD +28 -25
  26. commands/cat/debug_log.2025-06-24_15-51-28_769553.zip +0 -0
  27. commands/cat/debug_log.2025-06-26_11-18-40_644650.zip +0 -0
  28. {pyegeria-5.4.0.dev10.dist-info → pyegeria-5.4.0.dev12.dist-info}/LICENSE +0 -0
  29. {pyegeria-5.4.0.dev10.dist-info → pyegeria-5.4.0.dev12.dist-info}/WHEEL +0 -0
  30. {pyegeria-5.4.0.dev10.dist-info → pyegeria-5.4.0.dev12.dist-info}/entry_points.txt +0 -0
@@ -4283,7 +4283,7 @@ r replace_all_properties: bool, default = False
4283
4283
  ignore_case_s = str(ignore_case).lower()
4284
4284
 
4285
4285
  possible_query_params = query_string(
4286
- [("startFrom", start_from), ("pageSize", page_size), ("startsWith", ends_with_s), ("endsWith", ends_with_s),
4286
+ [("startFrom", start_from), ("pageSize", page_size), ("startsWith", starts_with_s), ("endsWith", ends_with_s),
4287
4287
  ("ignoreCase", ignore_case_s)])
4288
4288
 
4289
4289
  url = (f"{base_path(self, self.view_server)}/data-classes/by-search-string"
@@ -5308,7 +5308,7 @@ r replace_all_properties: bool, default = False
5308
5308
  Args:
5309
5309
  elements: Dictionary or list of dictionaries containing element data
5310
5310
  filter: The search string used to find the elements
5311
- output_format: The desired output format (MD, FORM, REPORT, LIST, DICT, MERMAID)
5311
+ output_format: The desired output format (MD, FORM, REPORT, LIST, DICT, MERMAID, HTML)
5312
5312
 
5313
5313
  Returns:
5314
5314
  Formatted output as string or list of dictionaries
@@ -5318,6 +5318,14 @@ r replace_all_properties: bool, default = False
5318
5318
  return extract_mermaid_only(elements)
5319
5319
  elif output_format == "DICT":
5320
5320
  return extract_basic_dict(elements)
5321
+ elif output_format == "HTML":
5322
+ return generate_output(
5323
+ elements=elements,
5324
+ search_string=filter,
5325
+ entity_type="Data Element",
5326
+ output_format="HTML",
5327
+ extract_properties_func=self._extract_data_structure_properties
5328
+ )
5321
5329
 
5322
5330
  # For other formats (MD, FORM, REPORT, LIST), use generate_output
5323
5331
  elif output_format in ["MD", "FORM", "REPORT", "LIST"]:
@@ -5339,12 +5347,12 @@ r replace_all_properties: bool, default = False
5339
5347
  Args:
5340
5348
  elements: Dictionary or list of dictionaries containing data structure elements
5341
5349
  filter: The search string used to find the elements
5342
- output_format: The desired output format (MD, FORM, REPORT, LIST, DICT, MERMAID)
5350
+ output_format: The desired output format (MD, FORM, REPORT, LIST, DICT, MERMAID, HTML)
5343
5351
 
5344
5352
  Returns:
5345
5353
  Formatted output as string or list of dictionaries
5346
5354
  """
5347
- if output_format in ["MD", "FORM", "REPORT", "LIST", "MERMAID"]:
5355
+ if output_format in ["MD", "FORM", "REPORT", "LIST", "MERMAID", "HTML"]:
5348
5356
  # Define columns for LIST format
5349
5357
  columns = [{'name': 'Structure Name', 'key': 'display_name'},
5350
5358
  {'name': 'Qualified Name', 'key': 'qualified_name','format': True}, {'name': 'Namespace', 'key': 'namespace'},
@@ -5364,12 +5372,12 @@ r replace_all_properties: bool, default = False
5364
5372
  Args:
5365
5373
  elements: Dictionary or list of dictionaries containing data class elements
5366
5374
  filter: The search string used to find the elements
5367
- output_format: The desired output format (MD, FORM, REPORT, LIST, DICT, MERMAID)
5375
+ output_format: The desired output format (MD, FORM, REPORT, LIST, DICT, MERMAID, HTML)
5368
5376
 
5369
5377
  Returns:
5370
5378
  Formatted output as string or list of dictionaries
5371
5379
  """
5372
- if output_format in ["DICT", "MD", "FORM", "REPORT", "LIST", "MERMAID"]:
5380
+ if output_format in ["DICT", "MD", "FORM", "REPORT", "LIST", "MERMAID", "HTML"]:
5373
5381
  # Define columns for LIST format
5374
5382
  columns = [{'name': 'Class Name', 'key': 'display_name'},
5375
5383
  {'name': 'Qualified Name', 'key': 'qualified_name','format': True},
@@ -5388,12 +5396,12 @@ r replace_all_properties: bool, default = False
5388
5396
  Args:
5389
5397
  elements: Dictionary or list of dictionaries containing data field elements
5390
5398
  filter: The search string used to find the elements
5391
- output_format: The desired output format (MD, FORM, REPORT, LIST, DICT, MERMAID)
5399
+ output_format: The desired output format (MD, FORM, REPORT, LIST, DICT, MERMAID, HTML)
5392
5400
 
5393
5401
  Returns:
5394
5402
  Formatted output as a string or list of dictionaries
5395
5403
  """
5396
- if output_format in ["MD", "FORM", "REPORT", "LIST", "DICT", "MERMAID"]:
5404
+ if output_format in ["MD", "FORM", "REPORT", "LIST", "DICT", "MERMAID", "HTML"]:
5397
5405
  # Define columns for LIST format
5398
5406
  columns = [{'name': 'Field Name', 'key': 'display_name'},
5399
5407
  {'name': 'Qualified Name', 'key': 'qualified_name','format': True}, {'name': 'Data Type', 'key': 'data_type'},
@@ -5,37 +5,17 @@ Copyright Contributors to the ODPi Egeria project.
5
5
  Runtime manager is a view service that supports user interaction with the running platforms.
6
6
 
7
7
  """
8
- from pyegeria.x_action_author_omvs import ActionAuthor
9
- from pyegeria.asset_catalog_omvs import AssetCatalog
10
- from pyegeria.collection_manager_omvs import CollectionManager
11
- from pyegeria.glossary_manager_omvs import GlossaryManager
12
- from pyegeria.project_manager_omvs import ProjectManager
13
8
  from pyegeria.automated_curation_omvs import AutomatedCuration
14
9
  from pyegeria.classification_manager_omvs import ClassificationManager
15
- from pyegeria.template_manager_omvs import TemplateManager
16
- from pyegeria.runtime_manager_omvs import RuntimeManager
17
- from pyegeria.full_omag_server_config import FullServerConfig
18
- from pyegeria.metadata_explorer_omvs import MetadataExplorer
19
- from pyegeria.egeria_my_client import EgeriaMy
20
- from pyegeria.solution_architect_omvs import SolutionArchitect
21
- from pyegeria.server_operations import ServerOps
22
- from pyegeria.registered_info import RegisteredInfo
23
- from pyegeria.valid_metadata_omvs import ValidMetadataManager
10
+ from pyegeria.data_designer_omvs import DataDesigner
24
11
  from pyegeria.egeria_cat_client import EgeriaCat
25
12
  from pyegeria.metadata_explorer_omvs import MetadataExplorer
26
- from pyegeria.feedback_manager_omvs import FeedbackManager
27
- from pyegeria.my_profile_omvs import MyProfile
13
+ from pyegeria.registered_info import RegisteredInfo
14
+ from pyegeria.runtime_manager_omvs import RuntimeManager
28
15
  from pyegeria.solution_architect_omvs import SolutionArchitect
29
- from pyegeria.data_designer_omvs import DataDesigner
30
16
  from pyegeria.template_manager_omvs import TemplateManager
31
- from pyegeria.my_profile_omvs import MyProfile
32
- from pyegeria.utils import body_slimmer
33
- from pyegeria import (
34
- INTEGRATION_GUIDS,
35
- TEMPLATE_GUIDS, # ActionAuthor,
36
- max_paging_size,
37
- )
38
- from pyegeria._exceptions import InvalidParameterException
17
+ from pyegeria.valid_metadata_omvs import ValidMetadataManager
18
+ from pyegeria.governance_officer_omvs import GovernanceOfficer
39
19
 
40
20
 
41
21
  class EgeriaTech(
@@ -50,6 +30,7 @@ class EgeriaTech(
50
30
  SolutionArchitect,
51
31
  DataDesigner,
52
32
  TemplateManager,
33
+ GovernanceOfficer,
53
34
  ):
54
35
  """
55
36
  Client for technical Egeria users.
@@ -110,6 +91,9 @@ class EgeriaTech(
110
91
  TemplateManager.__init__(
111
92
  self, view_server, platform_url, user_id, user_pwd, token
112
93
  )
94
+ GovernanceOfficer.__init__(
95
+ self, view_server, platform_url, user_id, user_pwd, token
96
+ )
113
97
 
114
98
  if __name__ == "__main__":
115
99
  print("Main-Tech Client")