pyegeria 0.5.9.3__tar.gz → 0.5.9.4__tar.gz

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 (80) hide show
  1. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/PKG-INFO +1 -1
  2. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/cli/egeria.py +34 -53
  3. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/cli/egeria_cat.py +1 -1
  4. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyproject.toml +1 -1
  5. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/LICENSE +0 -0
  6. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/README.md +0 -0
  7. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/doc_samples/Create_Collection_Sample.py +0 -0
  8. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/doc_samples/Create_Sustainability_Collection_Sample.py +0 -0
  9. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/catalog_user/README.md +0 -0
  10. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/catalog_user/__init__.py +0 -0
  11. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/catalog_user/get_asset_graph.py +0 -0
  12. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/catalog_user/get_collection.py +0 -0
  13. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/catalog_user/get_tech_type_elements.py +0 -0
  14. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/catalog_user/get_tech_type_template.py +0 -0
  15. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/catalog_user/list_assets.py +0 -0
  16. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/catalog_user/list_glossary.py +0 -0
  17. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/catalog_user/list_projects.py +0 -0
  18. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/catalog_user/list_tech_types.py +0 -0
  19. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/catalog_user/list_todos.py +0 -0
  20. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/cli/__init__.py +0 -0
  21. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/cli/egeria_ops.py +0 -0
  22. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/cli/egeria_per.py +0 -0
  23. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/cli/egeria_tech.py +0 -0
  24. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/cli/ops_config.py +0 -0
  25. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/operational/README.md +0 -0
  26. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/operational/__init__.py +0 -0
  27. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/operational/engine_actions.py +0 -0
  28. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/operational/integration_daemon_actions.py +0 -0
  29. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/operational/list_catalog_targets.py +0 -0
  30. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/operational/load_archive.py +0 -0
  31. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/operational/monitor_asset_events.py +0 -0
  32. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/operational/monitor_coco_status.py +0 -0
  33. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/operational/monitor_engine_activity.py +0 -0
  34. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/operational/monitor_gov_eng_status.py +0 -0
  35. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/operational/monitor_integ_daemon_status.py +0 -0
  36. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/operational/monitor_platform_status.py +0 -0
  37. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/operational/monitor_server_list.py +0 -0
  38. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/operational/monitor_server_status.py +0 -0
  39. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/operational/refresh_integration_daemon.py +0 -0
  40. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/operational/restart_integration_daemon.py +0 -0
  41. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/personal/README.md +0 -0
  42. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/personal/__init__.py +0 -0
  43. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/personal/list_my_profile.py +0 -0
  44. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/personal/list_my_roles.py +0 -0
  45. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/personal/monitor_my_todos.py +0 -0
  46. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/personal/monitor_open_todos.py +0 -0
  47. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/tech/README.md +0 -0
  48. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/tech/__init__.py +0 -0
  49. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/tech/get_guid_info.py +0 -0
  50. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/tech/get_tech_details.py +0 -0
  51. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/tech/list_asset_types.py +0 -0
  52. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/tech/list_registered_services.py +0 -0
  53. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/tech/list_relationship_types.py +0 -0
  54. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/tech/list_tech_templates.py +0 -0
  55. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/examples/widgets/tech/list_valid_metadata_values.py +0 -0
  56. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/Xfeedback_manager_omvs.py +0 -0
  57. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/Xloaded_resources_omvs.py +0 -0
  58. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/__init__.py +0 -0
  59. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/_client.py +0 -0
  60. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/_deprecated_gov_engine.py +0 -0
  61. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/_exceptions.py +0 -0
  62. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/_globals.py +0 -0
  63. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/_validators.py +0 -0
  64. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/action_author_omvs.py +0 -0
  65. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/asset_catalog_omvs.py +0 -0
  66. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/automated_curation_omvs.py +0 -0
  67. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/collection_manager_omvs.py +0 -0
  68. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/core_omag_server_config.py +0 -0
  69. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/create_tech_guid_lists.py +0 -0
  70. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/full_omag_server_config.py +0 -0
  71. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/glossary_browser_omvs.py +0 -0
  72. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/glossary_manager_omvs.py +0 -0
  73. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/my_profile_omvs.py +0 -0
  74. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/platform_services.py +0 -0
  75. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/project_manager_omvs.py +0 -0
  76. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/registered_info.py +0 -0
  77. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/runtime_manager_omvs.py +0 -0
  78. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/server_operations.py +0 -0
  79. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/utils.py +0 -0
  80. {pyegeria-0.5.9.3 → pyegeria-0.5.9.4}/pyegeria/valid_metadata_omvs.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 0.5.9.3
3
+ Version: 0.5.9.4
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://github.com/odpi/egeria-python
6
6
  License: Apache 2.0
@@ -12,35 +12,16 @@ This is an emerging capability based on the **click** package. Feedback welcome!
12
12
  import click
13
13
  from trogon import tui
14
14
 
15
- from examples.widgets.cli.ops_config import Config
16
-
17
- from examples.widgets.personal.monitor_open_todos import display_todos
18
- from examples.widgets.personal.monitor_my_todos import display_my_todos
19
- from examples.widgets.personal.list_my_profile import display_my_profile
20
- from examples.widgets.personal.list_my_roles import display_my_roles
21
-
22
- from examples.widgets.catalog_user.list_tech_types import display_tech_types
23
-
24
- from examples.widgets.tech.get_guid_info import display_guid
25
- from examples.widgets.tech.get_tech_details import tech_details_viewer
26
- from examples.widgets.tech.list_asset_types import display_asset_types
27
- from examples.widgets.tech.list_registered_services import display_registered_svcs
28
- from examples.widgets.tech.list_relationship_types import display_relationship_types
29
- from examples.widgets.tech.list_tech_templates import display_templates_spec
30
- from examples.widgets.tech.list_valid_metadata_values import display_metadata_values
31
- from examples.widgets.catalog_user.get_tech_type_template import template_viewer
32
-
33
-
34
15
  from examples.widgets.catalog_user.get_asset_graph import asset_viewer
35
16
  from examples.widgets.catalog_user.get_collection import collection_viewer
36
17
  from examples.widgets.catalog_user.get_tech_type_elements import tech_viewer
37
18
  from examples.widgets.catalog_user.get_tech_type_template import template_viewer
38
19
  from examples.widgets.catalog_user.list_assets import display_assets
39
20
  from examples.widgets.catalog_user.list_glossary import display_glossary_terms
40
- from examples.widgets.catalog_user.list_tech_types import display_tech_types
41
21
  from examples.widgets.catalog_user.list_projects import display_project_list
22
+ from examples.widgets.catalog_user.list_tech_types import display_tech_types
42
23
  from examples.widgets.catalog_user.list_todos import display_to_dos
43
-
24
+ from examples.widgets.cli.ops_config import Config
44
25
  from examples.widgets.operational.engine_actions import start_server as start_engine_host, \
45
26
  stop_server as stop_engine_host
46
27
  from examples.widgets.operational.integration_daemon_actions import (add_catalog_target, remove_catalog_target,
@@ -55,26 +36,22 @@ from examples.widgets.operational.monitor_server_list import display_status as d
55
36
  from examples.widgets.operational.monitor_server_status import display_status as s_display_status
56
37
  from examples.widgets.operational.refresh_integration_daemon import refresh_connector
57
38
  from examples.widgets.operational.restart_integration_daemon import restart_connector
39
+ from examples.widgets.personal.list_my_profile import display_my_profile
40
+ from examples.widgets.personal.list_my_roles import display_my_roles
41
+ from examples.widgets.personal.monitor_my_todos import display_my_todos
42
+ from examples.widgets.personal.monitor_open_todos import display_todos
43
+ from examples.widgets.tech.get_guid_info import display_guid
44
+ from examples.widgets.tech.get_tech_details import tech_details_viewer
45
+ from examples.widgets.tech.list_asset_types import display_asset_types
46
+ from examples.widgets.tech.list_registered_services import display_registered_svcs
47
+ from examples.widgets.tech.list_relationship_types import display_relationship_types
48
+ from examples.widgets.tech.list_tech_templates import display_templates_spec
49
+ from examples.widgets.tech.list_valid_metadata_values import display_metadata_values
58
50
 
59
51
 
60
-
61
- # class Config(object):
62
- # def __init__(self, server: str = None, url: str = None, userid:str = None, password:str = None,
63
- # timeout:int = 30, paging: bool = False):
64
- # self.server = server
65
- # self.url = url
66
- # self.userid = userid
67
- # self.password = password
68
- # self.timeout = timeout
69
- # self.paging = paging
70
- #
71
- #
72
- # pass_config = click.make_pass_decorator(Config)
73
-
74
52
  @tui()
75
53
  # @tui('menu', 'menu', 'A textual command line interface')
76
54
  @click.version_option("0.0.1", prog_name="egeria_ops")
77
-
78
55
  @click.group()
79
56
  @click.option('--server', default='active-metadata-store', envvar='EGERIA_METADATA_STORE',
80
57
  help='Egeria metadata store to work with')
@@ -118,6 +95,7 @@ def cli(ctx, server, url, view_server, view_server_url, integration_daemon, inte
118
95
  if verbose:
119
96
  click.echo(f"we are in verbose mode - server is {server}")
120
97
 
98
+
121
99
  #
122
100
  # Personal: Show
123
101
  #
@@ -128,7 +106,6 @@ def personal(ctx):
128
106
  pass
129
107
 
130
108
 
131
-
132
109
  @personal.group("show")
133
110
  @click.pass_context
134
111
  def show(ctx):
@@ -145,8 +122,9 @@ def show_my_profile(ctx):
145
122
 
146
123
  """
147
124
  c = ctx.obj
148
- display_my_profile( c.view_server, c.view_server_url,
149
- c.userid, c.password, c.jupyter, c.width)
125
+ display_my_profile(c.view_server, c.view_server_url,
126
+ c.userid, c.password, c.jupyter, c.width)
127
+
150
128
 
151
129
  @show.command('my-roles')
152
130
  @click.pass_context
@@ -157,8 +135,8 @@ def show_my_roles(ctx):
157
135
 
158
136
  """
159
137
  c = ctx.obj
160
- display_my_roles( c.view_server, c.view_server_url,
161
- c.userid, c.password, c.jupyter, c.width)
138
+ display_my_roles(c.view_server, c.view_server_url,
139
+ c.userid, c.password, c.jupyter, c.width)
162
140
 
163
141
 
164
142
  @show.command('my-to-dos')
@@ -171,7 +149,7 @@ def show_my_todos(ctx):
171
149
  """
172
150
  c = ctx.obj
173
151
  display_my_todos(c.view_server, c.view_server_url,
174
- c.userid, c.password, c.jupyter, c.width)
152
+ c.userid, c.password, c.jupyter, c.width)
175
153
 
176
154
 
177
155
  @show.command('open-to-dos')
@@ -184,7 +162,8 @@ def show_open_todos(ctx):
184
162
  tech-name is a valid technology name (see 'show tech-types')
185
163
  """
186
164
  c = ctx.obj
187
- display_todos( c.view_server, c.view_server_url, c.userid, c.password, c.jupyter, c.width)
165
+ display_todos(c.view_server, c.view_server_url, c.userid, c.password, c.jupyter, c.width)
166
+
188
167
 
189
168
  #
190
169
  # Personal: Tell
@@ -196,6 +175,7 @@ def tell(ctx):
196
175
  """Perform actions an Egeria Objects"""
197
176
  pass
198
177
 
178
+
199
179
  #
200
180
  # Technical User: Show
201
181
  #
@@ -239,7 +219,6 @@ def show_tech_types(ctx, search_string):
239
219
 
240
220
  """
241
221
 
242
-
243
222
  c = ctx.obj
244
223
  display_tech_types(search_string, c.view_server, c.view_server_url,
245
224
  c.userid, c.password)
@@ -300,7 +279,8 @@ def tech_templates(ctx, search_string):
300
279
  """Display template information about the specified technology."""
301
280
  c = ctx.obj
302
281
  template_viewer(search_string, c.view_server, c.view_server_url,
303
- c.userid, c.password, c.jupyter, c.width)
282
+ c.userid, c.password, c.jupyter, c.width)
283
+
304
284
 
305
285
  @show.command("tech-template-spec")
306
286
  @click.pass_context
@@ -334,7 +314,6 @@ def tell(ctx):
334
314
  pass
335
315
 
336
316
 
337
-
338
317
  #
339
318
  # Catalog User: Show
340
319
  #
@@ -344,6 +323,8 @@ def tell(ctx):
344
323
  def catalog_user(ctx):
345
324
  """Commands for the more technical user"""
346
325
  pass
326
+
327
+
347
328
  @catalog_user.group("show")
348
329
  @click.pass_context
349
330
  def show(ctx):
@@ -393,7 +374,7 @@ def show_assets(ctx, search_string):
393
374
  """
394
375
  c = ctx.obj
395
376
  display_assets(search_string, c.view_server, c.view_server_url, c.userid,
396
- c.password, 60,c.jupyter, c.width)
377
+ c.password, 60, c.jupyter, c.width)
397
378
 
398
379
 
399
380
  @show.command('glossary-terms')
@@ -443,7 +424,7 @@ def show_projects(ctx, search_string):
443
424
  """Display a list of Egeria projects """
444
425
  c = ctx.obj
445
426
  display_project_list(search_string, c.view_server, c.view_server_url, c.userid,
446
- c.password, False,c.jupyter, c.width)
427
+ c.password, False, c.jupyter, c.width)
447
428
 
448
429
 
449
430
  @show.command('to-dos')
@@ -454,7 +435,8 @@ def show_todos(ctx, search_string):
454
435
  """Display a tree graph of information about an asset """
455
436
  c = ctx.obj
456
437
  display_to_dos(search_string, c.view_server, c.view_server_url, c.userid,
457
- c.password, c.jupyter, c.width)
438
+ c.password, c.jupyter, c.width)
439
+
458
440
 
459
441
  #
460
442
  # Catalog User: Tell
@@ -475,7 +457,7 @@ def survey(ctx):
475
457
  pass
476
458
 
477
459
 
478
- @survey.command('survey_uc_server')
460
+ @survey.command('survey-uc-server')
479
461
  @click.pass_context
480
462
  @click.option('--uc_endpoint', default='https://localhost:8080',
481
463
  help="Endpoint of the Unity Catalog Server to Survey")
@@ -486,6 +468,7 @@ def survey_uc_server(ctx, uc_endpoint):
486
468
  # restart_connector(connector, c.integration_daemon, c.integration_daemon_url,
487
469
  # c.userid, c.password)
488
470
 
471
+
489
472
  #
490
473
  # Operations: Show
491
474
  #
@@ -496,6 +479,7 @@ def operations(ctx):
496
479
  """ Commands to understand and manage operations"""
497
480
  pass
498
481
 
482
+
499
483
  @operations.group("show")
500
484
  @click.pass_context
501
485
  def show(ctx):
@@ -653,8 +637,5 @@ engine_host.add_command(stop_engine_host)
653
637
 
654
638
  tell.add_command(load_archive)
655
639
 
656
-
657
-
658
-
659
640
  if __name__ == '__main__':
660
641
  cli()
@@ -218,7 +218,7 @@ def survey(ctx):
218
218
  pass
219
219
 
220
220
 
221
- @survey.command('survey_uc_server')
221
+ @survey.command('survey-uc-server')
222
222
  @click.pass_context
223
223
  @click.option('--uc_endpoint', default='https://localhost:8080',
224
224
  help="Endpoint of the Unity Catalog Server to Survey")
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyegeria"
3
- version = "0.5.9.3"
3
+ version = "0.5.9.4"
4
4
  license = 'Apache 2.0'
5
5
  authors = ["Dan Wolfson <dan.wolfson@pdr-associates.com>"]
6
6
  readme = "README.md"
File without changes
File without changes
File without changes