pyegeria 1.5.1.1.49__py3-none-any.whl → 1.5.1.1.51__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 (85) hide show
  1. pyegeria/.DS_Store +0 -0
  2. pyegeria/commands/.DS_Store +0 -0
  3. pyegeria/commands/cat/glossary_actions.py +16 -12
  4. pyegeria/commands/cli/egeria.py +689 -208
  5. pyegeria/commands/cli/egeria_cat.py +105 -116
  6. pyegeria/commands/cli/egeria_ops.py +19 -2
  7. pyegeria/commands/cli/egeria_tech.py +64 -22
  8. pyegeria/commands/doc/.DS_Store +0 -0
  9. pyegeria/commands/doc/glossary/.DS_Store +0 -0
  10. pyegeria/commands/doc/glossary/basic-glossary-tui.md +52 -33
  11. pyegeria/commands/doc/glossary/images/.DS_Store +0 -0
  12. pyegeria/commands/doc/glossary/images/out-create-glossary example 2024-11-05 at 20.38.04@2x.png +0 -0
  13. pyegeria/commands/doc/glossary/images/out-delete-term 2024-11-07 at 03.57.25.png +0 -0
  14. pyegeria/commands/doc/glossary/images/out-export-example 2024-11-07 at 09.54.57.png +0 -0
  15. pyegeria/commands/doc/glossary/images/out-glossary-list example 2024-11-05 at 20.41.02@2x.png +0 -0
  16. pyegeria/commands/doc/glossary/images/out-import-terms 2024-11-07 at 08.15.18.png +0 -0
  17. pyegeria/commands/doc/glossary/images/out-pipx install pyegeria 2024-11-10 at 18.12.21.png +0 -0
  18. pyegeria/commands/doc/glossary/images/out-server-status-full 2024-11-10 at 18.25.14.png +0 -0
  19. pyegeria/commands/doc/glossary/images/out-servers-status 2024-11-10 at 18.15.42.png +0 -0
  20. pyegeria/commands/doc/glossary/images/out-upsert-import 2024-11-07 at 19.37.00.png +0 -0
  21. pyegeria/commands/doc/glossary/images/tui-2024-11-10 at 18.26.29.png +0 -0
  22. pyegeria/commands/doc/glossary/images/tui-create-glossary example 2024-11-05 at 20.34.24@2x.png +0 -0
  23. pyegeria/commands/doc/glossary/images/tui-export-example 2024-11-07 at 09.52.59.png +0 -0
  24. pyegeria/commands/doc/glossary/images/tui-hey-egeria 2024-11-10 at 18.31.01.png +0 -0
  25. pyegeria/commands/doc/glossary/images/tui-import-upsert-example 2024-11-07 at 10.08.37.png +0 -0
  26. pyegeria/commands/doc/glossary/images/tui-load-archive.png +0 -0
  27. pyegeria/commands/doc/glossary/images/tui-server-status-full 2024-11-10 at 19.14.36.png +0 -0
  28. pyegeria/commands/doc/glossary/images/tui-show-glossaries 2024-11-07 at 20.00.05.png +0 -0
  29. pyegeria/commands/doc/glossary/images/tui-upsert 2024-11-07 at 11.49.04.png +0 -0
  30. pyegeria/commands/doc/glossary/images/upsert-example.om-terms 2024-11-07 at 11.44.05.png +0 -0
  31. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/.DS_Store +0 -0
  32. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/hey_egeria: overview.md +164 -0
  33. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-server-status 2024-11-10 at 18.15.42@2x.png +0 -0
  34. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-server-status-full 2024-11-10 at 18.25.14@2x.png +0 -0
  35. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-hey-egeria 2024-11-10 at 18.31.01@2x.png +0 -0
  36. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-load-archive 2024-11-10 at 19.19.09@2x.png +0 -0
  37. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-show-server-status 2024-11-10 at 18.52.01@2x.png +0 -0
  38. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-show-server-status-full 2024-11-10.png +0 -0
  39. pyegeria/glossary_manager_omvs.py +85 -134
  40. {pyegeria-1.5.1.1.49.dist-info → pyegeria-1.5.1.1.51.dist-info}/METADATA +1 -1
  41. {pyegeria-1.5.1.1.49.dist-info → pyegeria-1.5.1.1.51.dist-info}/RECORD +62 -53
  42. {pyegeria-1.5.1.1.49.dist-info → pyegeria-1.5.1.1.51.dist-info}/entry_points.txt +4 -3
  43. pyegeria/commands/doc/glossary/CleanShot 2024-11-06 at 21.02.16@2x.png +0 -0
  44. pyegeria/commands/doc/glossary/CleanShot 2024-11-06 at 21.03.24@2x.png +0 -0
  45. pyegeria/commands/doc/glossary/CleanShot 2024-11-06 at 21.06.32@2x.png +0 -0
  46. pyegeria/commands/doc/glossary/CleanShot 2024-11-07 at 03.29.18@2x.png +0 -0
  47. pyegeria/commands/doc/glossary/CleanShot 2024-11-07 at 03.34.41@2x.png +0 -0
  48. pyegeria/commands/doc/glossary/CleanShot 2024-11-07 at 03.51.57@2x.png +0 -0
  49. pyegeria/commands/doc/glossary/out-create-glossary example 2024-11-05 at 20.38.04@2x.png +0 -0
  50. pyegeria/commands/doc/glossary/out-glossary-list example 2024-11-05 at 20.41.02@2x.png +0 -0
  51. pyegeria/commands/doc/glossary/out-terms-export 2024-11-06 at 21.03.24.png +0 -0
  52. pyegeria/commands/doc/glossary/out_show-all-terms 2024-11-05 at 19.43.29@2x.png +0 -0
  53. pyegeria/commands/doc/glossary/shell_list_glossaries 2024-11-05 at 17.07.21@2x.png +0 -0
  54. pyegeria/commands/doc/glossary/shell_list_glossaries 2024-11-05 at 19.21.50@2x.png +0 -0
  55. pyegeria/commands/doc/glossary/tui-create-glossary 2024-11-05 at 19.18.19@2x.png +0 -0
  56. pyegeria/commands/doc/glossary/tui-create-glossary example 2024-11-05 at 20.34.24@2x.png +0 -0
  57. pyegeria/commands/doc/glossary/tui-delete-term 2024-11-07 at 03.29.18@2x.png +0 -0
  58. pyegeria/commands/doc/glossary/tui-delete-term 2024-11-07 at 03.34.41.png +0 -0
  59. pyegeria/commands/doc/glossary/tui-display-terms-for-glossary 2024-11-06 at 20.49.51.png +0 -0
  60. pyegeria/commands/doc/glossary/tui-export-glossary 2024-11-06 at 21.02.16.png +0 -0
  61. pyegeria/commands/doc/glossary/tui-list-all-terms 2024-11-06 at 16.19.45@2x.png +0 -0
  62. pyegeria/commands/doc/glossary/tui-list-terms-from-glossary 2024-11-06 at 16.23.54.png +0 -0
  63. pyegeria/commands/doc/glossary/tui-load-terms 2024-11-05 at 20.44.20@2x.png +0 -0
  64. pyegeria/commands/doc/glossary/tui-show glossaries 2024-11-05 at 19.22.49@2x.png +0 -0
  65. pyegeria/commands/doc/glossary/tui-show-glossary-terms-sustainability 2024-11-05 at 19.46.13@2x.png +0 -0
  66. /pyegeria/commands/doc/glossary/{delete-glossary-step1 2024-11-06 at 15.47.23@2x.png → images/delete-glossary-step1 2024-11-06 at 15.47.23@2x.png} +0 -0
  67. /pyegeria/commands/doc/glossary/{delete-glossary-step2 2024-11-06 at 15.51.29@2x.png → images/delete-glossary-step2 2024-11-06 at 15.51.29@2x.png} +0 -0
  68. /pyegeria/commands/doc/glossary/{delete-glossary-step3 2024-11-06 at 15.53.19@2x.png → images/delete-glossary-step3 2024-11-06 at 15.53.19@2x.png} +0 -0
  69. /pyegeria/commands/doc/glossary/{delete-glossary-step4 2024-11-06 at 15.55.11@2x.png → images/delete-glossary-step4 2024-11-06 at 15.55.11@2x.png} +0 -0
  70. /pyegeria/commands/doc/glossary/{out-create-term 2024-11-06 at 20.48.29.png → images/out-create-term 2024-11-06 at 20.48.29.png} +0 -0
  71. /pyegeria/commands/doc/glossary/{out-display-terms-for-glossary-test 2024-11-06 at 20.51.28.png → images/out-display-terms-for-glossary-test 2024-11-06 at 20.51.28.png} +0 -0
  72. /pyegeria/commands/doc/glossary/{out-exported-terms 2024-11-06 at 21.06.32.png → images/out-exported-terms 2024-11-06 at 21.06.32.png} +0 -0
  73. /pyegeria/commands/doc/glossary/{out-list-all-terms 2024-11-06 at 16.22.20@2x.png → images/out-list-all-terms 2024-11-06 at 16.22.20@2x.png} +0 -0
  74. /pyegeria/commands/doc/glossary/{out-list-terms-for-example 2024-11-06 at 16.40.12.png → images/out-list-terms-for-example 2024-11-06 at 16.40.12.png} +0 -0
  75. /pyegeria/commands/doc/glossary/{out-list-terms-second 2024-11-06 at 16.45.13.png → images/out-list-terms-second 2024-11-06 at 16.45.13.png} +0 -0
  76. /pyegeria/commands/doc/glossary/{tui-create-term 2024-11-06 at 20.46.35.png → images/tui-create-term 2024-11-06 at 20.46.35.png} +0 -0
  77. /pyegeria/commands/doc/glossary/{tui-delete-term 2024-11-07 at 03.51.57.png → images/tui-delete-term 2024-11-07 at 03.51.57.png} +0 -0
  78. /pyegeria/commands/doc/glossary/{tui-display-terms-for-example 2024-11-06 at 20.56.49.png → images/tui-display-terms-for-example 2024-11-06 at 20.56.49.png} +0 -0
  79. /pyegeria/commands/doc/glossary/{tui-list-terms-second 2024-11-06 at 16.46.34.png → images/tui-list-terms-second 2024-11-06 at 16.46.34.png} +0 -0
  80. /pyegeria/commands/doc/glossary/{tui-show-glossary-terms 2024-11-05 at 19.37.53@2x.png → images/tui-show-glossary-terms 2024-11-05 at 19.37.53@2x.png} +0 -0
  81. /pyegeria/commands/{cat → ops}/list_archives.py +0 -0
  82. /pyegeria/commands/{cat → tech}/get_tech_type_template.py +0 -0
  83. /pyegeria/commands/{cat → tech}/list_relationships.py +0 -0
  84. {pyegeria-1.5.1.1.49.dist-info → pyegeria-1.5.1.1.51.dist-info}/LICENSE +0 -0
  85. {pyegeria-1.5.1.1.49.dist-info → pyegeria-1.5.1.1.51.dist-info}/WHEEL +0 -0
@@ -4,29 +4,37 @@
4
4
  # Working with glossaries
5
5
 
6
6
  ## Display glossary List
7
- ### Entry
8
- ![tui-show glossaries 2024-11-05 at 19.22.49@2x.png](tui-show%20glossaries%20%202024-11-05%20at%2019.22.49%402x.png)
7
+ ### Entry - `hey_egeria_cat tui`
8
+
9
+ ![tui-show-glossaries 2024-11-07 at 20.00.05.png](images/tui-show-glossaries%202024-11-07%20at%2020.00.05.png)
10
+
9
11
  ### Display
10
- ![glossary-list](out-glossary-list%20example%202024-11-05%20at%2020.41.02%402x.png)
12
+ ![out-glossary-list example 2024-11-05 at 20.41.02@2x.png](images/out-glossary-list%20example%202024-11-05%20at%2020.41.02%402x.png)
13
+ ##### This shows three glossaries with their unique, Qualified Name and unique identifier (GUID). Language, Description and Usage are optional but highly recommended to help users find, use and manage glossaries.
14
+
11
15
  ## Create a new Glossary
12
16
  ### Entry
13
- ![TUI-create glossary](/Users/dwolfson/localGit/egeria-v5/egeria-python/pyegeria/commands/doc/glossary/tui-create-glossary example 2024-11-05 at 20.34.24@2x.png)
17
+ ![tui-create-glossary example 2024-11-05 at 20.34.24@2x.png](images/tui-create-glossary%20example%202024-11-05%20at%2020.34.24%402x.png)
14
18
 
15
19
  ### Display
16
- ![create glossary](/Users/dwolfson/localGit/egeria-v5/egeria-python/pyegeria/commands/doc/glossary/out-create-glossary example 2024-11-05 at 20.38.04@2x.png)
20
+ ##### The result of executing the create glossary command is displayed on the terminal. Note the GUID that is returned.
21
+ ![out-create-glossary example 2024-11-05 at 20.38.04@2x.png](images/out-create-glossary%20example%20%202024-11-05%20at%2020.38.04%402x.png)
22
+
17
23
  ## Delete a glossary
18
24
 
25
+ ##### To demonstrate deleting a glossary we first list all glossaries, then perform the delete, and finally list glossaries again to validate that the glossary has been deleted.
26
+
19
27
  ### 1. List available glossaries
20
- ![delete-glossary-step1 2024-11-06 at 15.47.23@2x.png](delete-glossary-step1%202024-11-06%20at%2015.47.23%402x.png)
28
+ ![delete-glossary-step1 2024-11-06 at 15.47.23@2x.png](images/delete-glossary-step1%202024-11-06%20at%2015.47.23%402x.png)
21
29
 
22
30
  ### 2. Use TUI to delete a glossary, specifying a glossary GUID from the list glossaries command above
23
- ![delete-glossary-step2 2024-11-06 at 15.51.29@2x.png](delete-glossary-step2%202024-11-06%20at%2015.51.29%402x.png)
31
+ ![delete-glossary-step2 2024-11-06 at 15.51.29@2x.png](images/delete-glossary-step2%202024-11-06%20at%2015.51.29%402x.png)
24
32
 
25
33
  ### 3. View the results of the delete glossary command
26
- ![delete-glossary-step3 2024-11-06 at 15.53.19@2x.png](delete-glossary-step3%202024-11-06%20at%2015.53.19%402x.png)
34
+ ![delete-glossary-step3 2024-11-06 at 15.53.19@2x.png](images/delete-glossary-step3%202024-11-06%20at%2015.53.19%402x.png)
27
35
 
28
36
  ### 4. List glossaries again to see the remaining glossaries
29
- ![delete-glossary-step4 2024-11-06 at 15.55.11@2x.png](delete-glossary-step4%202024-11-06%20at%2015.55.11%402x.png)
37
+ ![delete-glossary-step4 2024-11-06 at 15.55.11@2x.png](images/delete-glossary-step4%202024-11-06%20at%2015.55.11%402x.png)
30
38
 
31
39
  # Working with terms
32
40
 
@@ -34,57 +42,68 @@
34
42
 
35
43
  ### Display all terms across all visible glossaries
36
44
 
37
- ![tui-show-glossary-terms 2024-11-05 at 19.37.53@2x.png](tui-show-glossary-terms%202024-11-05%20at%2019.37.53%402x.png)
45
+ ![tui-show-glossary-terms 2024-11-05 at 19.37.53@2x.png](images/tui-show-glossary-terms%202024-11-05%20at%2019.37.53%402x.png)
38
46
 
39
- ![out-list-all-terms 2024-11-06 at 16.22.20@2x.png](out-list-all-terms%20%202024-11-06%20at%2016.22.20%402x.png)
40
- ### Display all terms for a specific glossary
47
+ ![out-list-all-terms 2024-11-06 at 16.22.20@2x.png](images/out-list-all-terms%20%202024-11-06%20at%2016.22.20%402x.png)
41
48
 
42
- ![tui-display-terms-for-example 2024-11-06 at 20.56.49.png](tui-display-terms-for-example%202024-11-06%20at%2020.56.49.png)
49
+ ### Display all terms for a specific glossary
43
50
 
44
- ![out-create-term 2024-11-06 at 20.48.29.png](out-create-term%202024-11-06%20at%2020.48.29.png)
51
+ ![tui-display-terms-for-example 2024-11-06 at 20.56.49.png](images/tui-display-terms-for-example%202024-11-06%20at%2020.56.49.png)
45
52
 
46
- ![out-list-terms-for-example 2024-11-06 at 16.40.12.png](out-list-terms-for-example%202024-11-06%20at%2016.40.12.png)
53
+ ![out-list-terms-for-example 2024-11-06 at 16.40.12.png](images/out-list-terms-for-example%202024-11-06%20at%2016.40.12.png)
47
54
 
48
55
  ### Display terms starting with a specified search string
49
- ![tui-list-terms-second 2024-11-06 at 16.46.34.png](tui-list-terms-second%202024-11-06%20at%2016.46.34.png)
50
56
 
51
- ![out-list-terms-second 2024-11-06 at 16.45.13.png](out-list-terms-second%202024-11-06%20at%2016.45.13.png)
52
-
53
- ## Create a new term
57
+ ![tui-list-terms-second 2024-11-06 at 16.46.34.png](images/tui-list-terms-second%202024-11-06%20at%2016.46.34.png)
54
58
 
55
- ![tui-create-term 2024-11-06 at 20.46.35.png](tui-create-term%202024-11-06%20at%2020.46.35.png)
56
-
57
- ![out-display-terms-for-glossary-test 2024-11-06 at 20.51.28.png](out-display-terms-for-glossary-test%202024-11-06%20at%2020.51.28.png)
58
- ## Delete a term
59
-
60
- ## Export terms to a CSV File
61
-
62
- ![tui-export-glossary 2024-11-06 at 21.02.16.png](tui-export-glossary%202024-11-06%20at%2021.02.16.png)
63
-
64
- ![out-terms-export 2024-11-06 at 21.03.24.png](out-terms-export%202024-11-06%20at%2021.03.24.png)
65
-
66
- ![out-exported-terms 2024-11-06 at 21.06.32.png](out-exported-terms%202024-11-06%20at%2021.06.32.png)
67
-
68
- ## Import terms from a CSV File
59
+ ![out-list-terms-second 2024-11-06 at 16.45.13.png](images/out-list-terms-second%202024-11-06%20at%2016.45.13.png)
69
60
 
61
+ ## Create a new term
70
62
 
63
+ ![tui-create-term 2024-11-06 at 20.46.35.png](images/tui-create-term%202024-11-06%20at%2020.46.35.png)
71
64
 
65
+ ![out-create-term 2024-11-06 at 20.48.29.png](images/out-create-term%202024-11-06%20at%2020.48.29.png)
72
66
 
67
+ ![out-display-terms-for-glossary-test 2024-11-06 at 20.51.28.png](images/out-display-terms-for-glossary-test%202024-11-06%20at%2020.51.28.png)
73
68
 
69
+ ## Delete a term
70
+ ![tui-delete-term 2024-11-07 at 03.51.57.png](images/tui-delete-term%202024-11-07%20at%2003.51.57.png)
74
71
 
72
+ ![out-delete-term 2024-11-07 at 03.57.25.png](images/out-delete-term%202024-11-07%20at%2003.57.25.png)
75
73
 
74
+ ## Import & Export terms
75
+ #### We can import terms from a CSV formatted file and export terms to a CSV formatted file.
76
76
 
77
+ ### Import terms into example glossary
77
78
 
79
+ #### First we'll import terms from the file `Test1.om-terms`
80
+ ![tui-import-upsert-example 2024-11-07 at 10.08.37.png](images/tui-import-upsert-example%202024-11-07%20at%2010.08.37.png)
78
81
 
82
+ #### Because the *verbose* option is enabled, we will get back a JSON structure reflecting the import status for each row in the file. Note that there must be a blank row at the end of the file because we detect a missing term name and skip that row.
83
+ ![out-import-terms 2024-11-07 at 08.15.18.png](images/out-import-terms%202024-11-07%20at%2008.15.18.png)
79
84
 
85
+ #### Listing the glossary terms shows us the results of the import.
80
86
 
87
+ ![out-list-terms-for-example 2024-11-06 at 16.40.12.png](images/out-list-terms-for-example%202024-11-06%20at%2016.40.12.png)
81
88
 
89
+ ### Export terms to a CSV File
90
+ #### Now we will create a copy of this glossary to a CSV file to use it for further demonstrations.
91
+ ![![tui-export-example 2024-11-07 at 09.52.59.png](images/tui-export-example%202024-11-07%20at%2009.52.59.png)tui-export-glossary 2024-11-06 at 21.02.16.png](tui-export-glossary%202024-11-06%20at%2021.02.16.png)
92
+ ![out-export-example 2024-11-07 at 09.54.57.png](images/out-export-example%202024-11-07%20at%2009.54.57.png)
82
93
 
94
+ ![out-exported-terms 2024-11-06 at 21.06.32.png](images/out-exported-terms%202024-11-06%20at%2021.06.32.png)
95
+ ### Demonstrating upsert capability
83
96
 
97
+ #### We will copy the exported file to a new file called **upsert-example.om-terms** and modify the file by adding a fourth row and updating the description field of one of the terms.
84
98
 
99
+ ### Upsert
85
100
 
101
+ #### Importing **upsert-example.om-terms**.
86
102
 
103
+ ![tui-upsert 2024-11-07 at 11.49.04.png](images/tui-upsert%202024-11-07%20at%2011.49.04.png)
87
104
 
105
+ #### For rows in the file that contain a **Qualified Name**, any values provided on that row will over-write existing values. Rows that have a **Term Name** but do not have a **Qualified Name** will be appended to the glossary.
106
+ ![out-upsert-import 2024-11-07 at 19.37.00.png](images/out-upsert-import%202024-11-07%20at%2019.37.00.png)
88
107
  ----
89
108
  License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/),
90
109
  Copyright Contributors to the Egeria project.
@@ -0,0 +1,164 @@
1
+ <!-- SPDX-License-Identifier: CC-BY-4.0 -->
2
+ <!-- Copyright Contributors to the Egeria project. -->
3
+
4
+ # Introduction
5
+ # Hey_Egeria
6
+
7
+ Hey_Egeria is a friendly, easy to use command line interface (CLI) to make using Egeria easier and more transparent.
8
+ It is implemented as a set of pyegeria commands that allows users to manage and inspect Egeria artifacts through a simple terminal interface.
9
+ There are currently about 70 commands available, but the functions continue to grow and evolve with the needs of the Egeria community.
10
+
11
+ Getting started is easy. The CLI runs in a standard terminal window operating in Mac, PC and Linux environments.
12
+ You will need to know some basic information about your Egeria environment, but if you are operating within a typical
13
+ Egeria development environment or Egeria Workspaces the pre-configured environment variables and defaults should just work without additional setup.
14
+
15
+ In this guide, we'll first review how to install hey_egeria, then go through how to use it from both the
16
+ TUI (Textual User Interface) as well as the command line. After walking through a number of basic examples,
17
+ we'll discuss how the CLI is organized, how to configure it and some advanced features. Let's get started!
18
+
19
+ # Installation & Upgrade
20
+
21
+ `hey_egeria` is written in python and is part of the the **__pyegeria package__** that can be found on [pypi](https://pypi.org).
22
+ To install and run the CLI we use the **pipx** utility [Installation - pipx](https://pipx.pypa.io/latest/installation/).
23
+ This utility creates operating system level commands from suitably configured python packages.
24
+ It installs the package in a private environment so that the python packages are isolated from the rest of your environment.
25
+ So the first step is to install pipx from a terminal window by following the directions in the link above.
26
+
27
+
28
+ Once **pipx** is installed, install **pyegeria** using pipx, this will create and configure all of the pyegeria commands.
29
+ Install pyegeria commands by entering into the terminal window:
30
+
31
+ `pipx install pyegeria`
32
+
33
+ This will result in a an output similar to:
34
+
35
+
36
+
37
+ ```➜ / pipx install pyegeria
38
+ installed package pyegeria 1.5.1.1.49, installed using Python 3.12.7
39
+ These apps are now globally available
40
+ - change_todo_status
41
+ - create_glossary
42
+ - create_term
43
+ - create_todo
44
+ - delete_glossary
45
+ - delete_todo
46
+ - export_terms_to_file
47
+ - get_asset_graph
48
+ - get_collection
49
+ - get_element_info
50
+ - get_guid_info
51
+ - get_project_dependencies
52
+ - get_project_structure
53
+ - get_tech_details
54
+ - get_tech_type_elements
55
+ - get_tech_type_template
56
+ - hey_egeria
57
+ - hey_egeria_cat
58
+ - hey_egeria_my
59
+ - hey_egeria_ops
60
+ - hey_egeria_per
61
+ - hey_egeria_tech
62
+ - list_archives
63
+ - list_asset_types
64
+ - list_assets
65
+ - list_catalog_targets
66
+ - list_cert_types
67
+ - list_deployed_catalogs
68
+ - list_deployed_databases
69
+ - list_deployed_schemas
70
+ - list_deployed_servers
71
+ - list_element_graph
72
+ - list_elements
73
+ - list_elements_for_classification
74
+ - list_engine_activity
75
+ - list_engine_activity_compressed
76
+ - list_glossaries
77
+ - list_glossary
78
+ - list_gov_action_processes
79
+ - list_gov_eng_status
80
+ - list_integ_daemon_status
81
+ - list_my_profile
82
+ - list_my_roles
83
+ - list_projects
84
+ - list_registered_services
85
+ - list_related_elements
86
+ - list_related_specification
87
+ - list_relationship_types
88
+ - list_relationships
89
+ - list_tech_templates
90
+ - list_tech_types
91
+ - list_terms
92
+ - list_todos
93
+ - list_user_ids
94
+ - list_valid_metadata_values
95
+ - load_archive
96
+ - load_archive_tui
97
+ - load_terms_from_file
98
+ - mark_todo_complete
99
+ - monitor_asset_events
100
+ - monitor_coco_status
101
+ - monitor_engine_activity
102
+ - monitor_engine_activity_compressed
103
+ - monitor_gov_eng_status
104
+ - monitor_integ_daemon_status
105
+ - monitor_my_todos
106
+ - monitor_open_todos
107
+ - monitor_platform_status
108
+ - monitor_server_list
109
+ - monitor_server_startup
110
+ - monitor_server_status
111
+ - reassign_todo
112
+ - refresh_gov_eng_config
113
+ - refresh_integration_daemon
114
+ - restart_integration_daemon
115
+ - start_daemon
116
+ - stop_daemon
117
+ done! ✨ 🌟 ✨
118
+ ```
119
+
120
+ There are a couple of interesting things to note in the output. The first is the version of pyegeria which can be helpful in determining if and when to upgrade. The second is the long list of pyegeria commands that are installed. Executing these commands directly can be a useful shortcut - especially within shell scripts - but for getting started and everyday use many people find that using the **hey_egeria** CLI is simpler. Hence, this document will focus more on using the CLI.
121
+
122
+ Uninstalling and upgrading pyegeria can also easily be done with pipx commands. Issuing:
123
+
124
+ `pipx -h`
125
+
126
+ Will provide a good overview.
127
+
128
+ ## First Use
129
+
130
+ A good first use is to validate that we are able to communicate with an Egeria platform and check the status of the running servers. We can do this by typing:
131
+
132
+ `hey_egeria ops show servers`
133
+
134
+ Which should produce an output similar to:
135
+
136
+ The structure of the command is:
137
+
138
+ `hey_egeria` [area] [show/tell] [object] [required parameters] [--optional parameters]
139
+
140
+ * hey_egeria` - this is the shell level command
141
+ * [area] - there are currently four areas of commands that roughly correspond to user roles. They are:
142
+ * cat - for catalog users - this is for general usage of Egeria as a governance catalog.
143
+ * my - for individual information - these commands are relevant to an individual such as my_todos.
144
+ * ops - for Egeria operations - these commands are for working with the Egeria environment itself.
145
+ * tech - for technical users - these commands provide technical details and management.
146
+ * [show/tell] - **show** commands display something and **tell** commands instruct Egeria to do something.
147
+ For example, above we requested to be shown the status of Egeria servers on a platform. We could use a tell command to, create or delete a glossary term.
148
+ * [required parameters] - parameters are sometimes required by a command.
149
+ * [optional parameters] - most parameters are optional and have sensible defaults so that you don't have to type them in.
150
+
151
+ There is a lot of detail here that can seem a bit daunting to learn - so to make things easier, we have a TUI
152
+ (Textual User Interface) that allows us to browse through the commands with documentation and guidance about how to fill out each command - and then to execute the command. Here is what it looks like:
153
+
154
+ ![tui-hey-egeria 2024-11-10 at 18.31.01@2x.png](images/tui-hey-egeria%202024-11-10%20at%2018.31.01%402x.png)
155
+ Lets review the numbered annotations in the screenshot above:
156
+
157
+ 1) The left hand side is a scrollable list of commands organized by area, show/tell and then
158
+ ## Working with the TUI
159
+
160
+
161
+
162
+ ----
163
+ License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/),
164
+ Copyright Contributors to the Egeria project.