pyegeria 5.4.0.33__py3-none-any.whl → 5.4.0.35__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.
- commands/.DS_Store +0 -0
- commands/cat/.DS_Store +0 -0
- commands/cat/.env +8 -0
- commands/cat/debug_log.2025-08-26_20-04-40_905576.log.zip +0 -0
- commands/cat/debug_log.2025-08-27_20-09-41_795022.log.zip +0 -0
- commands/cat/debug_log.log +898 -0
- commands/cat/list_format_set.py +4 -1
- commands/cat/logs/pyegeria.log +90 -0
- commands/cli/debug_log.log +0 -0
- commands/doc/.DS_Store +0 -0
- commands/ops/logs/pyegeria.log +0 -0
- md_processing/.DS_Store +0 -0
- md_processing/.idea/.gitignore +8 -0
- md_processing/.idea/inspectionProfiles/Project_Default.xml +59 -0
- md_processing/.idea/md_processing.iml +15 -0
- md_processing/.idea/modules.xml +8 -0
- md_processing/.idea/sonarlint/issuestore/index.pb +0 -0
- md_processing/.idea/sonarlint/securityhotspotstore/index.pb +0 -0
- md_processing/.idea/vcs.xml +6 -0
- md_processing/.idea/workspace.xml +107 -0
- md_processing/__init__.py +3 -2
- md_processing/data/commands.json +11496 -10345
- md_processing/dr_egeria.py +14 -6
- md_processing/dr_egeria_inbox/Derive-Dr-Gov-Defs.md +8 -0
- md_processing/dr_egeria_inbox/Dr.Egeria Templates.md +873 -0
- md_processing/dr_egeria_inbox/arch_test.md +57 -0
- md_processing/dr_egeria_inbox/archive/dr_egeria_intro.md +254 -0
- md_processing/dr_egeria_inbox/archive/dr_egeria_intro_more_terms.md +696 -0
- md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part1.md +254 -0
- md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part2.md +298 -0
- md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part3.md +608 -0
- md_processing/dr_egeria_inbox/archive/dr_egeria_intro_part4.md +94 -0
- md_processing/dr_egeria_inbox/archive/freddie_intro.md +284 -0
- md_processing/dr_egeria_inbox/archive/freddie_intro_orig.md +275 -0
- md_processing/dr_egeria_inbox/archive/test-term.md +110 -0
- md_processing/dr_egeria_inbox/cat_test.md +100 -0
- md_processing/dr_egeria_inbox/collections.md +39 -0
- md_processing/dr_egeria_inbox/data_designer_debug.log +6 -0
- md_processing/dr_egeria_inbox/data_designer_out.md +60 -0
- md_processing/dr_egeria_inbox/data_designer_search_test.md +11 -0
- md_processing/dr_egeria_inbox/data_field.md +54 -0
- md_processing/dr_egeria_inbox/data_spec.md +77 -0
- md_processing/dr_egeria_inbox/data_spec_test.md +2406 -0
- md_processing/dr_egeria_inbox/data_test.md +179 -0
- md_processing/dr_egeria_inbox/data_test2.md +429 -0
- md_processing/dr_egeria_inbox/data_test3.md +462 -0
- md_processing/dr_egeria_inbox/dr_egeria_data_designer_1.md +124 -0
- md_processing/dr_egeria_inbox/dr_egeria_intro_categories.md +168 -0
- md_processing/dr_egeria_inbox/dr_egeria_intro_part1.md +280 -0
- md_processing/dr_egeria_inbox/dr_egeria_intro_part2.md +318 -0
- md_processing/dr_egeria_inbox/dr_egeria_intro_part3.md +1073 -0
- md_processing/dr_egeria_inbox/dr_egeria_isc1.md +44 -0
- md_processing/dr_egeria_inbox/generated_help_report.md +9 -0
- md_processing/dr_egeria_inbox/glossary_list.md +5 -0
- md_processing/dr_egeria_inbox/glossary_search_test.md +40 -0
- md_processing/dr_egeria_inbox/glossary_test1.md +363 -0
- md_processing/dr_egeria_inbox/gov_def.md +482 -0
- md_processing/dr_egeria_inbox/gov_def2.md +447 -0
- md_processing/dr_egeria_inbox/img.png +0 -0
- md_processing/dr_egeria_inbox/output_tests.md +103 -0
- md_processing/dr_egeria_inbox/product.md +211 -0
- md_processing/dr_egeria_inbox/rel.md +8 -0
- md_processing/dr_egeria_inbox/sb.md +119 -0
- md_processing/dr_egeria_inbox/solution-components.md +136 -0
- md_processing/dr_egeria_inbox/solution_blueprints.md +118 -0
- md_processing/dr_egeria_inbox/synonym_test.md +42 -0
- md_processing/dr_egeria_inbox/t2.md +268 -0
- md_processing/dr_egeria_outbox/.DS_Store +0 -0
- md_processing/dr_egeria_outbox/.obsidian/app.json +1 -0
- md_processing/dr_egeria_outbox/.obsidian/appearance.json +1 -0
- md_processing/dr_egeria_outbox/.obsidian/community-plugins.json +7 -0
- md_processing/dr_egeria_outbox/.obsidian/core-plugins.json +33 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/buttons/main.js +5164 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/buttons/manifest.json +10 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/buttons/styles.css +624 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/calendar/data.json +10 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/calendar/main.js +4459 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/calendar/manifest.json +10 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/obsidian-kanban/data.json +3 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/obsidian-kanban/main.js +153 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/obsidian-kanban/manifest.json +11 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/obsidian-kanban/styles.css +1 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/obsidian-tasks-plugin/main.js +500 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/obsidian-tasks-plugin/manifest.json +12 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/obsidian-tasks-plugin/styles.css +1 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/templater-obsidian/data.json +38 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/templater-obsidian/main.js +37 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/templater-obsidian/manifest.json +11 -0
- md_processing/dr_egeria_outbox/.obsidian/plugins/templater-obsidian/styles.css +220 -0
- md_processing/dr_egeria_outbox/.obsidian/types.json +28 -0
- md_processing/dr_egeria_outbox/.obsidian/workspace.json +270 -0
- md_processing/dr_egeria_outbox/Button Test.md +11 -0
- md_processing/dr_egeria_outbox/Scripts/.DS_Store +0 -0
- md_processing/dr_egeria_outbox/Scripts/sendRest.js +24 -0
- md_processing/dr_egeria_outbox/Templates/sendToApi.md.md +17 -0
- md_processing/dr_egeria_outbox/Untitled.canvas +1 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-17 15:00-Derive-Dr-Gov-Defs.md +719 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-17 20:13-Derive-Dr-Gov-Defs.md +41 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-17 20:14-Derive-Dr-Gov-Defs.md +33 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-17 20:50-Derive-Dr-Gov-Defs.md +192 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-17 22:08-gov_def2.md +486 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-17 22:10-gov_def2.md +486 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-18 08:53-gov_def2.md +486 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-18 08:54-gov_def2.md +486 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-18 09:03-gov_def2.md +486 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-18 09:06-gov_def2.md +486 -0
- md_processing/dr_egeria_outbox/thursday/processed-2025-07-18 09:10-gov_def2.md +486 -0
- md_processing/md_commands/glossary_commands.py +2 -2
- md_processing/md_commands/old_project_commands.py +164 -0
- md_processing/md_commands/product_manager_commands.py +5 -5
- md_processing/md_commands/project_commands.py +368 -134
- md_processing/md_processing_utils/common_md_proc_utils.py +1 -0
- md_processing/md_processing_utils/common_md_utils.py +13 -1
- md_processing/md_processing_utils/debug_log +3 -574
- md_processing/md_processing_utils/debug_log.log +0 -0
- md_processing/md_processing_utils/determine_width.py +103 -0
- md_processing/md_processing_utils/generate_dr_help.py +44 -18
- md_processing/md_processing_utils/logs/pyegeria.log +56 -0
- md_processing/md_processing_utils/md_processing_constants.py +37 -4
- pyegeria/.DS_Store +0 -0
- pyegeria/_client_new.py +2 -2
- pyegeria/_output_formats.py +38 -10
- pyegeria/glossary_manager.py +0 -2
- pyegeria/output_formatter.py +9 -8
- pyegeria/project_manager.py +541 -420
- {pyegeria-5.4.0.33.dist-info → pyegeria-5.4.0.35.dist-info}/METADATA +2 -1
- {pyegeria-5.4.0.33.dist-info → pyegeria-5.4.0.35.dist-info}/RECORD +130 -25
- md_processing/dr-egeria-outbox/Collections-2025-08-12-13-30-37.md +0 -163
- md_processing/dr-egeria-outbox/Collections-2025-08-12-13-35-58.md +0 -474
- md_processing/md_processing_utils/dr-egeria-help-2025-07-17T17:22:09.md +0 -2065
- {pyegeria-5.4.0.33.dist-info → pyegeria-5.4.0.35.dist-info}/LICENSE +0 -0
- {pyegeria-5.4.0.33.dist-info → pyegeria-5.4.0.35.dist-info}/WHEEL +0 -0
- {pyegeria-5.4.0.33.dist-info → pyegeria-5.4.0.35.dist-info}/entry_points.txt +0 -0
md_processing/dr_egeria.py
CHANGED
@@ -8,6 +8,8 @@ from datetime import datetime
|
|
8
8
|
from loguru import logger
|
9
9
|
from pydantic import ValidationError
|
10
10
|
|
11
|
+
from .md_commands.project_commands import process_link_project_dependency_command
|
12
|
+
|
11
13
|
log_format = "{time} | {level} | {function} | {line} | {message} | {extra}"
|
12
14
|
logger.remove()
|
13
15
|
logger.add(sys.stderr, level="INFO", format=log_format, colorize=True)
|
@@ -19,7 +21,7 @@ from rich.console import Console
|
|
19
21
|
|
20
22
|
from md_processing import (extract_command, process_glossary_upsert_command, process_term_upsert_command,
|
21
23
|
process_category_upsert_command, process_provenance_command, get_current_datetime_string,
|
22
|
-
|
24
|
+
process_project_upsert_command, command_list, process_blueprint_upsert_command,
|
23
25
|
process_solution_component_upsert_command, process_component_link_unlink_command,
|
24
26
|
process_term_list_command,
|
25
27
|
process_category_list_command, process_glossary_list_command, process_term_history_command,
|
@@ -28,14 +30,15 @@ from md_processing import (extract_command, process_glossary_upsert_command, pro
|
|
28
30
|
process_information_supply_chain_upsert_command,
|
29
31
|
process_information_supply_chain_link_unlink_command, process_sol_arch_list_command,
|
30
32
|
process_digital_product_upsert_command, process_agreement_upsert_command,
|
31
|
-
|
33
|
+
process_collection_upsert_command, process_link_agreement_item_command,
|
32
34
|
process_gov_definition_upsert_command, GOV_COM_LIST, GOV_LINK_LIST,
|
33
35
|
process_gov_def_link_detach_command, process_product_dependency_command,
|
34
36
|
process_add_to_collection_command, process_attach_collection_command,
|
35
|
-
|
37
|
+
# process_collection_list_command, process_gov_definition_list_command,
|
36
38
|
process_gov_def_context_command, process_supporting_gov_def_link_detach_command,
|
37
39
|
process_attach_subscriber_command, process_output_command,
|
38
|
-
COLLECTIONS_LIST, SIMPLE_COLLECTIONS, GOV_LINK_LIST, process_output_command, LIST_COMMANDS
|
40
|
+
COLLECTIONS_LIST, SIMPLE_COLLECTIONS, GOV_LINK_LIST, process_output_command, LIST_COMMANDS,
|
41
|
+
PROJECT_COMMANDS, process_link_project_hierarchy_command)
|
39
42
|
from .md_commands.data_designer_commands import (process_data_spec_upsert_command,
|
40
43
|
process_data_dict_upsert_command,
|
41
44
|
process_data_collection_list_command,
|
@@ -129,8 +132,13 @@ def process_md_file(input_file: str, output_folder:str, directive: str, server:
|
|
129
132
|
elif potential_command in ["List Glossaries", "List Terms", "List Glossary Terms", "View Glossaries"
|
130
133
|
"View Terms", "View Glossary Terms"]:
|
131
134
|
result = process_output_command(client, current_block, directive)
|
132
|
-
elif potential_command in
|
133
|
-
result =
|
135
|
+
elif potential_command in PROJECT_COMMANDS:
|
136
|
+
result = process_project_upsert_command(client, current_block, directive)
|
137
|
+
elif potential_command in ["Link Parent Project", "Attach Parent Project", "Detach Parent Project"]:
|
138
|
+
result = process_link_project_hierarchy_command(client, current_block, directive)
|
139
|
+
elif potential_command in ["Link Project Dependency", "Attach Project Dependency", "Detach Project Dependency"]:
|
140
|
+
result = process_link_project_dependency_command(client, current_block, directive)
|
141
|
+
|
134
142
|
elif potential_command in ["Create Blueprint", "Update Blueprint", "Create Solution Blueprint",
|
135
143
|
"Update Solution Blueprint"]:
|
136
144
|
result = process_blueprint_upsert_command(client, current_block, directive)
|