pyegeria 5.3.6.2.2__py3-none-any.whl → 5.3.6.2.4__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.
@@ -80,7 +80,7 @@ def display_glossaries(
80
80
  The width of the console output (default is EGERIA_WIDTH).
81
81
  md: bool, [default=False]
82
82
  If true, a simplified markdown report of the glossaries will be created. Filename is Glossaries-<DATE>-<ACTION>
83
- The filepath is derived from the environment variables EGERIA_ROOT_PATH and EGERIA_FREDDIE_OUTPUT_PATH, respectively.
83
+ The filepath is derived from the environment variables EGERIA_ROOT_PATH and EGERIA_OUTPUT_PATH, respectively.
84
84
  form: bool, [default=False]
85
85
  If true and md is true, a form for the glossaries will be created as a markdown file.
86
86
  If false and md is true, a markdown report for the glossaries will be created.
@@ -95,7 +95,7 @@ def display_glossaries(
95
95
  action = "Update-Form"
96
96
  else:
97
97
  action = "Report"
98
- file_path = os.path.join(EGERIA_ROOT_PATH, EGERIA_FREDDIE_OUTBOX_PATH)
98
+ file_path = os.path.join(EGERIA_ROOT_PATH, EGERIA_OUTBOX_PATH)
99
99
  file_name = f"Glossaries-{time.strftime('%Y-%m-%d-%H-%M-%S')}-{action}.md"
100
100
  full_file_path = os.path.join(file_path, file_name)
101
101
  os.makedirs(os.path.dirname(full_file_path), exist_ok=True)
@@ -91,7 +91,7 @@ def display_glossary_terms(
91
91
  The width of the console output. Defaults to EGERIA_WIDTH.
92
92
  md: bool, [default=False]
93
93
  If true, a simplified markdown report of the terms will be created. Filename is Terms-<DATE>-<ACTION>
94
- The filepath is derived from the environment variables EGERIA_ROOT_PATH and EGERIA_FREDDIE_OUTPUT_PATH, respectively.
94
+ The filepath is derived from the environment variables EGERIA_ROOT_PATH and EGERIA_OUTPUT_PATH, respectively.
95
95
  form: bool, [default=False]
96
96
  If true and md is true, a form for the terms will be created as a markdown file.
97
97
  If false and md is true, a markdown report for the terms will be created.
@@ -213,11 +213,16 @@ from pyegeria.commands.tech.list_valid_metadata_values import display_metadata_v
213
213
  )
214
214
 
215
215
  @click.option(
216
- "--inbox_path",
216
+ "--root_path",
217
217
  default=os.environ.get("EGERIA_ROOT_PATH", "/home/jovyan"),
218
- help="Path to inbox files",
218
+ help="Root path to use for file operations",
219
219
  )
220
220
 
221
+ @click.option(
222
+ "--inbox_path",
223
+ default=os.environ.get("EGERIA_INBOX_PATH", "loading-bay/freddies-inbox"),
224
+ help="Path to outbox files",
225
+ )
221
226
  @click.option(
222
227
  "--outbox_path",
223
228
  default=os.environ.get("EGERIA_OUTBOX_PATH", "distribution-hub/freddies-outbox"),
@@ -244,6 +249,7 @@ def cli(
244
249
  width,
245
250
  home_glossary_guid,
246
251
  glossary_path,
252
+ root_path,
247
253
  inbox_path,
248
254
  outbox_path,
249
255
  ):
@@ -266,6 +272,7 @@ def cli(
266
272
  width,
267
273
  home_glossary_guid,
268
274
  glossary_path,
275
+ root_path,
269
276
  inbox_path,
270
277
  outbox_path
271
278
  )
@@ -1164,8 +1171,20 @@ def show_terms(ctx, search_string, glossary_guid, glossary_name, markdown, form)
1164
1171
 
1165
1172
  @glossary_group.command("glossaries")
1166
1173
  @click.option("--search_string", default="*", help="Name to search for glossaries")
1174
+ @click.option(
1175
+ "--markdown",
1176
+ flag_value=True,
1177
+ default=False,
1178
+ help="Optionally display glossary list in markdown format",
1179
+ )
1180
+ @click.option(
1181
+ "--form",
1182
+ flag_value=True,
1183
+ default=False,
1184
+ help="Optionally display glossary list as an update form",
1185
+ )
1167
1186
  @click.pass_context
1168
- def glossaries(ctx, search_string):
1187
+ def glossaries(ctx, search_string, markdown, form):
1169
1188
  """Display a list of glossaries"""
1170
1189
  c = ctx.obj
1171
1190
  display_glossaries(
@@ -1176,6 +1195,8 @@ def glossaries(ctx, search_string):
1176
1195
  c.password,
1177
1196
  c.jupyter,
1178
1197
  c.width,
1198
+ markdown,
1199
+ form,
1179
1200
  )
1180
1201
 
1181
1202
 
@@ -1714,37 +1735,6 @@ def databases(ctx):
1714
1735
  )
1715
1736
 
1716
1737
 
1717
- @glossary_group.command("glossaries")
1718
- @click.option("--search_string", default="*", help="Name to search for glossaries")
1719
- @click.option(
1720
- "--markdown",
1721
- flag_value=True,
1722
- default=False,
1723
- help="Optionally display glossary list in markdown format",
1724
- )
1725
- @click.option(
1726
- "--form",
1727
- flag_value=True,
1728
- default=False,
1729
- help="Optionally display glossary list as an update form",
1730
- )
1731
- @click.pass_context
1732
- def glossaries(ctx, search_string, markdown, form):
1733
- """Display a list of glossaries"""
1734
- c = ctx.obj
1735
- display_glossaries(
1736
- search_string,
1737
- c.view_server,
1738
- c.view_server_url,
1739
- c.userid,
1740
- c.password,
1741
- c.jupyter,
1742
- c.width,
1743
- markdown,
1744
- form
1745
- )
1746
-
1747
-
1748
1738
  # @tell_cat.group("survey")
1749
1739
  # @click.pass_context
1750
1740
  # def survey(ctx):
@@ -143,11 +143,16 @@ from pyegeria.commands.tech.list_asset_types import display_asset_types
143
143
  )
144
144
 
145
145
  @click.option(
146
- "--inbox_path",
146
+ "--root_path",
147
147
  default=os.environ.get("EGERIA_ROOT_PATH", "/home/jovyan"),
148
- help="Path to inbox files",
148
+ help="Root path to use for file operations",
149
149
  )
150
150
 
151
+ @click.option(
152
+ "--inbox_path",
153
+ default=os.environ.get("EGERIA_INBOX_PATH", "loading-bay/freddies-inbox"),
154
+ help="Path to inbox files",
155
+ )
151
156
  @click.option(
152
157
  "--outbox_path",
153
158
  default=os.environ.get("EGERIA_OUTBOX_PATH", "distribution-hub/freddies-outbox"),
@@ -174,6 +179,7 @@ def cli(
174
179
  width,
175
180
  home_glossary_guid,
176
181
  glossary_path,
182
+ root_path,
177
183
  inbox_path,
178
184
  outbox_path,
179
185
  ):
@@ -196,6 +202,7 @@ def cli(
196
202
  width,
197
203
  home_glossary_guid,
198
204
  glossary_path,
205
+ root_path,
199
206
  inbox_path,
200
207
  outbox_path
201
208
  )
@@ -21,6 +21,7 @@ class Config(object):
21
21
  width: int,
22
22
  home_glossary_guid: str,
23
23
  glossary_path: str,
24
+ root_path: str,
24
25
  inbox_path: str,
25
26
  outbox_path: str
26
27
  ):
@@ -43,6 +44,7 @@ class Config(object):
43
44
  self.url = url
44
45
  self.home_glossary_guid = home_glossary_guid
45
46
  self.glossary_path = glossary_path
47
+ self.root_path = root_path
46
48
  self.inbox_path = inbox_path
47
49
  self.outbox_path = outbox_path
48
50
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyegeria
3
- Version: 5.3.6.2.2
3
+ Version: 5.3.6.2.4
4
4
  Summary: A python client for Egeria
5
5
  License: Apache 2.0
6
6
  Keywords: egeria,metadata,governance
@@ -37,21 +37,21 @@ 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=WZBWEUxWr06ERmuXOIopgsatxXIOpv-VTWY3x5VqPKw,7752
40
+ pyegeria/commands/cat/list_glossaries.py,sha256=9lLYeu1Q99Y4xGghTv40hiraWZfWpHe0tZONN197bUY,7736
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=TgqHLy73553RUDZPtwN8FUpzO8Dg7hdd2QaHd9-q5Vo,11950
44
+ pyegeria/commands/cat/list_terms.py,sha256=WPqd5bWm_Re-NlR_OLtekmj8m2UX_8vIo9AJDKMVR_M,11942
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=9WaKxD150nwUaiHDt3lIclrJZhDW0XJ9e_Y2C5C_lBk,52668
49
- pyegeria/commands/cli/egeria_cat.py,sha256=Z4v0UT8EMavEBJ08VtjfwG5zP5sdlv8Mb7o-lBP2JtY,17043
48
+ pyegeria/commands/cli/egeria.py,sha256=N709etSNQ0crITP0EMhi9iPmvG1OaPKJP5qtqTQON2M,52456
49
+ pyegeria/commands/cli/egeria_cat.py,sha256=9UYmHwS1vaepUGIk5jSe5WVfG2VZMyyzxw6L_99u1ak,17241
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
53
53
  pyegeria/commands/cli/egeria_tech.py,sha256=HaTP1tzymvj4bhKl5O37JdCPTsACssqPQ-vkYeeeJXE,21140
54
- pyegeria/commands/cli/ops_config.py,sha256=cH7Zzlh5rx_Wmr2ymUNTMhPPDhAoj50GyZR-pXP2cA8,1454
54
+ pyegeria/commands/cli/ops_config.py,sha256=aYpZgC5WgbeVX81DNKS34sOqMx2pc6yqDuSO2CYRiOo,1513
55
55
  pyegeria/commands/cli/txt_custom_v2.tcss,sha256=ixkzpFyTZ5i3byFO9EmEAeJgzbEa7nZb_3iTgxNtVPk,232
56
56
  pyegeria/commands/doc/README.md,sha256=3TDtLjanw5Sn5fhw0apsYv2HS2Hd7NSdjLu3qTwwXBg,13941
57
57
  pyegeria/commands/doc/Visual Command Reference/README.md,sha256=StopwmMDYmJgfKeRC8nHOJMbXkz6n15zIDJBmHDPoxM,32445
@@ -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.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,,
253
+ pyegeria-5.3.6.2.4.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
254
+ pyegeria-5.3.6.2.4.dist-info/METADATA,sha256=cIIBoGzLUUA-dLljF7n8Lf04ZDBNLAO953Xx9aInXdU,2745
255
+ pyegeria-5.3.6.2.4.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
256
+ pyegeria-5.3.6.2.4.dist-info/entry_points.txt,sha256=9LIuEBIFodyDPNWxZFCJNSzK7-ZS85Kes3eTTYTGWHo,6407
257
+ pyegeria-5.3.6.2.4.dist-info/RECORD,,