pyegeria 5.3.6.6__tar.gz → 5.3.6.7__tar.gz
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-5.3.6.6 → pyegeria-5.3.6.7}/PKG-INFO +1 -1
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/__init__.py +2 -2
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/dr_egeria_jupyter.py +6 -5
- pyegeria-5.3.6.7/pyegeria/commands/cat/dr_egeria_md.py +217 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/list_terms.py +10 -12
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cli/egeria_cat.py +1 -11
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/egeria_client.py +14 -9
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/glossary_browser_omvs.py +10 -5
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/md_processing_utils.py +49 -29
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyproject.toml +2 -2
- pyegeria-5.3.6.6/pyegeria/commands/cat/dr_egeria_md.py +0 -193
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/LICENSE +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/README.md +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/README.md +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/_client.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/_deprecated_gov_engine.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/_exceptions.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/_globals.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/_validators.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/asset_catalog_omvs.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/automated_curation_omvs.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/classification_manager_omvs.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/collection_manager_omvs.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/README.md +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/__init__.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/Dr-Egeria_md-orig.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/README.md +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/__init__.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/dr_egeria_inbox/glossary_creation_experiment.ipynb +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/dr_egeria_inbox/glossary_exp.md +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/exp_list_glossaries.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/get_asset_graph.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/get_collection.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/get_project_dependencies.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/get_project_structure.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/get_tech_type_elements.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/glossary_actions.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/list_assets.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/list_categories.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/list_cert_types.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/list_collections.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/list_deployed_catalogs.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/list_deployed_database_schemas.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/list_deployed_databases.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/list_deployed_servers.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/list_glossaries.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/list_projects.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/list_tech_type_elements.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/list_tech_types.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/list_todos.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cat/list_user_ids.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cli/__init__.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cli/egeria.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cli/egeria_login_tui.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cli/egeria_my.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cli/egeria_ops.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cli/egeria_tech.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cli/ops_config.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/cli/txt_custom_v2.tcss +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/README.md +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/README.md +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/assets/asset-graph 2024-11-20 at 15.56.42.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/assets/assets-in-domain 2024-11-20 at 15.49.55@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/assets/elements-of-type 2024-11-20 at 16.01.35.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/assets/tech-type-elements 2024-11-20 at 16.05.05.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-data-catalogs 2024-12-17 at 15.43.27@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-data-catalogs-2024-11-20 at 16.17.43@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-schemas 2024-11-25 at 20.14.50@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-schemas 2024-12-17 at 15.48.38@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-servers 2024-11-25 at 20.21.25@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-servers 2024-12-17 at 15.52.16@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed_databases 2024-12-16 at 16.40.31@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/glossary/list-glossaries 2024-11-25 at 20.30.02.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/glossary/list-terms 2024-11-25 at 20.32.11.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/asset-types 2024-11-25 at 20.34.19@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/certification-types 2024-11-25 at 20.37.07.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/collection-graph 2024-12-12 at 11.33.18@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-collections 2024-12-10 at 14.25.51@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-todos 2024-12-12 at 11.46.30@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-user-ids 2024-12-12 at 11.51.09@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/tech-types 2024-12-12 at 11.37.20@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/projects/project_dependencies 2024-12-14 at 16.24.39@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/projects/project_structure 2024-12-14 at 16.21.35@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/cat/show/projects/projects 2024-12-14 at 16.18.10@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/hey_egeria tui 2024-12-16 at 16.58.22@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/my/show/my_profile 2024-12-14 at 16.29.27@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/my/show/my_roles 2024-12-14 at 16.32.10@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/my/show/my_todos 2024-12-15 at 16.24.13@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/my/show/open_todos 2024-12-14 at 16.36.12@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/ops/show/engines/list_engine_activity compressed 2024-12-15 at 16.48.48@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_activity 2024-12-15 at 16.32.55@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_activity compressed 2024-12-15 at 16.38.29@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_status 2024-12-15 at 16.51.26.jpeg +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/ops/show/integrations/monitor_integration_daemon_status 2024-12-15 at 16.57.12@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/ops/show/integrations/monitor_integration_targets 2024-12-15 at 17.02.19@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/ops/show/platforms/monitor_platform_status 2024-12-15 at 19.53.18@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_server_status 2024-12-15 at 19.59.39@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_server_status full 2024-12-15 at 20.01.57@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_startup_servers 2024-12-15 at 19.56.07@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/get_anchored_elements 2024-12-15 at 21.25.41@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/get_elements_of_om_type 2024-12-16 at 14.39.59@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/info_for_guid 2024-12-16 at 11.35.29@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/list_elements_by_om-type 2024-12-16 at 14.24.18@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/list_elements_by_om-type extended 2024-12-16 at 14.28.46@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/list_elements_of_om_type_by_classification 2024-12-16 at 14.35.26@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/related_elements 2024-12-16 at 14.55.01@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/show_related_specifications 2024-12-16 at 15.04.55@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/asset_types 2024-12-16 at 15.10.16@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/detailed_governance_action_processes 2024-12-16 at 15.16.26@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/governance_action_processes 2024-12-16 at 15.13.01@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/registered_services 2024-12-16 at 16.44.54@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-16 at 16.20.34@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-19 at 10.51.54@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/valid_metadata_values 2024-12-16 at 15.31.56@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/list_tech_type_template_specs 2024-12-16 at 16.03.22@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/list_technology_types 2024-12-16 at 15.39.20@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/tech_type_details 2024-12-16 at 15.37.21@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/tech_type_templates 2024-12-16 at 16.11.48@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/basic-glossary-tui.md +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/delete-glossary-step1 2024-11-06 at 15.47.23@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/delete-glossary-step2 2024-11-06 at 15.51.29@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/delete-glossary-step3 2024-11-06 at 15.53.19@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/delete-glossary-step4 2024-11-06 at 15.55.11@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/out-create-glossary example 2024-11-05 at 20.38.04@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/out-create-term 2024-11-06 at 20.48.29.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/out-delete-term 2024-11-07 at 03.57.25.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/out-display-terms-for-glossary-test 2024-11-06 at 20.51.28.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/out-export-example 2024-11-07 at 09.54.57.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/out-exported-terms 2024-11-06 at 21.06.32.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/out-glossary-list example 2024-11-05 at 20.41.02@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/out-import-terms 2024-11-07 at 08.15.18.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/out-list-all-terms 2024-11-06 at 16.22.20@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/out-list-terms-for-example 2024-11-06 at 16.40.12.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/out-list-terms-second 2024-11-06 at 16.45.13.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/out-pipx install pyegeria 2024-11-10 at 18.12.21.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/out-server-status-full 2024-11-10 at 18.25.14.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/out-servers-status 2024-11-10 at 18.15.42.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/out-upsert-import 2024-11-07 at 19.37.00.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/tui-2024-11-10 at 18.26.29.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/tui-create-glossary example 2024-11-05 at 20.34.24@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/tui-create-term 2024-11-06 at 20.46.35.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/tui-delete-term 2024-11-07 at 03.51.57.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/tui-display-terms-for-example 2024-11-06 at 20.56.49.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/tui-export-example 2024-11-07 at 09.52.59.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/tui-hey-egeria 2024-11-10 at 18.31.01.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/tui-import-upsert-example 2024-11-07 at 10.08.37.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/tui-list-terms-second 2024-11-06 at 16.46.34.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/tui-load-archive.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/tui-server-status-full 2024-11-10 at 19.14.36.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/tui-show-glossaries 2024-11-07 at 20.00.05.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/tui-show-glossary-terms 2024-11-05 at 19.37.53@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/tui-upsert 2024-11-07 at 11.49.04.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/glossary/images/upsert-example.om-terms 2024-11-07 at 11.44.05.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/README.md +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/CleanShot 2024-11-18 at 21.32.03@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/Xmind 1731421782704.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/Xmind 1731422134920.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/hey_egeria 2024-11-12 at 20.38.43.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/hey_egeria cat 2024-11-12 at 21.41.43.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-integ-status-list 2024-11-12 at 16.45.26.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-integ-status-live 2024-11-12 at 16.44.12@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/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
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/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
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/short-cut commands 2024-11-12 at 22.22.13.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-hey-egeria.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-integration-status-paging.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/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
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/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
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-show-server-status-full 2024-11-10.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-status-paging 2024-11-12 at 16.26.14@2x.png +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/my/README.md +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/my/__init__.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/my/list_my_profile.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/my/list_my_roles.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/my/monitor_my_todos.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/my/monitor_open_todos.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/my/todo_actions.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/README.md +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/__init__.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/gov_server_actions.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/list_archives.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/list_catalog_targets.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/load_archive.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/monitor_asset_events.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/monitor_engine_activity.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/monitor_engine_activity_c.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/monitor_gov_eng_status.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/monitor_integ_daemon_status.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/monitor_platform_status.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/monitor_server_startup.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/monitor_server_status.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/orig_monitor_server_list.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/orig_monitor_server_status.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/refresh_integration_daemon.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/restart_integration_daemon.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/table_integ_daemon_status.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/ops/x_engine_actions.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/README.md +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/__init__.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/get_element_info.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/get_guid_info.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/get_tech_details.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/get_tech_type_template.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_all_om_type_elements.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_all_om_type_elements_x.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_all_related_elements.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_anchored_elements.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_asset_types.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_elements_by_classification_by_property_value.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_elements_by_property_value.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_elements_by_property_value_x.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_elements_for_classification.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_gov_action_processes.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_information_supply_chains.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_registered_services.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_related_elements_with_prop_value.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_related_specification.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_relationship_types.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_relationships.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_solution_blueprints.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_solution_components.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_solution_roles.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_tech_templates.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/list_valid_metadata_values.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/table_tech_templates.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/commands/tech/x_list_related_elements.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/core_omag_server_config.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/create_tech_guid_lists.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/egeria_cat_client.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/egeria_config_client.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/egeria_my_client.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/egeria_tech_client.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/feedback_manager_omvs.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/full_omag_server_config.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/glossary_manager_omvs.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/m_test.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/mermaid_utilities.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/metadata_explorer_omvs.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/my_profile_omvs.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/platform_services.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/project_manager_omvs.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/registered_info.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/runtime_manager_omvs.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/server_operations.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/solution_architect_omvs.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/template_manager_omvs.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/utils.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/valid_metadata_omvs.py +0 -0
- {pyegeria-5.3.6.6 → pyegeria-5.3.6.7}/pyegeria/x_action_author_omvs.py +0 -0
@@ -61,7 +61,7 @@ from .collection_manager_omvs import CollectionManager
|
|
61
61
|
from .core_omag_server_config import CoreServerConfig
|
62
62
|
from .create_tech_guid_lists import build_global_guid_lists
|
63
63
|
from .egeria_cat_client import EgeriaCat
|
64
|
-
from .egeria_client import Egeria
|
64
|
+
# from .egeria_client import Egeria
|
65
65
|
from .egeria_config_client import EgeriaConfig
|
66
66
|
from .egeria_my_client import EgeriaMy
|
67
67
|
from .egeria_tech_client import EgeriaTech
|
@@ -92,7 +92,7 @@ from .valid_metadata_omvs import ValidMetadataManager
|
|
92
92
|
from .x_action_author_omvs import ActionAuthor
|
93
93
|
from .md_processing_utils import (extract_command, process_glossary_upsert_command, process_term_upsert_command,
|
94
94
|
process_categories_upsert_command,
|
95
|
-
get_current_datetime_string, process_per_proj_upsert_command,
|
95
|
+
get_current_datetime_string, process_per_proj_upsert_command, command_list,
|
96
96
|
render_markdown, process_provenance_command)
|
97
97
|
|
98
98
|
#
|
@@ -6,12 +6,13 @@ import nbformat
|
|
6
6
|
import os
|
7
7
|
from rich import print
|
8
8
|
from rich.console import Console
|
9
|
+
|
10
|
+
from pyegeria.egeria_tech_client import EgeriaTech
|
9
11
|
from pyegeria.md_processing_utils import (extract_command, process_glossary_upsert_command, process_term_upsert_command,
|
10
|
-
get_current_datetime_string, process_per_proj_upsert_command,
|
12
|
+
get_current_datetime_string, process_per_proj_upsert_command, command_list,
|
13
|
+
)
|
11
14
|
import click
|
12
|
-
|
13
|
-
get_current_datetime_string, process_per_proj_upsert_command, commands,EgeriaTech
|
14
|
-
)
|
15
|
+
|
15
16
|
from pyegeria._exceptions import (
|
16
17
|
print_exception_response,
|
17
18
|
)
|
@@ -76,7 +77,7 @@ def process_jupyter_notebook(
|
|
76
77
|
if cell.cell_type == 'markdown':
|
77
78
|
if cell.source.strip().startswith('#'):
|
78
79
|
potential_command = extract_command(cell.source)
|
79
|
-
if potential_command in
|
80
|
+
if potential_command in command_list:
|
80
81
|
if potential_command in ["Create Glossary", "Update Glossary"]:
|
81
82
|
result = process_glossary_upsert_command(client, element_dictionary,
|
82
83
|
cell.source, directive)
|
@@ -0,0 +1,217 @@
|
|
1
|
+
"""
|
2
|
+
This is an ongoing experiment in parsing and playing with Freddie docs
|
3
|
+
"""
|
4
|
+
import argparse
|
5
|
+
import json
|
6
|
+
import os
|
7
|
+
from rich import print
|
8
|
+
from rich.console import Console
|
9
|
+
from rich.prompt import Prompt
|
10
|
+
|
11
|
+
|
12
|
+
import click
|
13
|
+
from pyegeria import (extract_command, process_glossary_upsert_command, process_term_upsert_command,
|
14
|
+
process_categories_upsert_command, process_provenance_command,
|
15
|
+
get_current_datetime_string, process_per_proj_upsert_command, command_list,EgeriaTech,
|
16
|
+
)
|
17
|
+
from datetime import datetime
|
18
|
+
|
19
|
+
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
20
|
+
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
21
|
+
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
22
|
+
EGERIA_VIEW_SERVER = os.environ.get("EGERIA_VIEW_SERVER", "view-server")
|
23
|
+
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
24
|
+
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
25
|
+
)
|
26
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("EGERIA_INTEGRATION_DAEMON", "integration-daemon")
|
27
|
+
EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
|
28
|
+
"EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
|
29
|
+
)
|
30
|
+
EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
|
31
|
+
EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
|
32
|
+
EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
|
33
|
+
EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
|
34
|
+
EGERIA_WIDTH = os.environ.get("EGERIA_WIDTH", 220)
|
35
|
+
EGERIA_JUPYTER = os.environ.get("EGERIA_JUPYTER", False)
|
36
|
+
EGERIA_HOME_GLOSSARY_GUID = os.environ.get("EGERIA_HOME_GLOSSARY_GUID", None)
|
37
|
+
EGERIA_GLOSSARY_PATH = os.environ.get("EGERIA_GLOSSARY_PATH", None)
|
38
|
+
EGERIA_ROOT_PATH = os.environ.get("EGERIA_ROOT_PATH", "/Users/dwolfson/localGit/egeria-v5-3/egeria-python")
|
39
|
+
EGERIA_INBOX_PATH = os.environ.get("EGERIA_INBOX_PATH", "pyegeria/commands/cat/dr_egeria_inbox")
|
40
|
+
EGERIA_OUTBOX_PATH = os.environ.get("EGERIA_OUTBOX_PATH", "pyegeria/commands/cat/dr_egeria_outbox")
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
@click.command("process_markdown_file", help="Process a markdown file and return the output as a string.")
|
47
|
+
@click.option("--file-path", help="File path to markdown file",
|
48
|
+
default="glossary_exp.md", required=True, prompt=False)
|
49
|
+
@click.option("--directive", default="display", help="How to process the file",
|
50
|
+
type=click.Choice(["display","validate","process"],case_sensitive=False), prompt=False,)
|
51
|
+
@click.option("--server", default=EGERIA_VIEW_SERVER, help="Egeria view server to use.")
|
52
|
+
@click.option(
|
53
|
+
"--url", default=EGERIA_VIEW_SERVER_URL, help="URL of Egeria platform to connect to"
|
54
|
+
)
|
55
|
+
@click.option("--userid", default=EGERIA_USER, help="Egeria user")
|
56
|
+
@click.option("--user_pass", default=EGERIA_USER_PASSWORD, help="Egeria user password")
|
57
|
+
def process_markdown_file(
|
58
|
+
file_path: str,
|
59
|
+
directive: str,
|
60
|
+
server: str,
|
61
|
+
url: str,
|
62
|
+
userid: str,
|
63
|
+
user_pass: str,
|
64
|
+
)-> None:
|
65
|
+
"""
|
66
|
+
Process a markdown file by parsing and executing Dr. Egeria commands. Write output to a new file.
|
67
|
+
"""
|
68
|
+
|
69
|
+
console = Console(width=int(EGERIA_WIDTH))
|
70
|
+
client = EgeriaTech(server, url, user_id=userid)
|
71
|
+
token = client.create_egeria_bearer_token(userid, user_pass)
|
72
|
+
|
73
|
+
updated = False
|
74
|
+
full_file_path = os.path.join(EGERIA_ROOT_PATH, EGERIA_INBOX_PATH, file_path)
|
75
|
+
print(f"Processing Markdown File: {full_file_path}")
|
76
|
+
try:
|
77
|
+
with open(full_file_path, 'r') as f:
|
78
|
+
lines = f.readlines()
|
79
|
+
except FileNotFoundError:
|
80
|
+
print(f"Error: File not found at path: {full_file_path}")
|
81
|
+
return {} # Return empty dict if file not found
|
82
|
+
|
83
|
+
final_output = []
|
84
|
+
prov_found = False
|
85
|
+
prov_output = (f"\n# Provenance\n\n* Results from processing file {file_path} on "
|
86
|
+
f"{datetime.now().strftime("%Y-%m-%d %H:%M")}\n")
|
87
|
+
h1_blocks = []
|
88
|
+
current_block = ""
|
89
|
+
in_h1_block = False
|
90
|
+
element_dictionary = {}
|
91
|
+
|
92
|
+
# Helper function to process the current block
|
93
|
+
def process_current_block(current_block):
|
94
|
+
nonlocal updated, final_output, prov_found, prov_output, h1_blocks, in_h1_block, element_dictionary
|
95
|
+
|
96
|
+
if not current_block:
|
97
|
+
return # No block to process
|
98
|
+
|
99
|
+
potential_command = extract_command(current_block) # Extract command
|
100
|
+
if potential_command in command_list:
|
101
|
+
# Process the block based on the command
|
102
|
+
if potential_command == "Provenance":
|
103
|
+
result = process_provenance_command(file_path, current_block)
|
104
|
+
prov_found = True
|
105
|
+
|
106
|
+
elif potential_command in ["Create Glossary", "Update Glossary"]:
|
107
|
+
result = process_glossary_upsert_command(client, element_dictionary, current_block, directive)
|
108
|
+
elif potential_command in ["Create Category", "Update Category"]:
|
109
|
+
result = process_categories_upsert_command(client, element_dictionary, current_block, directive)
|
110
|
+
elif potential_command in ["Create Term", "Update Term"]:
|
111
|
+
result = process_term_upsert_command(client, element_dictionary, current_block, directive)
|
112
|
+
elif potential_command in ["Create Personal Project", "Update Personal Project"]:
|
113
|
+
result = process_per_proj_upsert_command(client, element_dictionary, current_block, directive)
|
114
|
+
else:
|
115
|
+
# If command is not recognized, keep the block as-is
|
116
|
+
result = None
|
117
|
+
|
118
|
+
if result:
|
119
|
+
if directive == "process":
|
120
|
+
updated = True
|
121
|
+
final_output.append(result)
|
122
|
+
# print(json.dumps(element_dictionary, indent=4))
|
123
|
+
# elif directive == "validate":
|
124
|
+
# print(json.dumps(element_dictionary, indent=4))
|
125
|
+
elif directive == "process":
|
126
|
+
# Handle errors (skip this block but notify the user)
|
127
|
+
print(f"\n==>\tErrors found while processing command: \'{potential_command}\'\n"
|
128
|
+
f"\tPlease correct and try again. \n")
|
129
|
+
final_output.append(current_block)
|
130
|
+
else:
|
131
|
+
# If there is no command, append the block as-is
|
132
|
+
final_output.append(current_block)
|
133
|
+
|
134
|
+
# Main parsing loop
|
135
|
+
for line in lines:
|
136
|
+
line = line.strip() # Remove leading/trailing whitespace
|
137
|
+
|
138
|
+
# Handle a new H1 block (starting with `# `)
|
139
|
+
if line.startswith("# "):
|
140
|
+
if in_h1_block:
|
141
|
+
# Process the current block before starting a new one
|
142
|
+
process_current_block(current_block)
|
143
|
+
|
144
|
+
# Start a new H1 block
|
145
|
+
current_block = line
|
146
|
+
in_h1_block = True
|
147
|
+
|
148
|
+
# Handle the end of a block (line starts with `---`)
|
149
|
+
elif line.startswith("---"):
|
150
|
+
if in_h1_block:
|
151
|
+
# Process the current block when it ends with `---`
|
152
|
+
current_block += f"\n{line}"
|
153
|
+
process_current_block(current_block)
|
154
|
+
current_block = "" # Clear the block
|
155
|
+
in_h1_block = False
|
156
|
+
|
157
|
+
# Add lines to the current H1 block
|
158
|
+
elif in_h1_block:
|
159
|
+
current_block += f"\n{line}"
|
160
|
+
|
161
|
+
# Append non-H1 content directly to the output
|
162
|
+
else:
|
163
|
+
final_output.append(line)
|
164
|
+
|
165
|
+
# Ensure the final H1 block is processed if the file doesn't end with `---`
|
166
|
+
if in_h1_block:
|
167
|
+
process_current_block(current_block)
|
168
|
+
|
169
|
+
# Join the final output list into a single string
|
170
|
+
final_output = "\n".join(final_output)
|
171
|
+
|
172
|
+
|
173
|
+
try:
|
174
|
+
if updated:
|
175
|
+
path, filename = os.path.split(file_path) # Get both parts
|
176
|
+
new_filename = f"processed-{get_current_datetime_string()}-{filename}" # Create the new filename
|
177
|
+
new_file_path = os.path.join(EGERIA_ROOT_PATH, EGERIA_OUTBOX_PATH, new_filename) # Construct the new path
|
178
|
+
os.makedirs(os.path.dirname(new_file_path), exist_ok=True)
|
179
|
+
|
180
|
+
with open(new_file_path, 'w') as f2:
|
181
|
+
f2.write(final_output)
|
182
|
+
if not prov_found:
|
183
|
+
f2.write(prov_output)
|
184
|
+
click.echo(f"\n==> Notebook written to {new_file_path}")
|
185
|
+
else:
|
186
|
+
click.echo("\nNo updates detected. New File not created.")
|
187
|
+
|
188
|
+
except (Exception):
|
189
|
+
console.print_exception(show_locals=True)
|
190
|
+
|
191
|
+
|
192
|
+
# def main():
|
193
|
+
# parser = argparse.ArgumentParser()
|
194
|
+
# parser.add_argument("--server", help="Name of the server to display status for")
|
195
|
+
# parser.add_argument("--url", help="URL Platform to connect to")
|
196
|
+
# parser.add_argument("--userid", help="User Id")
|
197
|
+
# parser.add_argument("--password", help="User Password")
|
198
|
+
# parser.add_argument("--time_out", help="Time Out")
|
199
|
+
#
|
200
|
+
# args = parser.parse_args()
|
201
|
+
#
|
202
|
+
# server = args.server if args.server is not None else EGERIA_VIEW_SERVER
|
203
|
+
# url = args.url if args.url is not None else EGERIA_PLATFORM_URL
|
204
|
+
# userid = args.userid if args.userid is not None else EGERIA_USER
|
205
|
+
# user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
|
206
|
+
# time_out = args.time_out if args.time_out is not None else 60
|
207
|
+
# try:
|
208
|
+
# file_path = Prompt.ask("Markdown File name to process:", default="")
|
209
|
+
# directive = Prompt.ask("Processing Directive:", choices=[ "display", "validate", "process"], default="validate")
|
210
|
+
#
|
211
|
+
# process_markdown_file(file_path, directive, server, url, userid, user_pass)
|
212
|
+
# except KeyboardInterrupt:
|
213
|
+
# pass
|
214
|
+
#
|
215
|
+
#
|
216
|
+
# if __name__ == "__main__":
|
217
|
+
# main()
|
@@ -41,7 +41,7 @@ EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
|
|
41
41
|
EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
|
42
42
|
EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
|
43
43
|
EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
|
44
|
-
EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "
|
44
|
+
EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "250"))
|
45
45
|
EGERIA_GLOSSARY_PATH = os.environ.get("EGERIA_GLOSSARY_PATH", None)
|
46
46
|
EGERIA_ROOT_PATH = os.environ.get("EGERIA_ROOT_PATH", "/Users/dwolfson/localGit/egeria-v5-3/egeria-python")
|
47
47
|
EGERIA_INBOX_PATH = os.environ.get("EGERIA_INBOX_PATH", "pyegeria/commands/cat/dr_egeria_inbox")
|
@@ -148,16 +148,14 @@ def display_glossary_terms(
|
|
148
148
|
caption=f"View Server '{view_server}' @ Platform - {view_url}",
|
149
149
|
expand=True,
|
150
150
|
)
|
151
|
-
table.add_column("Term Name")
|
151
|
+
table.add_column("Term Name / Abbreviation / Version")
|
152
152
|
table.add_column("Qualified Name / GUID", width=38, no_wrap=True)
|
153
|
-
table.add_column("Abbreviation")
|
154
153
|
table.add_column("Summary")
|
155
154
|
table.add_column("Description")
|
156
|
-
table.add_column("Version Id")
|
157
155
|
table.add_column("Glossary")
|
158
156
|
table.add_column("Status")
|
159
|
-
table.add_column("Example")
|
160
157
|
table.add_column("Categories")
|
158
|
+
table.add_column("Example/Usage", min_width=50)
|
161
159
|
|
162
160
|
terms = g_client.find_glossary_terms(
|
163
161
|
search_string,
|
@@ -183,7 +181,7 @@ def display_glossary_terms(
|
|
183
181
|
if props == "None":
|
184
182
|
return table
|
185
183
|
|
186
|
-
display_name =
|
184
|
+
display_name = props.get("displayName","---")
|
187
185
|
qualified_name = props["qualifiedName"]
|
188
186
|
term_guid = term["elementHeader"]["guid"]
|
189
187
|
q_name = Text(
|
@@ -197,7 +195,9 @@ def display_glossary_terms(
|
|
197
195
|
style=style,
|
198
196
|
justify="center",
|
199
197
|
)
|
200
|
-
example =
|
198
|
+
example = props.get("example", " ")
|
199
|
+
usage = props.get("usage", " ")
|
200
|
+
ex_us_out = Markdown(f"Example:\n{example}\n---\nUsage: \n{usage}")
|
201
201
|
|
202
202
|
classifications = term["elementHeader"]["classifications"]
|
203
203
|
glossary_guid = None
|
@@ -221,20 +221,18 @@ def display_glossary_terms(
|
|
221
221
|
for category in category_list:
|
222
222
|
category_name = category["glossaryCategoryProperties"].get("displayName",'---')
|
223
223
|
category_list_md += f"* {category_name}\n"
|
224
|
-
|
224
|
+
term_abb_ver_out = Markdown(f"{display_name}\n---\n{abbrev}\n---\n{version}")
|
225
225
|
category_list_out = Markdown(category_list_md)
|
226
226
|
term_status = term["elementHeader"].get("status","---")
|
227
227
|
table.add_row(
|
228
|
-
|
228
|
+
term_abb_ver_out,
|
229
229
|
q_name,
|
230
|
-
abbrev,
|
231
230
|
summary,
|
232
231
|
description,
|
233
|
-
version,
|
234
232
|
glossary_name,
|
235
233
|
term_status,
|
236
|
-
example,
|
237
234
|
category_list_out,
|
235
|
+
ex_us_out,
|
238
236
|
style="bold white on black",
|
239
237
|
)
|
240
238
|
|
@@ -674,17 +674,7 @@ def tell_dr_egeria(ctx):
|
|
674
674
|
"""Execute Dr.Egeria actions"""
|
675
675
|
pass
|
676
676
|
|
677
|
-
|
678
|
-
@click.option("--file-path", help="File path to markdown file",
|
679
|
-
default="glossary_exp.md")
|
680
|
-
@click.option("--directive", type=click.Choice(['Display','Validate','Process'], case_sensitive=False),
|
681
|
-
default="validate", help="How to process the file")
|
682
|
-
@click.pass_context
|
683
|
-
def process_markdown_file(ctx, file_path, directive):
|
684
|
-
"""Process a markdown file"""
|
685
|
-
c = ctx.obj
|
686
|
-
process_markdown_file(file_path, directive, c.view_server, c.view_server_url, c.userid, c.password)
|
687
|
-
|
677
|
+
tell_dr_egeria.add_command(process_markdown_file)
|
688
678
|
|
689
679
|
@tell.group("glossary")
|
690
680
|
@click.pass_context
|
@@ -11,7 +11,7 @@ for all use cases..using the more role based clients is often appropriate:
|
|
11
11
|
* EgeriaTech - for technical users such as data scientists and engineers
|
12
12
|
|
13
13
|
"""
|
14
|
-
from pyegeria.x_action_author_omvs import ActionAuthor
|
14
|
+
# from pyegeria.x_action_author_omvs import ActionAuthor
|
15
15
|
from pyegeria.asset_catalog_omvs import AssetCatalog
|
16
16
|
from pyegeria.collection_manager_omvs import CollectionManager
|
17
17
|
from pyegeria.glossary_manager_omvs import GlossaryManager
|
@@ -22,19 +22,21 @@ from pyegeria.template_manager_omvs import TemplateManager
|
|
22
22
|
from pyegeria.runtime_manager_omvs import RuntimeManager
|
23
23
|
from pyegeria.full_omag_server_config import FullServerConfig
|
24
24
|
from pyegeria.metadata_explorer_omvs import MetadataExplorer
|
25
|
-
from pyegeria.
|
25
|
+
from pyegeria.my_profile_omvs import MyProfile
|
26
|
+
from pyegeria.feedback_manager_omvs import FeedbackManager
|
26
27
|
from pyegeria.solution_architect_omvs import SolutionArchitect
|
27
28
|
from pyegeria.server_operations import ServerOps
|
28
29
|
from pyegeria.registered_info import RegisteredInfo
|
29
30
|
from pyegeria.valid_metadata_omvs import ValidMetadataManager
|
30
31
|
from pyegeria.egeria_config_client import EgeriaConfig
|
31
|
-
from pyegeria.md_processing_utils import render_markdown
|
32
|
+
# from pyegeria.md_processing_utils import render_markdown
|
32
33
|
|
33
34
|
|
34
35
|
class Egeria(
|
35
36
|
AssetCatalog,
|
36
37
|
CollectionManager,
|
37
|
-
|
38
|
+
MyProfile,
|
39
|
+
FeedbackManager,
|
38
40
|
GlossaryManager,
|
39
41
|
# GovernanceAuthor,
|
40
42
|
# PeopleOrganizer,
|
@@ -42,15 +44,14 @@ class Egeria(
|
|
42
44
|
RuntimeManager,
|
43
45
|
ServerOps,
|
44
46
|
FullServerConfig,
|
45
|
-
ActionAuthor,
|
47
|
+
# ActionAuthor,
|
46
48
|
AutomatedCuration,
|
47
49
|
ClassificationManager,
|
48
50
|
RegisteredInfo,
|
49
|
-
|
51
|
+
TemplateManager,
|
50
52
|
ValidMetadataManager,
|
51
53
|
MetadataExplorer,
|
52
54
|
SolutionArchitect,
|
53
|
-
EgeriaMy,
|
54
55
|
EgeriaConfig,
|
55
56
|
):
|
56
57
|
"""
|
@@ -87,7 +88,10 @@ class Egeria(
|
|
87
88
|
self, view_server, platform_url, user_id, user_pwd, token
|
88
89
|
)
|
89
90
|
|
90
|
-
|
91
|
+
MyProfile.__init__(self, view_server, platform_url, user_id, user_pwd, token)
|
92
|
+
FeedbackManager.__init__(
|
93
|
+
self, view_server, platform_url, user_id, user_pwd, token
|
94
|
+
)
|
91
95
|
|
92
96
|
GlossaryManager.__init__(
|
93
97
|
self, view_server, platform_url, user_id, user_pwd, token
|
@@ -104,7 +108,7 @@ class Egeria(
|
|
104
108
|
|
105
109
|
EgeriaConfig.__init__(self, view_server, platform_url, user_id, user_pwd)
|
106
110
|
|
107
|
-
ActionAuthor.__init__(self, view_server, platform_url, user_id, user_pwd, token)
|
111
|
+
# ActionAuthor.__init__(self, view_server, platform_url, user_id, user_pwd, token)
|
108
112
|
AutomatedCuration.__init__(
|
109
113
|
self, view_server, platform_url, user_id, user_pwd, token
|
110
114
|
)
|
@@ -120,3 +124,4 @@ class Egeria(
|
|
120
124
|
SolutionArchitect.__init__(
|
121
125
|
self, view_server, platform_url, user_id, user_pwd, token
|
122
126
|
)
|
127
|
+
print(Egeria.mro())
|
@@ -93,8 +93,8 @@ class GlossaryBrowser(Client):
|
|
93
93
|
|
94
94
|
def make_md_attribute(self, attribute_name: str, attribute_value: str, output_type: str) -> str | None:
|
95
95
|
output = ""
|
96
|
-
attribute_value = attribute_value.strip() if attribute_value else
|
97
|
-
attribute_title = attribute_name.title() if attribute_name else
|
96
|
+
attribute_value = attribute_value.strip() if attribute_value else ""
|
97
|
+
attribute_title = attribute_name.title() if attribute_name else ""
|
98
98
|
if output_type in ["FORM", "MD"]:
|
99
99
|
output = f"## {attribute_title}\n{attribute_value}\n\n"
|
100
100
|
elif output_type == "REPORT":
|
@@ -149,7 +149,7 @@ class GlossaryBrowser(Client):
|
|
149
149
|
description = element_properties.get("description", None)
|
150
150
|
examples = element_properties.get("examples", None)
|
151
151
|
usage = element_properties.get("usage", None)
|
152
|
-
pub_version = element_properties.get("
|
152
|
+
pub_version = element_properties.get("publishVersionIdentifier", None)
|
153
153
|
qualified_name = element_properties.get("qualifiedName", None)
|
154
154
|
status = element['elementHeader'].get('status', None)
|
155
155
|
|
@@ -161,9 +161,14 @@ class GlossaryBrowser(Client):
|
|
161
161
|
if type(category_list) is str and category_list == NO_CATEGORIES_FOUND:
|
162
162
|
category_list_md = ['---']
|
163
163
|
elif isinstance(category_list, list) and len(category_list) > 0:
|
164
|
+
first_cat = True
|
164
165
|
for category in category_list:
|
165
166
|
category_name = category["glossaryCategoryProperties"].get("qualifiedName", '---')
|
166
|
-
|
167
|
+
if first_cat:
|
168
|
+
category_list_md += f" {category_name}\n"
|
169
|
+
first_cat = False
|
170
|
+
else:
|
171
|
+
category_list_md += f", {category_name}\n"
|
167
172
|
|
168
173
|
if output_format in ['FORM', 'MD']:
|
169
174
|
elements_md += f"# {elements_action}\n\n"
|
@@ -180,7 +185,7 @@ class GlossaryBrowser(Client):
|
|
180
185
|
elements_md += self.make_md_attribute( "description", description, output_format)
|
181
186
|
elements_md += self.make_md_attribute( "examples", examples, output_format)
|
182
187
|
elements_md += self.make_md_attribute("usage", usage, output_format)
|
183
|
-
elements_md += self.make_md_attribute("
|
188
|
+
elements_md += self.make_md_attribute("version", pub_version, output_format)
|
184
189
|
elements_md += self.make_md_attribute("qualified name", qualified_name, output_format)
|
185
190
|
elements_md += self.make_md_attribute("GUID", guid, output_format)
|
186
191
|
elements_md += MD_SEPERATOR
|