pyegeria 5.4.0.dev14__py3-none-any.whl → 5.4.0.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. commands/cat/__init__.py +1 -17
  2. commands/cat/dr_egeria_md.py +6 -4
  3. commands/cat/list_collections.py +46 -36
  4. md_processing/__init__.py +5 -2
  5. md_processing/data/commands-working.json +34850 -0
  6. md_processing/data/commands.json +1750 -530
  7. md_processing/md_commands/product_manager_commands.py +171 -220
  8. md_processing/md_processing_utils/common_md_proc_utils.py +9 -0
  9. md_processing/md_processing_utils/common_md_utils.py +15 -2
  10. md_processing/md_processing_utils/md_processing_constants.py +44 -6
  11. pyegeria/__init__.py +8 -4
  12. pyegeria/_client.py +2 -1
  13. pyegeria/_client_new.py +688 -0
  14. pyegeria/_exceptions_new.py +364 -0
  15. pyegeria/_globals.py +3 -1
  16. pyegeria/_output_formats.py +196 -0
  17. pyegeria/_validators.py +72 -199
  18. pyegeria/collection_manager_omvs.py +602 -324
  19. pyegeria/data_designer_omvs.py +251 -203
  20. pyegeria/load_config.py +206 -0
  21. pyegeria/logging_configuration.py +204 -0
  22. pyegeria/output_formatter.py +162 -31
  23. pyegeria/utils.py +99 -61
  24. {pyegeria-5.4.0.dev14.dist-info → pyegeria-5.4.0.2.dist-info}/METADATA +4 -1
  25. {pyegeria-5.4.0.dev14.dist-info → pyegeria-5.4.0.2.dist-info}/RECORD +28 -37
  26. commands/cat/debug_log +0 -2806
  27. commands/cat/debug_log.2025-07-15_14-28-38_087378.zip +0 -0
  28. commands/cat/debug_log.2025-07-16_15-48-50_037087.zip +0 -0
  29. md_processing/dr_egeria_outbox-pycharm/.obsidian/app.json +0 -1
  30. md_processing/dr_egeria_outbox-pycharm/.obsidian/appearance.json +0 -1
  31. md_processing/dr_egeria_outbox-pycharm/.obsidian/core-plugins.json +0 -31
  32. md_processing/dr_egeria_outbox-pycharm/.obsidian/workspace.json +0 -177
  33. md_processing/dr_egeria_outbox-pycharm/monday/processed-2025-07-14 12:38-data_designer_out.md +0 -663
  34. md_processing/dr_egeria_outbox-pycharm/thursday/processed-2025-07-17 15:00-Derive-Dr-Gov-Defs.md +0 -719
  35. md_processing/dr_egeria_outbox-pycharm/thursday/processed-2025-07-17 20:13-Derive-Dr-Gov-Defs.md +0 -41
  36. md_processing/dr_egeria_outbox-pycharm/thursday/processed-2025-07-17 20:14-Derive-Dr-Gov-Defs.md +0 -33
  37. md_processing/dr_egeria_outbox-pycharm/thursday/processed-2025-07-17 20:50-Derive-Dr-Gov-Defs.md +0 -192
  38. md_processing/dr_egeria_outbox-pycharm/tuesday/processed-2025-07-16 19:15-gov_def2.md +0 -527
  39. md_processing/dr_egeria_outbox-pycharm/tuesday/processed-2025-07-17 12:08-gov_def2.md +0 -527
  40. md_processing/dr_egeria_outbox-pycharm/tuesday/processed-2025-07-17 14:27-gov_def2.md +0 -474
  41. {pyegeria-5.4.0.dev14.dist-info → pyegeria-5.4.0.2.dist-info}/LICENSE +0 -0
  42. {pyegeria-5.4.0.dev14.dist-info → pyegeria-5.4.0.2.dist-info}/WHEEL +0 -0
  43. {pyegeria-5.4.0.dev14.dist-info → pyegeria-5.4.0.2.dist-info}/entry_points.txt +0 -0
pyegeria/__init__.py CHANGED
@@ -10,11 +10,14 @@ The first capabilities are around Egeria's platform services used to start and s
10
10
  the server platform and servers.
11
11
 
12
12
  """
13
-
13
+ from .load_config import load_app_config, get_app_config
14
+ from .logging_configuration import config_logging
14
15
  from ._globals import (INTEGRATION_GUIDS, TEMPLATE_GUIDS, default_time_out, disable_ssl_warnings, enable_ssl_check,
15
16
  is_debug, max_paging_size, NO_ELEMENTS_FOUND, NO_ASSETS_FOUND, NO_SERVERS_FOUND,
16
17
  NO_CATALOGS_FOUND, NO_GLOSSARIES_FOUND, NO_TERMS_FOUND, NO_CATEGORIES_FOUND, NO_ELEMENT_FOUND,
17
- NO_PROJECTS_FOUND, DEBUG_LEVEL,)
18
+ NO_PROJECTS_FOUND, DEBUG_LEVEL, NO_COLLECTION_FOUND, NO_GUID_RETURNED)
19
+
20
+ from ._output_formats import select_output_format_set
18
21
 
19
22
  if disable_ssl_warnings:
20
23
  from urllib3 import disable_warnings
@@ -23,7 +26,8 @@ if disable_ssl_warnings:
23
26
  disable_warnings(InsecureRequestWarning)
24
27
 
25
28
  from ._client import Client
26
- from ._deprecated_gov_engine import GovEng
29
+ from ._client_new import Client2
30
+
27
31
  from ._exceptions import (InvalidParameterException, PropertyServerException, UserNotAuthorizedException,
28
32
  print_exception_response, )
29
33
  from ._validators import (is_json, validate_guid, validate_name, validate_public, validate_search_string,
@@ -54,7 +58,7 @@ from .registered_info import RegisteredInfo
54
58
  from .runtime_manager_omvs import RuntimeManager
55
59
  from .server_operations import ServerOps
56
60
  from .solution_architect_omvs import SolutionArchitect
57
- from .utils import body_slimmer, print_response
61
+ from .utils import body_slimmer, print_response, to_pascal_case, to_camel_case, camel_to_title_case
58
62
  from .valid_metadata_omvs import ValidMetadataManager
59
63
  from .x_action_author_omvs import ActionAuthor
60
64
  from .template_manager_omvs import TemplateManager
pyegeria/_client.py CHANGED
@@ -776,7 +776,8 @@ class Client:
776
776
  If present, the local qualifier will be prepended to the qualified name."""
777
777
  EGERIA_LOCAL_QUALIFIER = os.environ.get("EGERIA_LOCAL_QUALIFIER", local_qualifier)
778
778
  # display_name = re.sub(r'\s','-',display_name.strip()) # This changes spaces between words to -; removing
779
-
779
+ if display_name is None:
780
+ raise InvalidParameterException("display_name is required")
780
781
  q_name = f"{type}::{display_name.strip()}"
781
782
  if EGERIA_LOCAL_QUALIFIER:
782
783
  q_name = f"{EGERIA_LOCAL_QUALIFIER}::{q_name}"