pyegeria 5.4.0.dev3__py3-none-any.whl → 5.4.0.dev5__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 (61) hide show
  1. commands/cat/debug_log +227 -0
  2. commands/cat/dr_egeria_md.py +12 -3
  3. commands/cat/list_collections.py +7 -6
  4. commands/cat/list_data_designer.py +19 -8
  5. md_processing/__init__.py +4 -1
  6. md_processing/data/commands.json +142 -17
  7. md_processing/dr_egeria_outbox/processed-2025-06-22 21:06-dr_egeria_data_designer_1.md +134 -0
  8. md_processing/dr_egeria_outbox/processed-2025-06-22 21:13-dr_egeria_data_designer_1.md +133 -0
  9. md_processing/dr_egeria_outbox/processed-2025-06-22 21:19-dr_egeria_data_designer_1.md +141 -0
  10. md_processing/md_commands/data_designer_commands.py +408 -101
  11. md_processing/md_commands/glossary_commands.py +0 -30
  12. md_processing/md_commands/solution_architect_commands.py +1 -1
  13. md_processing/md_processing_utils/common_md_proc_utils.py +16 -4
  14. md_processing/md_processing_utils/md_processing_constants.py +3 -1
  15. pyegeria/collection_manager_omvs.py +120 -72
  16. pyegeria/data_designer_omvs.py +143 -42
  17. pyegeria/output_formatter.py +30 -11
  18. pyegeria/solution_architect_omvs.py +273 -5
  19. {pyegeria-5.4.0.dev3.dist-info → pyegeria-5.4.0.dev5.dist-info}/METADATA +1 -1
  20. {pyegeria-5.4.0.dev3.dist-info → pyegeria-5.4.0.dev5.dist-info}/RECORD +23 -57
  21. commands/cat/.DS_Store +0 -0
  22. commands/cat/debug_log.2025-06-05_20-24-18_123924.log.zip +0 -0
  23. commands/cat/debug_log.2025-06-10_08-45-03_929921.log.zip +0 -0
  24. commands/cat/debug_log.2025-06-11_09-57-21_247890.log.zip +0 -0
  25. commands/cat/debug_log.2025-06-12_16-14-31_212042.log.zip +0 -0
  26. commands/cat/debug_log.log +0 -1267
  27. commands/cat/solution_architect_log.log +0 -0
  28. md_processing/dr_egeria_inbox/archive/dr_egeria_intro.md +0 -254
  29. md_processing/dr_egeria_inbox/archive/dr_egeria_intro_more_terms.md +0 -696
  30. md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part1.md +0 -254
  31. md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part2.md +0 -298
  32. md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part3.md +0 -608
  33. md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part4.md +0 -94
  34. md_processing/dr_egeria_inbox/archive/freddie_intro.md +0 -284
  35. md_processing/dr_egeria_inbox/archive/freddie_intro_orig.md +0 -275
  36. md_processing/dr_egeria_inbox/archive/test-term.md +0 -110
  37. md_processing/dr_egeria_inbox/cat_test.md +0 -100
  38. md_processing/dr_egeria_inbox/data_designer_search_test.md +0 -11
  39. md_processing/dr_egeria_inbox/data_field.md +0 -54
  40. md_processing/dr_egeria_inbox/data_spec.md +0 -77
  41. md_processing/dr_egeria_inbox/data_spec_test.md +0 -2406
  42. md_processing/dr_egeria_inbox/data_test.md +0 -179
  43. md_processing/dr_egeria_inbox/data_test2.md +0 -376
  44. md_processing/dr_egeria_inbox/dr_egeria_intro_categories.md +0 -168
  45. md_processing/dr_egeria_inbox/dr_egeria_intro_part1.md +0 -280
  46. md_processing/dr_egeria_inbox/dr_egeria_intro_part2.md +0 -313
  47. md_processing/dr_egeria_inbox/dr_egeria_intro_part3.md +0 -1073
  48. md_processing/dr_egeria_inbox/dr_egeria_isc1.md +0 -44
  49. md_processing/dr_egeria_inbox/glossary_search_test.md +0 -40
  50. md_processing/dr_egeria_inbox/glossary_test1.md +0 -324
  51. md_processing/dr_egeria_inbox/rel.md +0 -8
  52. md_processing/dr_egeria_inbox/sb.md +0 -119
  53. md_processing/dr_egeria_inbox/solution-components.md +0 -129
  54. md_processing/dr_egeria_inbox/solution_blueprints.md +0 -118
  55. md_processing/dr_egeria_inbox/synonym_test.md +0 -42
  56. md_processing/dr_egeria_inbox/t1.md +0 -0
  57. md_processing/dr_egeria_inbox/t2.md +0 -268
  58. pyegeria/.DS_Store +0 -0
  59. {pyegeria-5.4.0.dev3.dist-info → pyegeria-5.4.0.dev5.dist-info}/LICENSE +0 -0
  60. {pyegeria-5.4.0.dev3.dist-info → pyegeria-5.4.0.dev5.dist-info}/WHEEL +0 -0
  61. {pyegeria-5.4.0.dev3.dist-info → pyegeria-5.4.0.dev5.dist-info}/entry_points.txt +0 -0
@@ -1,118 +0,0 @@
1
- <!-- SPDX-License-Identifier: CC-BY-4.0 -->
2
- <!-- Copyright Contributors to the Egeria project. -->
3
-
4
- # Rules
5
- * If this is a create, and qualfied name is provided, it will be used.
6
- * If this is an update, and qualified name is provided, it is an error if it doesn't match.
7
- * If this is an update and no qualified name provided, will try to use the display name
8
- * If this is an update and qualified name and guid provided, then the qualified name can be changed
9
- * Name of the entity is either display_name or "{element_type} Name"
10
-
11
- # Create Solution Blueprint
12
-
13
- ## Display Name
14
-
15
- Clinical Trial Management Solution Blueprint
16
-
17
- ## Description
18
-
19
- A description of how a clinical trial is managed in Coco Pharmaceuticals.
20
-
21
- ## Version Identifier
22
-
23
- V1.2
24
- ## Qualified Name
25
-
26
- SolutionBlueprint:Clinical Trial Management Solution Blueprint:V1.2
27
-
28
- ## <guid>
29
-
30
- ---
31
-
32
- # Update Solution Component
33
-
34
- ## Display Name
35
-
36
- Hospital Processes
37
-
38
- ## Description
39
-
40
- ## Version Identifier
41
-
42
- ## Solution Component Type
43
- String - valid value?
44
- ## Planned Deployed Implementation Type
45
- String - valid value?
46
- ## Solution Blueprints
47
-
48
- Clinical Trial Management Solution Blueprint
49
-
50
- ## Parent Components
51
-
52
- ---
53
-
54
- # Create Solution Component
55
-
56
- ## Display Name
57
-
58
- Lab Processes
59
-
60
- ## Description
61
-
62
- ## Version Identifier
63
-
64
- ## Solution Component Type
65
- String - valid value?
66
- ## Planned Deployed Implementation Type
67
- String - valid value?
68
- ## Solution Blueprints
69
-
70
- SolutionBlueprint:Clinical Trial Management Solution Blueprint:V1.2
71
-
72
- ## Parent Components
73
-
74
- ---
75
-
76
- # Create Solution Role
77
-
78
- ## Name
79
-
80
- ## Identifier
81
- str
82
- ## Description
83
-
84
- ## Scope
85
- str - valid values
86
- ---
87
-
88
- # Create Solution Actor Role
89
-
90
- ## Solution Component
91
-
92
- SolutionComponent:XXX q_name <required>
93
- ## Actor
94
-
95
- Actor:XXX -q_name <required>
96
-
97
- ## Role
98
- str - valid value <required>
99
-
100
- ## Description
101
-
102
-
103
- ---
104
-
105
- # Create Solution Linking Role
106
-
107
- ## Starting Solution Component
108
- q_name of soln <required>
109
-
110
- ## Wired To Solution Component
111
-
112
- q_name of soln <required>
113
-
114
- ## Label
115
- str <required>
116
- ## Description
117
- str
118
- ## Information Supply Chain Segment GUIDs
@@ -1,42 +0,0 @@
1
- # Create Term
2
-
3
- ## In Glossary
4
-
5
- Egeria-Markdown
6
-
7
- ## Term Name
8
-
9
- List Categories
10
-
11
- ## Description
12
-
13
- Lists the categories across all glossaries.
14
- ___
15
-
16
- # Create Term
17
-
18
- ## In Glossary
19
-
20
- Egeria-Markdown
21
-
22
- ## Term Name
23
-
24
- List Glossary Categories
25
-
26
- ## Description
27
-
28
- Lists the categories across all glossaries.
29
-
30
- # Create Term-Term Relationship
31
-
32
- ## Term 1 Name
33
-
34
- List Categories
35
-
36
- ## Term 2 Name
37
-
38
- List Glossary Categories
39
-
40
- ## Term Relationship
41
-
42
- Synonym
File without changes
@@ -1,268 +0,0 @@
1
- # Demonstrating updates and additions
2
-
3
- This document was derived from the processing of the file dr_egeria_intro.md; All of the Dr.Egeria statements have been
4
- preserved (including the generated attributes such as the unique GUIDs) and the explanatory text has been replaced.
5
-
6
- In this document we will add glossary categories, update existing terms to categorize them, and add some new terms that
7
- further explain dr.egeria. This document is being written off-line (actually on a plane) - demonstrating one of the
8
- intriguing features of dr.egeria - because its just text, it can be edited anywhere and anytime that there is a text
9
- editor. Dr.Egeria files can be emailed, sent via text message, slack or maintained in a `git` repository.
10
- It's just text with markdown annotations.
11
-
12
- Ok, let's get started. First, we have the `Update Glossary` command below. There is nothing new we need to add at this
13
- point so we can just leave it as-is. When this document is processed it will apply updates but if there are none,
14
- It doesn't matter.
15
-
16
-
17
- ---
18
-
19
-
20
- # Update Glossary
21
-
22
- ## Glossary Name
23
-
24
- Egeria-Markdown
25
-
26
- ## Description
27
- Glossary to describe the vocabulary of Dr.Egeria - an Egeria Markdown language to support the exchange of metadata in a Markdown form.
28
- Dr.Egeria allows users to input metadata using any text entry system that supports the entry of standard Markdown
29
- notation and through post-processing
30
- commands, validates the Egeria content and allows the requests to be sent to Egeria.
31
-
32
- ## Language
33
- English
34
-
35
- ## Usage
36
- 1. (optional) load an example or template for the type of object from Egeria.
37
- 2. Create a new document (perhaps from a template) and edit it, adding in the content with the Dr.Egeria controlled Markdown language.
38
- 3. Process the document to validate and display it before you submit it, Validation may annotate your document with recommendations and potential issues.
39
- 4. Submit the document to Egeria using the Dr.Egeria commands.
40
-
41
- ## Qualified Name
42
- Glossary::Egeria-Markdown
43
-
44
- ## Guid
45
- 5878850f-0fc5-484d-8426-511c18615a66
46
-
47
-
48
-
49
- Ok, now let's create a couple of glossary categories. They will be:
50
-
51
- * **Writing Dr.Egeria Markdown** - where we describe elements of the Dr.Egeria language as terms within the category.
52
- * **Processing Dr.Egeria Markdown** - where we describe the commands for processing Dr.Egeria.
53
-
54
-
55
- Glossary categories have the following attributes:
56
-
57
- | Attribute Name | Input Required? | Generated/Default? | Unique? | Notes |
58
- |:-|:-|:-|:-|:-|
59
- | Category Name | Yes | No | No | A display name (informal name). |
60
- | Owning Glossary | Yes | No | Yes | This is the qualified name of the glossary that owns this category. |
61
- | Description | No | No | No | A textual description of this category |
62
- | Qualified Name | No | Yes | Yes | The qualified name can either be provided by the user or generated. If generated, a pattern is followed. |
63
- | GUID | No | Yes | Yes | GUIDs are always generated by Egeria. They are meant for automation, not people. |
64
-
65
- Qualified Names can either be user specified or generated. If generated the following the form:
66
- `{local-qualifier}:{type}:{display name}`
67
-
68
- * Local-Qualifier is an optional string that can be useful to both disambiguate similar names and to add some local context. Local qualifiers could be set to organization names, functions, business context, etc. The settings for a local qualifier is set either by setting the environment variable `EGERIA_LOCAL_QUALIFIER` or by passing in a parameter when executing one of the Dr.Egeria enabled commands. This could also be set for a team by an Egeria administrator.
69
-
70
-
71
-
72
- # Update Categories
73
-
74
- ## Category Name
75
-
76
- Writing Dr.Egeria Markdown
77
-
78
- ## Description
79
- These terms describe the elements of the Dr.Egeria Markdown language and how to use them.
80
-
81
- ## In Glossary
82
- Glossary::Egeria-Markdown
83
-
84
- ## Qualified Name
85
- Category:Writing-Dr.Egeria-Markdown
86
-
87
- ## Guid
88
- c5ba25df-f7b1-4ecf-913a-c5c83a03d63a
89
-
90
-
91
- ---
92
-
93
-
94
-
95
-
96
- # Update Categories
97
-
98
- ## Category Name
99
-
100
- Processing Dr.Egeria Markdown
101
-
102
- ## Description
103
- These terms describe commands to process Dr.Egeria Markdown.
104
-
105
- ## In Glossary
106
- Glossary::Egeria-Markdown
107
-
108
- ## Qualified Name
109
- Category:Processing-Dr.Egeria-Markdown
110
-
111
- ## Guid
112
- 1f13ec0d-e0ad-4327-bc1c-58e4174dd950
113
-
114
-
115
- ---
116
-
117
-
118
-
119
- Ok now, let's add categories to some of the terms. Let's review the attributes of a term:
120
-
121
- | Attribute Name | Input Required? | Generated/Default? | Unique? | Notes |
122
- |:----------------| :- | :- | :- | :-|
123
- | Term Name | Yes | No | No | A display name (informal name). |
124
- | Owning Glossary | Yes | No | Yes | This is the qualified name of the glossary that owns this term. |
125
- | Categories | No | No | Yes | This is the qualified (unique) name of the category. Multiple categories can be assigned, separated by a `,` or line. |
126
- | Description | No | No | No | A textual description of this term |
127
- | Qualified Name | No | Yes | Yes | The qualified name can either be provided by the user or generated. If generated, a pattern is followed. |
128
- | GUID | No | Yes | Yes | GUIDs are always generated by Egeria. They are meant for automation, not people. |
129
-
130
-
131
-
132
- # Update Term
133
-
134
- ## Term Name
135
-
136
- Command
137
-
138
- ## Summary
139
- Commands are how a user of the Freddie markdown language requests an action.
140
-
141
- ## In Glossary
142
- Glossary::Egeria-Markdown
143
-
144
- ## Categories
145
- Category:Processing-Dr.Egeria-Markdown
146
- , Category:Writing-Dr.Egeria-Markdown
147
-
148
- ## Status
149
- DRAFT
150
-
151
- ## Description
152
- Commands are how a user can request Egeria to take an action such as Create or Update an Egeria element. Freddie
153
- provides
154
- a limited (but growing) set of commands. Freddie commands align with the pyegeria 'hey-egeria' command line interface.
155
-
156
- ## Examples
157
- Create Glossary or
158
- Update Glossary or
159
- Create Term or
160
- Update Term
161
-
162
- ## Usage
163
- Commands are used in the Freddie Egeria markdown language.
164
-
165
- ## Published Version
166
- 0.1
167
-
168
- ## Qualified Name
169
- Term:Command
170
-
171
- ## Guid
172
- f59ca92e-9021-42bb-ae20-68fbbed57a86
173
-
174
-
175
- ---
176
-
177
-
178
-
179
- # Update Term
180
-
181
- ## Term Name
182
-
183
- Source
184
-
185
- ## Summary
186
- Source of the markdown content.
187
-
188
- ## In Glossary
189
- Glossary::Egeria-Markdown
190
-
191
- ## Categories
192
- Category:Processing-Dr.Egeria-Markdown
193
-
194
- ## Status
195
- DRAFT
196
-
197
- ## Description
198
- Source of the markdown content - could be jupyter or plain markdown file.
199
-
200
- ## Examples
201
- None
202
-
203
- ## Usage
204
- None
205
-
206
- ## Version
207
- 0.1
208
-
209
- ## Qualified Name
210
- Term:Source
211
-
212
- ## Guid
213
- fec76950-8a4b-4f20-9032-2b3775adee2c
214
-
215
-
216
- ---
217
-
218
-
219
-
220
- # Update Term
221
-
222
- ## Term Name
223
-
224
- Directive
225
-
226
- ## Summary
227
- A directive defines how the command is to be processed.
228
-
229
- ## In Glossary
230
- Glossary::Egeria-Markdown
231
-
232
- ## Categories
233
- Category:Processing-Dr.Egeria-Markdown
234
-
235
- ## Status
236
- DRAFT
237
-
238
- ## Description
239
- Directives are one of:
240
- * display - just display what we've found
241
- * validate - check the validity of the requested action
242
- * process - process the requested action
243
- * review?
244
-
245
- ## Examples
246
- None
247
-
248
- ## Usage
249
- None
250
-
251
- ## Published Version
252
- 0.2
253
-
254
- ## Qualified Name
255
- Term:Directive
256
-
257
- ## Guid
258
- fa716e1d-bd97-44e7-b64c-594cb8c2867c
259
-
260
-
261
- ---
262
-
263
-
264
- # Provenance
265
-
266
- * t2.md Derived from processing file dr_egeria_intro_part2.md on 2025-03-20 15:06
267
-
268
- ---
pyegeria/.DS_Store DELETED
Binary file