pyegeria 5.3.6.2__py3-none-any.whl → 5.3.6.2.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.
@@ -44,8 +44,8 @@ EGERIA_JUPYTER = os.environ.get("EGERIA_JUPYTER", False)
44
44
  EGERIA_HOME_GLOSSARY_GUID = os.environ.get("EGERIA_HOME_GLOSSARY_GUID", None)
45
45
  EGERIA_GLOSSARY_PATH = os.environ.get("EGERIA_GLOSSARY_PATH", None)
46
46
  EGERIA_ROOT_PATH = os.environ.get("EGERIA_ROOT_PATH", "/Users/dwolfson/localGit/egeria-v5-3/egeria-python")
47
- EGERIA_FREDDIE_INBOX_PATH = os.environ.get("EGERIA_FREDDIE_INBOX_PATH", "pyegeria/commands/cat/freddies-inbox")
48
- EGERIA_FREDDIE_OUTBOX_PATH = os.environ.get("EGERIA_FREDDIE_OUTBOX_PATH", "pyegeria/commands/cat/freddies-outbox")
47
+ EGERIA_INBOX_PATH = os.environ.get("EGERIA_INBOX_PATH", "pyegeria/commands/cat/freddies-inbox")
48
+ EGERIA_OUTBOX_PATH = os.environ.get("EGERIA_OUTBOX_PATH", "pyegeria/commands/cat/freddies-outbox")
49
49
 
50
50
  console = Console(width=int(EGERIA_WIDTH))
51
51
 
@@ -76,7 +76,7 @@ def process_jupyter_notebook(
76
76
 
77
77
  try:
78
78
  updated = False
79
- full_file_path = os.path.join(EGERIA_ROOT_PATH, EGERIA_FREDDIE_INBOX_PATH, file_path)
79
+ full_file_path = os.path.join(EGERIA_ROOT_PATH, EGERIA_INBOX_PATH, file_path)
80
80
  click.echo(f"Processing notebook: {full_file_path}")
81
81
  with open(full_file_path, 'r') as f:
82
82
  nb = nbformat.read(f, as_version=4)
@@ -112,7 +112,7 @@ def process_jupyter_notebook(
112
112
  if updated:
113
113
  path, filename = os.path.split(file_path) # Get both parts
114
114
  new_filename = f"processed-{get_current_datetime_string()}-{filename}" # Create the new filename
115
- new_file_path = os.path.join(EGERIA_ROOT_PATH, EGERIA_FREDDIE_OUTBOX_PATH, new_filename) # Construct the new path
115
+ new_file_path = os.path.join(EGERIA_ROOT_PATH, EGERIA_OUTBOX_PATH, new_filename) # Construct the new path
116
116
  os.makedirs(os.path.dirname(new_file_path), exist_ok=True)
117
117
 
118
118
 
@@ -45,8 +45,8 @@ EGERIA_JUPYTER = os.environ.get("EGERIA_JUPYTER", False)
45
45
  EGERIA_HOME_GLOSSARY_GUID = os.environ.get("EGERIA_HOME_GLOSSARY_GUID", None)
46
46
  EGERIA_GLOSSARY_PATH = os.environ.get("EGERIA_GLOSSARY_PATH", None)
47
47
  EGERIA_ROOT_PATH = os.environ.get("EGERIA_ROOT_PATH", "/Users/dwolfson/localGit/egeria-v5-3/egeria-python")
48
- EGERIA_FREDDIE_INBOX_PATH = os.environ.get("EGERIA_FREDDIE_INBOX_PATH", "pyegeria/commands/cat/freddies-inbox")
49
- EGERIA_FREDDIE_OUTBOX_PATH = os.environ.get("EGERIA_FREDDIE_OUTBOX_PATH", "pyegeria/commands/cat/freddies-outbox")
48
+ EGERIA_INBOX_PATH = os.environ.get("EGERIA_INBOX_PATH", "pyegeria/commands/cat/freddies-inbox")
49
+ EGERIA_OUTBOX_PATH = os.environ.get("EGERIA_OUTBOX_PATH", "pyegeria/commands/cat/freddies-outbox")
50
50
 
51
51
  console = Console(width=int(EGERIA_WIDTH))
52
52
 
@@ -75,7 +75,7 @@ def process_markdown_file(
75
75
  token = client.create_egeria_bearer_token(userid, user_pass)
76
76
 
77
77
  updated = False
78
- full_file_path = os.path.join(EGERIA_ROOT_PATH, EGERIA_FREDDIE_INBOX_PATH, file_path)
78
+ full_file_path = os.path.join(EGERIA_ROOT_PATH, EGERIA_INBOX_PATH, file_path)
79
79
  print(f"Processing Markdown File: {full_file_path}")
80
80
  try:
81
81
  with open(full_file_path, 'r') as f:
@@ -146,7 +146,7 @@ def process_markdown_file(
146
146
  if updated:
147
147
  path, filename = os.path.split(file_path) # Get both parts
148
148
  new_filename = f"processed-{get_current_datetime_string()}-{filename}" # Create the new filename
149
- new_file_path = os.path.join(EGERIA_ROOT_PATH, EGERIA_FREDDIE_OUTBOX_PATH, new_filename) # Construct the new path
149
+ new_file_path = os.path.join(EGERIA_ROOT_PATH, EGERIA_OUTBOX_PATH, new_filename) # Construct the new path
150
150
  os.makedirs(os.path.dirname(new_file_path), exist_ok=True)
151
151
 
152
152
  with open(new_file_path, 'w') as f2:
@@ -45,8 +45,8 @@ EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
45
45
  EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "200"))
46
46
  EGERIA_GLOSSARY_PATH = os.environ.get("EGERIA_GLOSSARY_PATH", None)
47
47
  EGERIA_ROOT_PATH = os.environ.get("EGERIA_ROOT_PATH", "/Users/dwolfson/localGit/egeria-v5-3/egeria-python")
48
- EGERIA_FREDDIE_INBOX_PATH = os.environ.get("EGERIA_FREDDIE_INBOX_PATH", "pyegeria/commands/cat/freddies-inbox")
49
- EGERIA_FREDDIE_OUTBOX_PATH = os.environ.get("EGERIA_FREDDIE_OUTBOX_PATH", "pyegeria/commands/cat/freddies-outbox")
48
+ EGERIA_INBOX_PATH = os.environ.get("EGERIA_INBOX_PATH", "pyegeria/commands/cat/freddies-inbox")
49
+ EGERIA_OUTBOX_PATH = os.environ.get("EGERIA_OUTBOX_PATH", "pyegeria/commands/cat/freddies-outbox")
50
50
 
51
51
 
52
52
 
@@ -45,8 +45,8 @@ EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
45
45
  EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "200"))
46
46
  EGERIA_GLOSSARY_PATH = os.environ.get("EGERIA_GLOSSARY_PATH", None)
47
47
  EGERIA_ROOT_PATH = os.environ.get("EGERIA_ROOT_PATH", "/Users/dwolfson/localGit/egeria-v5-3/egeria-python")
48
- EGERIA_FREDDIE_INBOX_PATH = os.environ.get("EGERIA_FREDDIE_INBOX_PATH", "pyegeria/commands/cat/freddies-inbox")
49
- EGERIA_FREDDIE_OUTBOX_PATH = os.environ.get("EGERIA_FREDDIE_OUTBOX_PATH", "pyegeria/commands/cat/freddies-outbox")
48
+ EGERIA_INBOX_PATH = os.environ.get("EGERIA_INBOX_PATH", "pyegeria/commands/cat/freddies-inbox")
49
+ EGERIA_OUTBOX_PATH = os.environ.get("EGERIA_OUTBOX_PATH", "pyegeria/commands/cat/freddies-outbox")
50
50
 
51
51
 
52
52
  def display_glossary_terms(
@@ -118,7 +118,7 @@ def display_glossary_terms(
118
118
  else:
119
119
  action = "Report"
120
120
  try:
121
- file_path = os.path.join(EGERIA_ROOT_PATH, EGERIA_FREDDIE_OUTBOX_PATH)
121
+ file_path = os.path.join(EGERIA_ROOT_PATH, EGERIA_OUTBOX_PATH)
122
122
  file_name = f"Terms-{time.strftime('%Y-%m-%d-%H-%M-%S')}-{action}.md"
123
123
  full_file_path = os.path.join(file_path, file_name)
124
124
  os.makedirs(os.path.dirname(full_file_path), exist_ok=True)
@@ -220,7 +220,7 @@ from pyegeria.commands.tech.list_valid_metadata_values import display_metadata_v
220
220
 
221
221
  @click.option(
222
222
  "--outbox_path",
223
- default=os.environ.get("EGERIA_FREDDIE_OUTBOX_PATH", "distribution-hub/freddies-outbox"),
223
+ default=os.environ.get("EGERIA_OUTBOX_PATH", "distribution-hub/freddies-outbox"),
224
224
  help="Path to outbox files",
225
225
  )
226
226
 
@@ -246,7 +246,6 @@ def cli(
246
246
  glossary_path,
247
247
  inbox_path,
248
248
  outbox_path,
249
-
250
249
  ):
251
250
  """An Egeria Command Line interface for Operations"""
252
251
  ctx.obj = Config(
@@ -1145,7 +1144,7 @@ def glossary_group(ctx):
1145
1144
  help="Optionally display glossary list as an update form",
1146
1145
  )
1147
1146
  @click.pass_context
1148
- def show_terms(ctx, search_string, glossary_guid, glossary_name, md, form):
1147
+ def show_terms(ctx, search_string, glossary_guid, glossary_name, markdown, form):
1149
1148
  """Find and display glossary terms"""
1150
1149
  c = ctx.obj
1151
1150
  display_glossary_terms(
@@ -1158,7 +1157,7 @@ def show_terms(ctx, search_string, glossary_guid, glossary_name, md, form):
1158
1157
  c.password,
1159
1158
  c.jupyter,
1160
1159
  c.width,
1161
- md,
1160
+ markdown,
1162
1161
  form,
1163
1162
  )
1164
1163
 
@@ -1730,7 +1729,7 @@ def databases(ctx):
1730
1729
  help="Optionally display glossary list as an update form",
1731
1730
  )
1732
1731
  @click.pass_context
1733
- def glossaries(ctx, search_string, md, form):
1732
+ def glossaries(ctx, search_string, markdown, form):
1734
1733
  """Display a list of glossaries"""
1735
1734
  c = ctx.obj
1736
1735
  display_glossaries(
@@ -1741,7 +1740,7 @@ def glossaries(ctx, search_string, md, form):
1741
1740
  c.password,
1742
1741
  c.jupyter,
1743
1742
  c.width,
1744
- md,
1743
+ markdown,
1745
1744
  form
1746
1745
  )
1747
1746
 
@@ -141,6 +141,19 @@ from pyegeria.commands.tech.list_asset_types import display_asset_types
141
141
  default=os.environ.get("EGERIA_GLOSSARY_PATH", "/home/jovyan/loading-bay/glossary"),
142
142
  help="Path to glossary import/export files",
143
143
  )
144
+
145
+ @click.option(
146
+ "--inbox_path",
147
+ default=os.environ.get("EGERIA_ROOT_PATH", "/home/jovyan"),
148
+ help="Path to inbox files",
149
+ )
150
+
151
+ @click.option(
152
+ "--outbox_path",
153
+ default=os.environ.get("EGERIA_OUTBOX_PATH", "distribution-hub/freddies-outbox"),
154
+ help="Path to outbox files",
155
+ )
156
+
144
157
  @click.pass_context
145
158
  def cli(
146
159
  ctx,
@@ -161,6 +174,8 @@ def cli(
161
174
  width,
162
175
  home_glossary_guid,
163
176
  glossary_path,
177
+ inbox_path,
178
+ outbox_path,
164
179
  ):
165
180
  """An Egeria Command Line interface for Operations"""
166
181
  ctx.obj = Config(
@@ -181,6 +196,8 @@ def cli(
181
196
  width,
182
197
  home_glossary_guid,
183
198
  glossary_path,
199
+ inbox_path,
200
+ outbox_path
184
201
  )
185
202
  ctx.max_content_width = 250
186
203
  ctx.ensure_object(Config)
@@ -338,7 +355,7 @@ def glossary_group(ctx):
338
355
  help="Optionally display glossary list as an update form",
339
356
  )
340
357
  @click.pass_context
341
- def show_terms(ctx, search_string, glossary_guid, glossary_name, md, form):
358
+ def show_terms(ctx, search_string, glossary_guid, glossary_name, markdown, form):
342
359
  """Find and display glossary terms"""
343
360
  c = ctx.obj
344
361
  display_glossary_terms(
@@ -351,7 +368,7 @@ def show_terms(ctx, search_string, glossary_guid, glossary_name, md, form):
351
368
  c.password,
352
369
  c.jupyter,
353
370
  c.width,
354
- md,
371
+ markdown,
355
372
  form,
356
373
  )
357
374
 
@@ -371,7 +388,7 @@ def show_terms(ctx, search_string, glossary_guid, glossary_name, md, form):
371
388
  help="Optionally display glossary list as an update form",
372
389
  )
373
390
  @click.pass_context
374
- def glossaries(ctx, search_string, md, form):
391
+ def glossaries(ctx, search_string, markdown, form):
375
392
  """Display a list of glossaries"""
376
393
  c = ctx.obj
377
394
  display_glossaries(
@@ -382,7 +399,7 @@ def glossaries(ctx, search_string, md, form):
382
399
  c.password,
383
400
  c.jupyter,
384
401
  c.width,
385
- md,
402
+ markdown,
386
403
  form,
387
404
  )
388
405
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyegeria
3
- Version: 5.3.6.2
3
+ Version: 5.3.6.2.2
4
4
  Summary: A python client for Egeria
5
5
  License: Apache 2.0
6
6
  Keywords: egeria,metadata,governance
@@ -15,8 +15,8 @@ pyegeria/commands/cat/README.md,sha256=-aaAnIT2fcfU63vajgB-RzQk4l4yFdhkyVfSaTPiq
15
15
  pyegeria/commands/cat/__init__.py,sha256=5OCy4m_yZsnSxdy_gvkCyP_OkjvuWKimqUGHYCJc_qA,450
16
16
  pyegeria/commands/cat/exp_list_glossaries.py,sha256=dC6Bnfm3YSMTKPP146qeslIFRiZnGu5b7iDYE07p4iU,5817
17
17
  pyegeria/commands/cat/freddie_jup.py,sha256=zSuV8kiAGvOVBPnaln-dIY2T03hWQN2HeoLhkodayAo,5686
18
- pyegeria/commands/cat/freddie_jupyter.py,sha256=w4qS9Lfzl5v7EwwsPdNnHICFrYX9qoPLsh9zs0wV7vw,6243
19
- pyegeria/commands/cat/freddie_md.py,sha256=qEdjnu1vAYe2MhQBcNU5k80j6G6HfoJRcWLd_CcHQDg,7135
18
+ pyegeria/commands/cat/freddie_jupyter.py,sha256=3-Z_pzOQUiBIBHtpQTrQhKyM3DmKHmyvsTpEcoju-y0,6195
19
+ pyegeria/commands/cat/freddie_md.py,sha256=vueJ7OahPt5t4OW8eT9JbE7n5kEoU1bLHlnvEStmo8o,7087
20
20
  pyegeria/commands/cat/freddie_utils.py,sha256=r7e1EaUouwAY4sc4VjIr6xtknkhq4wz-UncyWW04IBk,26742
21
21
  pyegeria/commands/cat/freddies-inbox/freddie_intro.md,sha256=2HGuA2xsRpwqxDtG59iD4hDdCkyHcqE-OhXCT1KgeW8,6512
22
22
  pyegeria/commands/cat/freddies-inbox/glossary_creation_experiment.ipynb,sha256=dbzNu90fCKNohOWVSRBOB1GLyd95x8Qw51I5AkaPtso,11552
@@ -37,16 +37,16 @@ pyegeria/commands/cat/list_deployed_catalogs.py,sha256=VdN6R9kRVWX-fGIgubOigvMVP
37
37
  pyegeria/commands/cat/list_deployed_database_schemas.py,sha256=1Qicke1R2_7Xi3Qf5sp8KJ3_reAIt0z1iaz2sG8Z0Qs,9458
38
38
  pyegeria/commands/cat/list_deployed_databases.py,sha256=ryrBW1CxJRfOeLP978qQwxb5oImqhIsHghtcpWeBIrw,7587
39
39
  pyegeria/commands/cat/list_deployed_servers.py,sha256=_xR7EaaCsxIjTphxmoCZlARoja_vQqZ881pFiEuhw-8,5719
40
- pyegeria/commands/cat/list_glossaries.py,sha256=8-hs6bXWIOrmZaIwke2ts281AAqmnQO960tTR3W2Q-g,7784
40
+ pyegeria/commands/cat/list_glossaries.py,sha256=WZBWEUxWr06ERmuXOIopgsatxXIOpv-VTWY3x5VqPKw,7752
41
41
  pyegeria/commands/cat/list_projects.py,sha256=NzWTuepTGUEyxK-eWvuUxtBgCtNWubVwmz2eqm2UN1c,7997
42
42
  pyegeria/commands/cat/list_tech_type_elements.py,sha256=-9omj5en9dSP1xMSljYVHyfXsuhuE1bO2IFj_bZPhAs,6873
43
43
  pyegeria/commands/cat/list_tech_types.py,sha256=uqZcXHCzAznhEG6WWeM5j-spwUh8ycygFqpVDeXOG-0,4653
44
- pyegeria/commands/cat/list_terms.py,sha256=zBOnDjzvxfyC55kY0Pq43fidt_1mRheETeEyEmozlnE,11990
44
+ pyegeria/commands/cat/list_terms.py,sha256=TgqHLy73553RUDZPtwN8FUpzO8Dg7hdd2QaHd9-q5Vo,11950
45
45
  pyegeria/commands/cat/list_todos.py,sha256=NitCw0uyVVjmN1hxb1W-I4FbOsa8wQxW2ICyOElHyc8,6556
46
46
  pyegeria/commands/cat/list_user_ids.py,sha256=X5Q-YNEp38saPYDuy9VwdQC5Qpa4HyC3WvAdbyp_P6M,5108
47
47
  pyegeria/commands/cli/__init__.py,sha256=hpTVSMP2gnPRhcAZPdeUEsQ-eaDySlXlk239dNWYmng,292
48
- pyegeria/commands/cli/egeria.py,sha256=D4ZWcjB1LJ7fxhV5Ez1lkJAqmIaVujNJ3D02iLgytT4,52653
49
- pyegeria/commands/cli/egeria_cat.py,sha256=SLjusGmM_cT04ora4flSt0sWExcX32M2pBLQncVlvQY,16653
48
+ pyegeria/commands/cli/egeria.py,sha256=9WaKxD150nwUaiHDt3lIclrJZhDW0XJ9e_Y2C5C_lBk,52668
49
+ pyegeria/commands/cli/egeria_cat.py,sha256=Z4v0UT8EMavEBJ08VtjfwG5zP5sdlv8Mb7o-lBP2JtY,17043
50
50
  pyegeria/commands/cli/egeria_login_tui.py,sha256=W5ouG3nlN7z2Waa-wzYFS7yyoGfOrK-lNB0FMt2JdOk,9492
51
51
  pyegeria/commands/cli/egeria_my.py,sha256=0KTH7OIeKyp16ZeN7zK5uhadbPfAQsq38GMzJNWYG8g,6386
52
52
  pyegeria/commands/cli/egeria_ops.py,sha256=8W4t2jFGn22OOOtyUAapQH8yyOl1wo09CVNTojRQKvo,12817
@@ -250,8 +250,8 @@ pyegeria/test_w.html,sha256=q9HCstV2Ar-QiAqswte6hQ8EJuKqr5s99MUuXSxs7a8,11461
250
250
  pyegeria/utils.py,sha256=GCt1C0bp0Xng1ahzbZhzV9qQwH7Dj93IaCt2dvWb-sg,5417
251
251
  pyegeria/valid_metadata_omvs.py,sha256=Xq9DqBQvBFFJzaFIRKcVZ2k4gJvSh9yeXs_j-O3vn1w,65050
252
252
  pyegeria/x_action_author_omvs.py,sha256=RcqSzahUKCtvb_3u_wyintAlc9WFkC_2v0E12TZs8lQ,6433
253
- pyegeria-5.3.6.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
254
- pyegeria-5.3.6.2.dist-info/METADATA,sha256=knC6A-fMZXoAI650ze7rN_3LB8G9iuZK0CEWqiABaO4,2743
255
- pyegeria-5.3.6.2.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
256
- pyegeria-5.3.6.2.dist-info/entry_points.txt,sha256=9LIuEBIFodyDPNWxZFCJNSzK7-ZS85Kes3eTTYTGWHo,6407
257
- pyegeria-5.3.6.2.dist-info/RECORD,,
253
+ pyegeria-5.3.6.2.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
254
+ pyegeria-5.3.6.2.2.dist-info/METADATA,sha256=1QEKjmLmMedj7Oz6buI3HtF8TPR6xHfBhDozOBhqNOE,2745
255
+ pyegeria-5.3.6.2.2.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
256
+ pyegeria-5.3.6.2.2.dist-info/entry_points.txt,sha256=9LIuEBIFodyDPNWxZFCJNSzK7-ZS85Kes3eTTYTGWHo,6407
257
+ pyegeria-5.3.6.2.2.dist-info/RECORD,,