pyegeria 5.3.6.3__py3-none-any.whl → 5.3.6.5__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.
- pyegeria/__init__.py +2 -1
- pyegeria/_client.py +10 -0
- pyegeria/commands/cat/Dr-Egeria_md-orig.py +167 -0
- pyegeria/commands/cat/dr_egeria_md.py +53 -47
- pyegeria/commands/cat/get_collection.py +2 -2
- pyegeria/commands/cli/egeria.py +1 -1
- pyegeria/glossary_browser_omvs.py +49 -31
- pyegeria/glossary_manager_omvs.py +4 -5
- pyegeria/md_processing_utils.py +190 -123
- {pyegeria-5.3.6.3.dist-info → pyegeria-5.3.6.5.dist-info}/METADATA +1 -1
- {pyegeria-5.3.6.3.dist-info → pyegeria-5.3.6.5.dist-info}/RECORD +14 -14
- pyegeria/commands/cat/dr_egeria_inbox/freddie_intro.md +0 -269
- {pyegeria-5.3.6.3.dist-info → pyegeria-5.3.6.5.dist-info}/LICENSE +0 -0
- {pyegeria-5.3.6.3.dist-info → pyegeria-5.3.6.5.dist-info}/WHEEL +0 -0
- {pyegeria-5.3.6.3.dist-info → pyegeria-5.3.6.5.dist-info}/entry_points.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
pyegeria/README.md,sha256=PwX5OC7-YSZUCIsoyHh1O-WBM2hE84sm3Bd4O353NOk,1464
|
2
|
-
pyegeria/__init__.py,sha256=
|
3
|
-
pyegeria/_client.py,sha256=
|
2
|
+
pyegeria/__init__.py,sha256=koaCNp-uWubVVhrdGCcd4auWV7qeVKZGAVG1zY0rPgs,30266
|
3
|
+
pyegeria/_client.py,sha256=nhUPmeQFHqbobM6_3EGmUy-STYURxb15BEXf6erY2oI,31733
|
4
4
|
pyegeria/_deprecated_gov_engine.py,sha256=dWNcwVsE5__dF2u4QiIyQrssozzzOjBbLld8MdpmVCQ,17264
|
5
5
|
pyegeria/_exceptions.py,sha256=1SrnV194V4_YJNnNAU0myTHQ3dhLn4GF2B2gZcj1u90,18153
|
6
6
|
pyegeria/_globals.py,sha256=a_irI6oGuBLks2LzQHkSdK6xWbPdJCPRjqxK7PKxwgw,991
|
@@ -11,16 +11,16 @@ pyegeria/classification_manager_omvs.py,sha256=n55-62Mby-_5pxPGaz3nkjM9NWlY4PzSl
|
|
11
11
|
pyegeria/collection_manager_omvs.py,sha256=xNuF3Ki6Rg-TehdbFGS8exSOUXpkQ3X63__OdXuCkc8,101746
|
12
12
|
pyegeria/commands/README.md,sha256=hJdOWhZ5eCfwTkY4Tx6De6Y1XVo7cbaddQEvjqppvls,2036
|
13
13
|
pyegeria/commands/__init__.py,sha256=R2o66ctVicTZ8B5VSPtc7EDRKNiNclzFbYX0o2Zg2dQ,1120
|
14
|
+
pyegeria/commands/cat/Dr-Egeria_md-orig.py,sha256=3SCibPi_wq-znp8qeWRJLDYEh4SkAmQaWO5biWeXK2E,7665
|
14
15
|
pyegeria/commands/cat/README.md,sha256=-aaAnIT2fcfU63vajgB-RzQk4l4yFdhkyVfSaTPiqRY,967
|
15
16
|
pyegeria/commands/cat/__init__.py,sha256=5OCy4m_yZsnSxdy_gvkCyP_OkjvuWKimqUGHYCJc_qA,450
|
16
|
-
pyegeria/commands/cat/dr_egeria_inbox/freddie_intro.md,sha256=xiikqqouWFBTCCBgZh7SXTaIy61i7fTWN9J2zbvZ2Ao,6548
|
17
17
|
pyegeria/commands/cat/dr_egeria_inbox/glossary_creation_experiment.ipynb,sha256=dbzNu90fCKNohOWVSRBOB1GLyd95x8Qw51I5AkaPtso,11552
|
18
18
|
pyegeria/commands/cat/dr_egeria_inbox/glossary_exp.md,sha256=KsUeTzDe5QkrTmIfIAXR74qZ29oSfRW-NAEn0RYIRqM,2534
|
19
19
|
pyegeria/commands/cat/dr_egeria_jupyter.py,sha256=4LcmD5CrtazLgUK_LCjgOnwtxZqTBB6lrMR8tsugl94,6036
|
20
|
-
pyegeria/commands/cat/dr_egeria_md.py,sha256=
|
20
|
+
pyegeria/commands/cat/dr_egeria_md.py,sha256=Upro9-273V4LNmQkSWnx7njVNUsuXaWIPfn1HrU6-NI,7830
|
21
21
|
pyegeria/commands/cat/exp_list_glossaries.py,sha256=dC6Bnfm3YSMTKPP146qeslIFRiZnGu5b7iDYE07p4iU,5817
|
22
22
|
pyegeria/commands/cat/get_asset_graph.py,sha256=xnXJfpDTVH1TJ2TwE3dtjaXU36Di6-N6JAyhothzz2o,12461
|
23
|
-
pyegeria/commands/cat/get_collection.py,sha256=
|
23
|
+
pyegeria/commands/cat/get_collection.py,sha256=kXPcP8u-SMWfrVyyBhNoxG8mcgB7EV_5i9N9w_IBU7o,5379
|
24
24
|
pyegeria/commands/cat/get_project_dependencies.py,sha256=wDK_lAfR6p4VxYRV6MZE9XgU3OfIRcWKKYn0Xf64w6o,5986
|
25
25
|
pyegeria/commands/cat/get_project_structure.py,sha256=4Jo3F9f7auTnTt_xElsrQ4eA8k8xMge0C5xE-Rjkjcw,5974
|
26
26
|
pyegeria/commands/cat/get_tech_type_elements.py,sha256=IznytHXwDOFriGM6mypV9wuEeM-vT2s66cUzf-IROog,6147
|
@@ -41,7 +41,7 @@ pyegeria/commands/cat/list_terms.py,sha256=D0tCD2f8j-UgnV4Bgisj9a11CCEOneNsRT7_3
|
|
41
41
|
pyegeria/commands/cat/list_todos.py,sha256=NitCw0uyVVjmN1hxb1W-I4FbOsa8wQxW2ICyOElHyc8,6556
|
42
42
|
pyegeria/commands/cat/list_user_ids.py,sha256=X5Q-YNEp38saPYDuy9VwdQC5Qpa4HyC3WvAdbyp_P6M,5108
|
43
43
|
pyegeria/commands/cli/__init__.py,sha256=hpTVSMP2gnPRhcAZPdeUEsQ-eaDySlXlk239dNWYmng,292
|
44
|
-
pyegeria/commands/cli/egeria.py,sha256=
|
44
|
+
pyegeria/commands/cli/egeria.py,sha256=Rtqru3Dp61SspzMVQ_UMHhtPc4_kq7S3Ocf-SqdfTN0,52635
|
45
45
|
pyegeria/commands/cli/egeria_cat.py,sha256=_1qA7PS3fMH22j9BTGqFLnqVOTMRewP8-6jIPBvjuCI,18237
|
46
46
|
pyegeria/commands/cli/egeria_login_tui.py,sha256=W5ouG3nlN7z2Waa-wzYFS7yyoGfOrK-lNB0FMt2JdOk,9492
|
47
47
|
pyegeria/commands/cli/egeria_my.py,sha256=0KTH7OIeKyp16ZeN7zK5uhadbPfAQsq38GMzJNWYG8g,6386
|
@@ -225,10 +225,10 @@ pyegeria/egeria_my_client.py,sha256=eOKLk2zdI6FHZnhAimfR_0yNdBjpUgD41dJZcJODcqE,
|
|
225
225
|
pyegeria/egeria_tech_client.py,sha256=uycgYfCpb4jzFfaQ7I5JxbZ5PKsWdaWxLOJjbw6C2Zk,3817
|
226
226
|
pyegeria/feedback_manager_omvs.py,sha256=0xBs0p54vmdfVYYgQ8pOanLC4fxfgTk1Z61Y6D1U7_I,152978
|
227
227
|
pyegeria/full_omag_server_config.py,sha256=CQqLCy_3DZFvJZEOcGf50HWdFaWpiAIs6z-kKyjvpDA,47464
|
228
|
-
pyegeria/glossary_browser_omvs.py,sha256=
|
229
|
-
pyegeria/glossary_manager_omvs.py,sha256=
|
228
|
+
pyegeria/glossary_browser_omvs.py,sha256=kJPfVd46w7HdV2KKoq7jRxVYdvvqEl0RAIMRsfXrtME,109389
|
229
|
+
pyegeria/glossary_manager_omvs.py,sha256=QSOVqbwEASueCQzpvYNEOaUIAhOvwqLWWhfzwT8hrrs,70275
|
230
230
|
pyegeria/m_test.py,sha256=M5-M2ZczsAJLXWfSeqTTADHdx6Ku-y4PbQ4M21JthAE,7778
|
231
|
-
pyegeria/md_processing_utils.py,sha256=
|
231
|
+
pyegeria/md_processing_utils.py,sha256=8ucemhlOniobCn8ZSWN3D9-JaeZkgHJAwy2K2xWx3Bo,41759
|
232
232
|
pyegeria/mermaid_utilities.py,sha256=sQqdFUWdNpHu9d3Tk9UVe80M-5bOzses0XcFYX5FF-E,54254
|
233
233
|
pyegeria/metadata_explorer_omvs.py,sha256=xHnZTQKbd6XwOhYia-RiIisrvZcqHi0SL1l6OCf04Gk,86911
|
234
234
|
pyegeria/my_profile_omvs.py,sha256=d0oJYCJG7pS9BINPuGciVa00ac0jwPHNANXDCLginEc,34720
|
@@ -242,8 +242,8 @@ pyegeria/template_manager_omvs.py,sha256=PfJ9dOfmBvf59DgRdZ9Dl1Kl_UYqjF-JncXVnbC
|
|
242
242
|
pyegeria/utils.py,sha256=GCt1C0bp0Xng1ahzbZhzV9qQwH7Dj93IaCt2dvWb-sg,5417
|
243
243
|
pyegeria/valid_metadata_omvs.py,sha256=Xq9DqBQvBFFJzaFIRKcVZ2k4gJvSh9yeXs_j-O3vn1w,65050
|
244
244
|
pyegeria/x_action_author_omvs.py,sha256=RcqSzahUKCtvb_3u_wyintAlc9WFkC_2v0E12TZs8lQ,6433
|
245
|
-
pyegeria-5.3.6.
|
246
|
-
pyegeria-5.3.6.
|
247
|
-
pyegeria-5.3.6.
|
248
|
-
pyegeria-5.3.6.
|
249
|
-
pyegeria-5.3.6.
|
245
|
+
pyegeria-5.3.6.5.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
246
|
+
pyegeria-5.3.6.5.dist-info/METADATA,sha256=GrlrzX8hGY3vjq6vYSrSbGYgAxRqsLe1L2BQCLnC9O8,2743
|
247
|
+
pyegeria-5.3.6.5.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
248
|
+
pyegeria-5.3.6.5.dist-info/entry_points.txt,sha256=eAvQ_vkejlF3JzMzEc5VD93ymLA_hSFV0HM8fntG-d8,6791
|
249
|
+
pyegeria-5.3.6.5.dist-info/RECORD,,
|
@@ -1,269 +0,0 @@
|
|
1
|
-
|
2
|
-
# Introduction to Freddie - an Egeria Markdown Processor
|
3
|
-
|
4
|
-
|
5
|
-
A constant challenge in managing information is gathering enough metadata about the information to
|
6
|
-
allow us to manage it. A common approach is to build fancy graphical user interfaces hoping that they
|
7
|
-
will be attractive enough and easy enough to use that people will do so.
|
8
|
-
|
9
|
-
Unfortunately, however, this ignores the fundamental fact that to use one of these nice GUI
|
10
|
-
applications, you have to step away from the tools and processes that you were in the midst of performing.
|
11
|
-
You have to leave your world and enter a new, often less familiar one.
|
12
|
-
|
13
|
-
Freddie, is an experiment in turning this around. Its not that fancy graphical user
|
14
|
-
interfaces don't have a role - but rather, to look at what we can do to support the
|
15
|
-
tools and approaches people already use. And maybe even make their day job a little
|
16
|
-
easier.
|
17
|
-
|
18
|
-
So this is what we are exploring with Freddie. An Egeria Markdown language that allows
|
19
|
-
users to intermix requests to Egeria with other text through the use of standard Markdown.
|
20
|
-
|
21
|
-
This file is an example. You will see that we intersperse normal narrative text (such as this)
|
22
|
-
with Commands to Egeria. We introduce a specific vocabulary to make Egeria requests.
|
23
|
-
|
24
|
-
In the example below we will create a new Egeria glossary to hold definitions related to Freddie:
|
25
|
-
---
|
26
|
-
|
27
|
-
# Create Glossary
|
28
|
-
|
29
|
-
## Glossary Name
|
30
|
-
|
31
|
-
test
|
32
|
-
|
33
|
-
## Language
|
34
|
-
|
35
|
-
English
|
36
|
-
|
37
|
-
## Description
|
38
|
-
|
39
|
-
Glossary to describe the vocabulary of Freddie - an Egeria Markdown language to support the exchange of metadata in a
|
40
|
-
Markdown form.
|
41
|
-
Freddie allows users to input metadata using any text entry system that supports the entry of standard Markdown
|
42
|
-
characters and through post-processing
|
43
|
-
commands, validates the Egeria content and allows the requests to be sent to Egeria. This is an update
|
44
|
-
|
45
|
-
## Usage
|
46
|
-
|
47
|
-
a quick test glossary
|
48
|
-
## <Qualified Name>
|
49
|
-
|
50
|
-
## <GUID>
|
51
|
-
|
52
|
-
---
|
53
|
-
|
54
|
-
# First Walk-Through
|
55
|
-
The block of markdown above is a request to create a new Egeria Glossary called `Egeria-Markdown`. Let's briefly walk
|
56
|
-
through. The command starts when we see `# Create Glossary`. This is a known phrase in Freddie. When we see this
|
57
|
-
phrase we recognize that this is an egeria markdown request block. The request block ends if we encounter another `#` or
|
58
|
-
`---`, or run out of text. Within this request block we note some **attributes** that begin with a `## `. The first that
|
59
|
-
we encounter is `## Glossary Name`. Not all attributes need to be filled in. Later, we'll process this file and demonstrate
|
60
|
-
how to tell - but first, lets look at the attributes shown:
|
61
|
-
|
62
|
-
* `## Glossary Name` - this is the display name of the glossary. In this case the name is `Egeria-Markdown` As you can
|
63
|
-
see, the value of the attribute is the plain text that follows it.
|
64
|
-
* `## Language` - what language will the terms of the glossary be in (yes there are ways to have mixed language but
|
65
|
-
Freddie strives to be as simple as possible).
|
66
|
-
* `## Description` - a description of the glossary and its purpose.
|
67
|
-
* `## Usage` - how the glossary is meant to be used and by whom.
|
68
|
-
* `## <Qualified Name>` - every element in Egeria must have a unique qualified name that we use to distinguish
|
69
|
-
it from all other elements. The qualified name is meant to be understandable by humans, although it may follow
|
70
|
-
formatting conventions. This attributes is in angle brackets because at this point we can't fill it in - we are just
|
71
|
-
in the midst of creating the glossary. A qualified name will be created for us as part of the glossary creation. We'll
|
72
|
-
see a little later how we get that.
|
73
|
-
* `## <GUID>` - same story as qualified name except that this is meant for automation and not people.
|
74
|
-
|
75
|
-
And that's it. That's all we need to do to specify the creation of a new glossary (well - mostly - we'll reveal a few
|
76
|
-
more details a bit later).
|
77
|
-
|
78
|
-
## Great! That was easy!
|
79
|
-
|
80
|
-
We now have a nice, clean, new...and empty...glossary - guess we better start filling it. Lets create a couple of terms.
|
81
|
-
|
82
|
-
---
|
83
|
-
|
84
|
-
# Create Category
|
85
|
-
|
86
|
-
## Category Name
|
87
|
-
|
88
|
-
cat1
|
89
|
-
|
90
|
-
## Owning Glossary
|
91
|
-
|
92
|
-
test
|
93
|
-
|
94
|
-
## Description
|
95
|
-
|
96
|
-
These terms describe features of writing markdown files that can use Egeria-Markdown
|
97
|
-
|
98
|
-
|
99
|
-
## <Qualified Name>
|
100
|
-
|
101
|
-
## <GUID>
|
102
|
-
|
103
|
-
---
|
104
|
-
|
105
|
-
# Create Category
|
106
|
-
|
107
|
-
## Category Name
|
108
|
-
|
109
|
-
cat2
|
110
|
-
|
111
|
-
## Owning Glossary
|
112
|
-
|
113
|
-
test
|
114
|
-
|
115
|
-
## Description
|
116
|
-
|
117
|
-
These terms describe concepts related to processing Egeria-Markdown
|
118
|
-
|
119
|
-
|
120
|
-
## <Qualified Name>
|
121
|
-
|
122
|
-
## <GUID>
|
123
|
-
---
|
124
|
-
|
125
|
-
# Create Term
|
126
|
-
|
127
|
-
## Glossary Name
|
128
|
-
|
129
|
-
test
|
130
|
-
|
131
|
-
## Term Name
|
132
|
-
|
133
|
-
t1
|
134
|
-
|
135
|
-
## Categories
|
136
|
-
|
137
|
-
cat1, cat2
|
138
|
-
|
139
|
-
## Summary
|
140
|
-
|
141
|
-
Commands are how a user of the Freddie markdown language requests an action.
|
142
|
-
|
143
|
-
## Description
|
144
|
-
|
145
|
-
Commands are how a user can request Egeria to take an action such as Create or Update an Egeria element. Freddie
|
146
|
-
provides
|
147
|
-
a limited (but growing) set of commands. Freddie commands align with the pyegeria 'hey-egeria' command line interface.
|
148
|
-
|
149
|
-
## Abbreviation
|
150
|
-
|
151
|
-
## Examples
|
152
|
-
|
153
|
-
Create Glossary or
|
154
|
-
Update Glossary or
|
155
|
-
Create Term or
|
156
|
-
Update Term
|
157
|
-
|
158
|
-
## Usage
|
159
|
-
|
160
|
-
Commands are used in the Freddie Egeria markdown language.
|
161
|
-
|
162
|
-
## Version
|
163
|
-
|
164
|
-
v1
|
165
|
-
|
166
|
-
## Status
|
167
|
-
|
168
|
-
|
169
|
-
## Qualified Name
|
170
|
-
|
171
|
-
---
|
172
|
-
|
173
|
-
# Create Term
|
174
|
-
|
175
|
-
## Glossary Name
|
176
|
-
|
177
|
-
test
|
178
|
-
|
179
|
-
## Term Name
|
180
|
-
|
181
|
-
t2
|
182
|
-
|
183
|
-
## Categories
|
184
|
-
Writing Markdown
|
185
|
-
|
186
|
-
Processing Markdown
|
187
|
-
|
188
|
-
## Summary
|
189
|
-
|
190
|
-
Source of the markdown content.
|
191
|
-
|
192
|
-
## Description
|
193
|
-
|
194
|
-
Source of the markdown content - could be jupter or plain markdown file.
|
195
|
-
|
196
|
-
## Abbreviation
|
197
|
-
|
198
|
-
## Examples
|
199
|
-
|
200
|
-
## Usage
|
201
|
-
|
202
|
-
## Version
|
203
|
-
|
204
|
-
0.1
|
205
|
-
|
206
|
-
## Status
|
207
|
-
|
208
|
-
DRAFT
|
209
|
-
|
210
|
-
|
211
|
-
---
|
212
|
-
|
213
|
-
# Create Term
|
214
|
-
|
215
|
-
## Glossary Name
|
216
|
-
|
217
|
-
Egeria-Markdown
|
218
|
-
|
219
|
-
## Term Name
|
220
|
-
|
221
|
-
Directive
|
222
|
-
|
223
|
-
## Categories
|
224
|
-
|
225
|
-
meow mix
|
226
|
-
|
227
|
-
## Summary
|
228
|
-
|
229
|
-
A directive defines how the command is to be processed.
|
230
|
-
|
231
|
-
## Description
|
232
|
-
|
233
|
-
Directives are one of:
|
234
|
-
|
235
|
-
* display - just display what we've found
|
236
|
-
* validate - check the validity of the requested action
|
237
|
-
* process - process the requested action
|
238
|
-
|
239
|
-
## Abbreviation
|
240
|
-
|
241
|
-
## Examples
|
242
|
-
|
243
|
-
## Usage
|
244
|
-
|
245
|
-
## Version
|
246
|
-
|
247
|
-
0.1
|
248
|
-
|
249
|
-
## Status
|
250
|
-
|
251
|
-
DRAFT
|
252
|
-
|
253
|
-
---
|
254
|
-
|
255
|
-
# Some terms specified - Now what?
|
256
|
-
|
257
|
-
Ok - we've now created a glossary and three terms to go into the glossary. Here is what we'll do next.
|
258
|
-
|
259
|
-
>Note: This is changing - so will be somewhat abstrct
|
260
|
-
|
261
|
-
We will run a small program called freddie_md.py to operate on this markdown file. When we run this program we
|
262
|
-
tell it not just the name of the file to process but also provide a directive on what to do. Currently we have the
|
263
|
-
choice of:
|
264
|
-
|
265
|
-
1. Display - just parse the file, breaking it down into request blocks, and display what we find
|
266
|
-
2. Validate - parse the file and validate if the commands can be processed - showing information about what we observe.
|
267
|
-
3. Process - parse the request blocks and execute the commands - and produce a new output file to simplify further processing.
|
268
|
-
|
269
|
-
# Great --> let's give it a try!
|
File without changes
|
File without changes
|
File without changes
|