pyegeria 0.3.7__py3-none-any.whl → 0.3.9__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 (49) hide show
  1. pyegeria/Xasset_catalog_omvs.py +539 -0
  2. pyegeria/Xfeedback_manager_omvs.py +251 -0
  3. pyegeria/Xglossary_manager_omvs.py +3001 -0
  4. pyegeria/Xloaded_resources_omvs.py +91 -0
  5. pyegeria/__init__.py +6 -9
  6. pyegeria/_client.py +4 -6
  7. pyegeria/{gov_engine.py → _deprecated_gov_engine.py} +2 -59
  8. pyegeria/_exceptions.py +5 -6
  9. pyegeria/_globals.py +1 -1
  10. pyegeria/automated_curation_omvs.py +320 -315
  11. pyegeria/collection_manager_omvs.py +187 -248
  12. pyegeria/core_omag_server_config.py +1 -5
  13. pyegeria/full_omag_server_config.py +53 -83
  14. pyegeria/glossary_browser_omvs.py +2208 -0
  15. pyegeria/my_profile_omvs.py +8 -12
  16. pyegeria/platform_services.py +0 -3
  17. pyegeria/project_manager_omvs.py +9 -15
  18. pyegeria/registered_info.py +12 -52
  19. pyegeria/server_operations.py +1 -5
  20. pyegeria/valid_metadata_omvs.py +11 -23
  21. pyegeria-0.3.9.data/scripts/Create_Collection_Sample.py +292 -0
  22. pyegeria-0.3.9.data/scripts/Create_Sustainability_Collection_Sample.py +115 -0
  23. pyegeria-0.3.9.data/scripts/coco_status.py +98 -0
  24. {pyegeria-0.3.7.data → pyegeria-0.3.9.data}/scripts/collection_viewer.py +12 -31
  25. {pyegeria-0.3.7.data → pyegeria-0.3.9.data}/scripts/engine_action_status.py +14 -30
  26. {pyegeria-0.3.7.data → pyegeria-0.3.9.data}/scripts/find_todos.py +12 -41
  27. pyegeria-0.3.9.data/scripts/get_registered_services.py +135 -0
  28. {pyegeria-0.3.7.data → pyegeria-0.3.9.data}/scripts/get_relationship_types.py +16 -35
  29. {pyegeria-0.3.7.data → pyegeria-0.3.9.data}/scripts/glossary_view.py +2 -2
  30. {pyegeria-0.3.7.data → pyegeria-0.3.9.data}/scripts/gov_engine_status.py +0 -1
  31. {pyegeria-0.3.7.data → pyegeria-0.3.9.data}/scripts/list_asset_types.py +3 -25
  32. {pyegeria-0.3.7.data → pyegeria-0.3.9.data}/scripts/my_todos.py +1 -1
  33. {pyegeria-0.3.7.data → pyegeria-0.3.9.data}/scripts/open_todos.py +3 -24
  34. {pyegeria-0.3.7.data → pyegeria-0.3.9.data}/scripts/project_list_viewer.py +12 -26
  35. {pyegeria-0.3.7.data → pyegeria-0.3.9.data}/scripts/server_status.py +1 -20
  36. {pyegeria-0.3.7.data → pyegeria-0.3.9.data}/scripts/view_my_profile.py +8 -34
  37. {pyegeria-0.3.7.dist-info → pyegeria-0.3.9.dist-info}/METADATA +1 -3
  38. pyegeria-0.3.9.dist-info/RECORD +49 -0
  39. pyegeria/glossary_omvs.py +0 -789
  40. pyegeria-0.3.7.dist-info/RECORD +0 -41
  41. /pyegeria/{governance_author.py → Xaction_author_omvs.py} +0 -0
  42. {pyegeria-0.3.7.data → pyegeria-0.3.9.data}/scripts/get_tech_details.py +0 -0
  43. {pyegeria-0.3.7.data → pyegeria-0.3.9.data}/scripts/get_tech_types.py +0 -0
  44. {pyegeria-0.3.7.data → pyegeria-0.3.9.data}/scripts/integration_daemon_status.py +0 -0
  45. {pyegeria-0.3.7.data → pyegeria-0.3.9.data}/scripts/multi-server_status.py +0 -0
  46. {pyegeria-0.3.7.data → pyegeria-0.3.9.data}/scripts/server_status_widget.py +0 -0
  47. {pyegeria-0.3.7.dist-info → pyegeria-0.3.9.dist-info}/LICENSE +0 -0
  48. {pyegeria-0.3.7.dist-info → pyegeria-0.3.9.dist-info}/WHEEL +0 -0
  49. {pyegeria-0.3.7.dist-info → pyegeria-0.3.9.dist-info}/top_level.txt +0 -0
@@ -9,51 +9,25 @@ Unit tests for the Utils helper functions using the Pytest framework.
9
9
  A simple display for my profile
10
10
  """
11
11
 
12
- import time
13
- import json
14
12
  import argparse
13
+ import time
14
+
15
+ from rich import box
16
+ from rich.console import Console
17
+ from rich.table import Table
18
+
15
19
  from pyegeria import (
16
20
  InvalidParameterException,
17
21
  PropertyServerException,
18
22
  UserNotAuthorizedException,
19
23
  print_exception_response,
20
24
  )
21
- from rich.table import Table
22
- from rich.live import Live
23
- from rich import box
24
- from rich.prompt import Prompt
25
- from rich.tree import Tree
26
- from rich import print
27
- from rich.console import Console
28
25
  from pyegeria.my_profile_omvs import MyProfile
29
26
 
30
- from pyegeria.server_operations import ServerOps
31
- from pyegeria.gov_engine import GovEng
32
- from pyegeria.glossary_omvs import GlossaryBrowser
33
27
  disable_ssl_warnings = True
34
28
 
35
- good_platform1_url = "https://127.0.0.1:9443"
36
- good_platform2_url = "https://egeria.pdr-associates.com:7443"
37
- bad_platform1_url = "https://localhost:9443"
38
-
39
- # good_platform1_url = "https://127.0.0.1:30080"
40
- # good_platform2_url = "https://127.0.0.1:30081"
41
- # bad_platform1_url = "https://localhost:9443"
42
-
43
- good_user_1 = "garygeeke"
44
- good_user_2 = "erinoverview"
45
- bad_user_1 = "eviledna"
46
- bad_user_2 = ""
47
-
48
- good_server_1 = "active-metadata-store"
49
- good_server_2 = "simple-metadata-store"
50
- good_server_3 = "view-server"
51
- good_server_4 = "engine-host"
52
- bad_server_1 = "coco"
53
- bad_server_2 = ""
54
-
55
29
 
56
- def display_my_profiles(server: str = good_server_3, url: str = good_platform1_url, username: str = good_user_2):
30
+ def display_my_profiles(server: str, url: str, username: str):
57
31
 
58
32
  m_client = MyProfile(server, url, user_id=username)
59
33
  token = m_client.create_egeria_bearer_token(username, "secret")
@@ -62,7 +36,7 @@ def display_my_profiles(server: str = good_server_3, url: str = good_platform1_u
62
36
  def generate_table() -> Table:
63
37
  """Make a new table."""
64
38
  table = Table(
65
- title=f"My Profile Information {good_platform1_url} @ {time.asctime()}",
39
+ title=f"My Profile Information {url} @ {time.asctime()}",
66
40
  # style = "black on grey66",
67
41
  header_style="white on dark_blue",
68
42
  show_lines=True,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 0.3.7
3
+ Version: 0.3.9
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://egeria-project.org/egeria-python
6
6
  Author: Dan Wolfson
@@ -18,8 +18,6 @@ Requires-Dist: requests ~=2.31.0
18
18
  Requires-Dist: validators ~=0.22.0
19
19
  Requires-Dist: pytest ~=7.4.2
20
20
  Requires-Dist: urllib3 ~=1.26.15
21
- Requires-Dist: tabulate ~=0.9.0
22
- Requires-Dist: pandas ~=2.2.0
23
21
  Requires-Dist: rich ~=13.7.1
24
22
  Requires-Dist: httpx ~=0.26.0
25
23
  Provides-Extra: tests
@@ -0,0 +1,49 @@
1
+ pyegeria/Xaction_author_omvs.py,sha256=m0wsfmyO-VxRDaPpACeIDw8eVAFu3RVbo45RPCUel9M,6340
2
+ pyegeria/Xasset_catalog_omvs.py,sha256=8CtzNlI20oMjTVTZVngff_hEgFBgwsy-Di-VMaZmMPA,20387
3
+ pyegeria/Xfeedback_manager_omvs.py,sha256=0hpPE8jBIdwE-THU5puw-SGBgtzpcOJfxRpkE7Y7rXk,9917
4
+ pyegeria/Xglossary_manager_omvs.py,sha256=bWEWvP2cpqXvviwW7cqCaX7VTgWz2QsnmGw2FYwiRhU,133408
5
+ pyegeria/Xloaded_resources_omvs.py,sha256=_1RKeIfq3ga6nvtOzZ5dWcDFgxNiUOPJhnyMv1iCm9s,3377
6
+ pyegeria/__init__.py,sha256=RJylDbn6Lr3G0cEfLWySOcsj7jnxHgJ6bxk71GsXg6w,1808
7
+ pyegeria/_client.py,sha256=uQqfjf0JPacEWcDvbKpCvCypbDmAmGHaFQf_UTPK7VQ,23524
8
+ pyegeria/_deprecated_gov_engine.py,sha256=_DAEHsksnTKGqL9-TaaMVrfnNOrvatNACfg7pJ-ZX4w,17600
9
+ pyegeria/_exceptions.py,sha256=NJ7vAhmvusK1ENvY2MMrBB6A6TgpYjzS9QJxFH56b8c,18470
10
+ pyegeria/_globals.py,sha256=pgmydGorNceuAaq6l5Oxv1LkPGLdA3oSelJo2MKOtB8,559
11
+ pyegeria/_validators.py,sha256=DQuMsATRGxGSBtOrVtXlCgWXGhj6Nh-uqPtCsrUGLxk,12703
12
+ pyegeria/automated_curation_omvs.py,sha256=qVtBBG5GTQqfBPKJ8jsbLzmpUT8mwUjh4XvIVfsfacE,106615
13
+ pyegeria/collection_manager_omvs.py,sha256=IyGCbqx2Blm0OwCsC2071EeoNWHXyWGl_6pEtacizAs,112642
14
+ pyegeria/core_omag_server_config.py,sha256=A-xec_ivX7YMLZynzIMB7l-aYKNkqQHrUBMznoUuiNU,93098
15
+ pyegeria/full_omag_server_config.py,sha256=zzIyhCDolbLEJrc9JoBK308Mcq_96swYJopBN7_o4n8,45358
16
+ pyegeria/glossary_browser_omvs.py,sha256=nUCDSQ8cw8vuYgjfcaj1zLIefVI5j51evxPyXCIc4X8,101716
17
+ pyegeria/my_profile_omvs.py,sha256=w-3aL9s7VlonUGtdKgfMSCeYIbCtJn0zDLTuqUxAYFc,42265
18
+ pyegeria/platform_services.py,sha256=T2UiAl7tPfOBGL_H2b73XyyHtR0Y36irgbaljZTjD4I,41808
19
+ pyegeria/project_manager_omvs.py,sha256=_U6m2vquu4eEV7aY8X3hsvfm2zX0EBica1reGWX9amY,77078
20
+ pyegeria/registered_info.py,sha256=GfMcYz3IO0aNquf8qCrYQ9cA5KplhPx1kNt0_nMMpTM,6475
21
+ pyegeria/server_operations.py,sha256=YBdQJjPOmA1uhrUvzrjUKNGUc5nju9bhvCjF3AbdyWk,16164
22
+ pyegeria/utils.py,sha256=H0mew9IRcbsEi-pZfaT9HGuPO9CMOwnhOgIltyNvqTY,5240
23
+ pyegeria/valid_metadata_omvs.py,sha256=YpRiqwCa35P4UB6vExvcCEFrH0ZGV1mFUIJo9uloGJ4,29259
24
+ pyegeria-0.3.9.data/scripts/Create_Collection_Sample.py,sha256=Peoacgx0RRNwL_ZfMUynRcqttp6fdbSi5LZu38ghpD0,11865
25
+ pyegeria-0.3.9.data/scripts/Create_Sustainability_Collection_Sample.py,sha256=iLBm1LwRLi42Gayyb-wcWZ5NySQ6sc4kVSmwIAzP2Po,5049
26
+ pyegeria-0.3.9.data/scripts/coco_status.py,sha256=CR0_vwTBrKN7MSf1_OQ9MNi_RfmEcC-JucKLiRUZdqg,3188
27
+ pyegeria-0.3.9.data/scripts/collection_viewer.py,sha256=zLeQc5KQa_1Hw7zb46EoWwBbXzc1nzbnrPpuBqsxE6E,3233
28
+ pyegeria-0.3.9.data/scripts/engine_action_status.py,sha256=mv-FKnq8NdRRFeWOtqdflmXzEpLgw6SLfFrcMt6Rz84,4694
29
+ pyegeria-0.3.9.data/scripts/find_todos.py,sha256=TYp9z3wCbryNVlHAAJFpgFtY5fWA346QaA7-9_7Hnk4,4153
30
+ pyegeria-0.3.9.data/scripts/get_registered_services.py,sha256=NzlyItgcsoXgvV8vjaB3cMAR9GlVkbd6KcOiJ5rxUvs,5085
31
+ pyegeria-0.3.9.data/scripts/get_relationship_types.py,sha256=hVWd14zFqGvEn2YwUeS9ouAcdsKSZukSDSdELkU1Gvw,4162
32
+ pyegeria-0.3.9.data/scripts/get_tech_details.py,sha256=Tg4UCazeEh7He9-l7yQbCuJso7ZcpaLhdmMUT866RzU,6843
33
+ pyegeria-0.3.9.data/scripts/get_tech_types.py,sha256=xZoCrnmBXa-_WXDW3tBG6dt6IxH-aeQfg07pXM2IrsA,3924
34
+ pyegeria-0.3.9.data/scripts/glossary_view.py,sha256=cEQOo-lfrulbcmvr8zBv0bVBdBzqcqCZWORUzUW1nE0,4614
35
+ pyegeria-0.3.9.data/scripts/gov_engine_status.py,sha256=iPr_rYkczY2yVLCKlLMBvLugUAVJ6kro81Gr4c9fzCM,3961
36
+ pyegeria-0.3.9.data/scripts/integration_daemon_status.py,sha256=9XRQKdjmYqwfxwNoo4EUhX8vrplR0etS-5Yq89lXGMw,4575
37
+ pyegeria-0.3.9.data/scripts/list_asset_types.py,sha256=CxK2IETXIzDlMQbVUcP1WFMvUpFYiyJrfXDgGZVGCko,2810
38
+ pyegeria-0.3.9.data/scripts/multi-server_status.py,sha256=XlBaIERVqYXjHO2x18WY64Oo0fUZS1onpOLAJcIlJk0,3690
39
+ pyegeria-0.3.9.data/scripts/my_todos.py,sha256=MmG8pJATR2mbt1tmuo7VPHkVNe_QmyRNdQKBEp4sz_A,5672
40
+ pyegeria-0.3.9.data/scripts/open_todos.py,sha256=RW_yCnzVdAOHvIW4nAaCD5sxYPPGZQN9KTa54MN3YCE,3957
41
+ pyegeria-0.3.9.data/scripts/project_list_viewer.py,sha256=iUNrNOhKOrcx9m6PZmdEC3eiohTnInArJLTkGQlK6xY,4991
42
+ pyegeria-0.3.9.data/scripts/server_status.py,sha256=YFLRz6qx8WoNRbRGhHyVvokaxXjnNSDeG-cTxo22jO0,2836
43
+ pyegeria-0.3.9.data/scripts/server_status_widget.py,sha256=tyx1I7olr6e5kJF22ou9rqsztrRDdrPCq5uVa3hhPBU,3088
44
+ pyegeria-0.3.9.data/scripts/view_my_profile.py,sha256=XSUxLgcL4sYSoZshnMrHVoRf42ePlmk08v6_24uVQHo,3705
45
+ pyegeria-0.3.9.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
46
+ pyegeria-0.3.9.dist-info/METADATA,sha256=OmQU6fMcdPs9hKB812Ih9tgW5uxcsranS8hC7oJrVJE,2336
47
+ pyegeria-0.3.9.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
48
+ pyegeria-0.3.9.dist-info/top_level.txt,sha256=tHowU8jow7WJGmbr4QdIk7gJWdslRgbWBiF2lMeduLQ,9
49
+ pyegeria-0.3.9.dist-info/RECORD,,