pyegeria 5.4.0.11__py3-none-any.whl → 5.4.0.13__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.
@@ -46,6 +46,7 @@ from rich.markdown import Markdown
46
46
  from rich.prompt import Prompt
47
47
  from rich.table import Table
48
48
  from rich.text import Text
49
+ import pydevd_pycharm
49
50
 
50
51
  from pyegeria import (
51
52
  EgeriaTech,
@@ -58,9 +59,17 @@ from pyegeria._output_formats import select_output_format_set, get_output_format
58
59
  from pyegeria._exceptions_new import PyegeriaException, print_exception_response
59
60
  from pyegeria.egeria_tech_client import EgeriaTech
60
61
 
62
+ pydevd_pycharm.settrace('host.docker.internal', # Use 'host.docker.internal' to connect to the host machine
63
+ port=5678, # Port to communicate with PyCharm
64
+ stdoutToServer=True, # Forward stdout to PyCharm
65
+ stderrToServer=True, # Forward stderr to PyCharm
66
+ suspend=True) # Suspend execution until the debugger is connected
67
+
68
+
69
+
61
70
  EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
62
71
  EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
63
- logger.enable("pyegeria")
72
+
64
73
  app_settings = get_app_config()
65
74
  app_config = app_settings.Environment
66
75
  config_logging()
@@ -188,7 +197,7 @@ def execute_format_set_action(
188
197
  try:
189
198
  # Invoke the function with the parameters
190
199
  if output_format != "TABLE":
191
- file_path = os.path.join(app_config['Pyegeria Root'], app_config['Dr.Egeria Outbox'])
200
+ file_path = os.path.join(app_config.pyegeria_root, app_config.dr_egeria_outbox)
192
201
  if output_format == "HTML":
193
202
  file_name = f"{format_set_name}-{time.strftime('%Y-%m-%d-%H-%M-%S')}.html"
194
203
  elif output_format == "JSON":
pyegeria/load_config.py CHANGED
@@ -263,10 +263,9 @@ def load_app_config(env_file: str = None):
263
263
 
264
264
  # If env_file is specified, use it to load environment variables
265
265
  if env_file is not None:
266
- logger.warning(f"DEBUG: Loading environment variables from {env_file}")
266
+ logger.trace(f"DEBUG: Loading environment variables from {env_file}")
267
267
  env_settings = PyegeriaSettings.with_env_file(env_file)
268
- print(f"DEBUG: env_settings.pyegeria_root_path: {env_settings.pyegeria_root_path}")
269
- print(f"DEBUG: env_settings.pyegeria_config_file: {env_settings.pyegeria_config_file}")
268
+
270
269
  # If env_file is specified, always use its values, regardless of OS environment variables
271
270
  root_path = env_settings.pyegeria_root_path
272
271
  config_file = env_settings.pyegeria_config_file
@@ -203,7 +203,7 @@ def config_logging():
203
203
 
204
204
  if enable_logging:
205
205
  logger.enable("pyegeria")
206
- logger.warning("Application started with Loguru configured.")
206
+ logger.trace("Application started with Loguru configured.")
207
207
 
208
208
 
209
209
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyegeria
3
- Version: 5.4.0.11
3
+ Version: 5.4.0.13
4
4
  Summary: A python client for Egeria
5
5
  License: Apache 2.0
6
6
  Keywords: egeria,metadata,governance
@@ -23,6 +23,7 @@ Requires-Dist: poetry-core (>=2.1.3,<3.0.0)
23
23
  Requires-Dist: psycopg2-binary (>=2.9.9,<3.0.0)
24
24
  Requires-Dist: pydantic (>=2.11.7,<3.0.0)
25
25
  Requires-Dist: pydantic-settings (>=2.10.1,<3.0.0)
26
+ Requires-Dist: pydevd-pycharm (>=252.23892.364,<253.0.0)
26
27
  Requires-Dist: pytest (>=8.3.5,<9.0.0)
27
28
  Requires-Dist: requests
28
29
  Requires-Dist: rich
@@ -21,7 +21,7 @@ commands/cat/list_deployed_catalogs.py,sha256=VdN6R9kRVWX-fGIgubOigvMVPzhF-hKQep
21
21
  commands/cat/list_deployed_database_schemas.py,sha256=1Qicke1R2_7Xi3Qf5sp8KJ3_reAIt0z1iaz2sG8Z0Qs,9458
22
22
  commands/cat/list_deployed_databases.py,sha256=ryrBW1CxJRfOeLP978qQwxb5oImqhIsHghtcpWeBIrw,7587
23
23
  commands/cat/list_deployed_servers.py,sha256=_xR7EaaCsxIjTphxmoCZlARoja_vQqZ881pFiEuhw-8,5719
24
- commands/cat/list_format_set.py,sha256=UWFy8l_oR7SmK4Py6D5NiB8qhTh8aijibpC_gD4SGmA,17203
24
+ commands/cat/list_format_set.py,sha256=2oTWLfuwmCoPQLVe96G554CDEqBfRkU-YhxmmC8D5-I,17665
25
25
  commands/cat/list_glossaries.py,sha256=pKJdiRMrSBpmPv0yOWoR_CdGZP06MuxfPGwCXc-kSQw,7666
26
26
  commands/cat/list_projects.py,sha256=NzWTuepTGUEyxK-eWvuUxtBgCtNWubVwmz2eqm2UN1c,7997
27
27
  commands/cat/list_tech_type_elements.py,sha256=-9omj5en9dSP1xMSljYVHyfXsuhuE1bO2IFj_bZPhAs,6873
@@ -212,9 +212,9 @@ pyegeria/full_omag_server_config.py,sha256=CQqLCy_3DZFvJZEOcGf50HWdFaWpiAIs6z-kK
212
212
  pyegeria/glossary_browser_omvs.py,sha256=Jb2Tt2qNjnoWQNBDMdZiuQffH6nC4lKekZNEJCiW5BE,166966
213
213
  pyegeria/glossary_manager_omvs.py,sha256=vXHlBuJxUIAkSI7OKbYcspmcfxxX-L7oe5J0AiEefVI,87991
214
214
  pyegeria/governance_officer_omvs.py,sha256=14UnC-fS5LUsWzx-RuzUX_ZNVxldqvVSvZFvJDv980I,91580
215
- pyegeria/load_config.py,sha256=q_NFmBlq4DPkWQmBa1hcWG1UzyOawWd34UT8Eri5pwo,22922
215
+ pyegeria/load_config.py,sha256=ZBBv_wjZFQ4oSExpg5j7VTc6jDco6fpuNhM2MxCawnU,22733
216
216
  pyegeria/load_config_orig.py,sha256=lOM37vdIBcYfLQFTLP5bDuNc7vTFGBNYPfqHtWGNvA4,11624
217
- pyegeria/logging_configuration.py,sha256=R1pMPHb7Gm8bxRkrvgFFCpIc7cI05FyZS7aWQTErTHM,7715
217
+ pyegeria/logging_configuration.py,sha256=1nLUgkzlUh87kvuo7H-ekawyGJmNiBo415EuufFbLfE,7713
218
218
  pyegeria/md_processing_helpers.py,sha256=xlQuK5eP_PJqUdy4BScQ97NyBD95jMS3EUg0wK5CsZo,2137
219
219
  pyegeria/md_processing_utils.py,sha256=KRESCqAYjCgHRAdhHH49lLDDhaq740CUlqTG0bN-6Oo,99119
220
220
  pyegeria/md_processing_utils_orig.py,sha256=SToZtXQiysi2_vmIY4-T2NIELRirzQ1zjkho_2jFsNE,52603
@@ -232,8 +232,8 @@ pyegeria/template_manager_omvs.py,sha256=chBljs1vy5wr9DRAtbvIt4Cob_7HxGfxLkCNlDT
232
232
  pyegeria/utils.py,sha256=CAh8LItgmGf5UHIYeYAOE4roHg1wuBk3zQ1lxK7lcZA,6805
233
233
  pyegeria/valid_metadata_omvs.py,sha256=Xq9DqBQvBFFJzaFIRKcVZ2k4gJvSh9yeXs_j-O3vn1w,65050
234
234
  pyegeria/x_action_author_omvs.py,sha256=RcqSzahUKCtvb_3u_wyintAlc9WFkC_2v0E12TZs8lQ,6433
235
- pyegeria-5.4.0.11.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
236
- pyegeria-5.4.0.11.dist-info/METADATA,sha256=rcObH76ltVao6G_KiayuiSD9sv-n9tuGL3KGXRz0ve8,2974
237
- pyegeria-5.4.0.11.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
238
- pyegeria-5.4.0.11.dist-info/entry_points.txt,sha256=HAS-LHaaBfkaZ19XU9g5mXwn2uj2HK99isdijI-VIDk,6353
239
- pyegeria-5.4.0.11.dist-info/RECORD,,
235
+ pyegeria-5.4.0.13.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
236
+ pyegeria-5.4.0.13.dist-info/METADATA,sha256=j5kLanVT4PiuhhL-XHCw36gvAu8Hu2-MKRPtLvWA-UU,3031
237
+ pyegeria-5.4.0.13.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
238
+ pyegeria-5.4.0.13.dist-info/entry_points.txt,sha256=HAS-LHaaBfkaZ19XU9g5mXwn2uj2HK99isdijI-VIDk,6353
239
+ pyegeria-5.4.0.13.dist-info/RECORD,,