forked from odpi/egeria-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
232 lines (203 loc) · 10.5 KB
/
Copy pathpyproject.toml
File metadata and controls
232 lines (203 loc) · 10.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
# SPDX-License-Identifier: Apache-2.0
# Copyright Contributors to the ODPi Egeria project.
[project]
name = "pyegeria"
version = "6.1.12"
license = 'Apache-2.0'
license-files = ["LICENSE"]
authors = [{name = "Dan Wolfson", email = "dan.wolfson@pdr-associates.com"},]
readme = "README.md"
description = "A python client for Egeria"
keywords = ["egeria", "metadata", "governance"]
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
dependencies = [
"httpx",
"rich>=14.2",
"validators",
"urllib3",
"requests",
"jupyter",
"click==8.5.0",
"trogon",
# "mermaid-py",
"psycopg2-binary>=2.9.11",
"jupyter-notebook-parser",
"loguru",
"inflect",
"pydantic>=2.12.3",
"pydantic-settings >= 2.10.1",
"pydevd-pycharm >=253.27642.35",
"wcwidth",
"altair==6.2.2",
"mcp >=0.1",
"markers>=0.3.0",
"pytest-asyncio>=1.2.0",
"python-dotenv>=1.1.1",
"pytest>=8.4.2",
"optional>=0.0.1",
"pyrefly>=0.60.0",
"pyperclip",
"textual-serve>=1.1.3",
"textual-web",
"nest-asyncio>=1.6.0",
]
[project.scripts]
pyegeria-mcp = "pyegeria.core.mcp_server:main"
run_report = "commands.cat.run_report:main"
my_reports = "commands.cat.my_reports:start_exp2"
list_reports = "commands.cat.list_reports:main"
load_report_specs = "commands.cat.load_report_specs:main"
list_assets = "commands.cat.list_assets:main"
list_tech_types = "commands.cat.list_tech_types:main"
get_asset_graph = "commands.cat.get_asset_graph:main"
get_collection_tree = "commands.cat.get_collection_tree:main"
list_terms = "commands.cat.list_terms:main"
get_tech_type_elements = "commands.cat.get_tech_type_elements:main"
list_tech_type_elements = "commands.cat.list_tech_type_elements:main"
list_projects = "commands.cat.list_projects:main"
list_cert_types = "commands.cat.list_cert_types:main"
get_project_structure = "commands.cat.get_project_structure:main"
get_project_dependencies = "commands.cat.get_project_dependencies:main"
list_user_ids = "commands.cat.list_user_ids:main"
list_deployed_catalogs = "commands.cat.list_deployed_catalogs:main"
list_deployed_databases = "commands.cat.list_deployed_databases:main"
list_deployed_schemas = "commands.cat.list_deployed_database_schemas:main"
list_deployed_servers = "commands.cat.list_deployed_servers:main"
create_glossary = "commands.cat.glossary_actions:create_glossary"
delete_glossary = "commands.cat.glossary_actions:delete_glossary"
create_term = "commands.cat.glossary_actions:create_term"
delete_term = "commands.cat.glossary_actions:delete_term"
list_glossaries = "commands.cat.list_glossaries:main"
load_terms_from_csv_file = "commands.cat.glossary_actions:import_terms_csv"
export_terms_to_csv_file = "commands.cat.glossary_actions:export_terms_csv"
# list_categories/create_category/update_category/delete_category/
# add_term_to_category/remove_term_from_category removed 2026-08-05 -
# pointed at commands.cat.list_categories (file no longer exists) and
# commands.cat.glossary_actions:{create,update,delete}_category /
# {add,remove}_term_to_category (functions no longer exist in that file -
# confirmed via git log that category-management commands existed and
# were removed at some point; only glossary/term-level commands remain
# today). See ISSUE-47 in PYEGERIA_ISSUES.md - restore this feature as a
# separate task if category management is still wanted, don't just
# re-add the entries.
dr_egeria = "commands.cat.dr_egeria:process_markdown_file"
dr_egeria_md = "commands.cat.dr_egeria:process_markdown_file"
dr_egeria_folder = "commands.cat.dr_egeria_folder:dr_egeria_folder"
dr_egeria_jupyter = "commands.cat.dr_egeria_jupyter:process_jupyter_notebook"
dr_egeria_help = "commands.cat.dr_egeria_command_help:main"
# list_data_structures_full = "commands.cat.list_data_structures_full:main"
# list_data_structures = "commands.cat.list_data_designer:main_structs"
# list_data_fields = "commands.cat.list_data_designer:main_fields"
# list_data_classes = "commands.cat.list_data_designer:main_classes"
list_collections = "commands.cat.list_collections:main"
monitor_active_engine_activity = "commands.ops.monitor_active_engine_activity:main_live"
list_active_engine_activity = "commands.ops.monitor_active_engine_activity:main_paging"
list_engine_activity = "commands.ops.monitor_engine_activity:main_paging"
monitor_engine_activity = "commands.ops.monitor_engine_activity:main_live"
refresh_gov_eng_config = "commands.ops.gov_server_actions:refresh_gov_eng_config"
monitor_engine_status = "commands.ops.monitor_engine_status:main_live"
list_engine_status = "commands.ops.monitor_engine_status:main_paging"
monitor_daemon_status = "commands.ops.monitor_daemon_status:main_live"
list_daemon_status = "commands.ops.monitor_daemon_status:main_paging"
monitor_platform_status = "commands.ops.monitor_platform_status:main"
monitor_server_startup = "commands.ops.monitor_server_startup:main"
monitor_server_status = "commands.ops.monitor_server_status:main"
refresh_integration_daemon = "commands.ops.refresh_integration_daemon:main"
restart_integration_daemon = "commands.ops.restart_integration_daemon:main"
load_archive = "commands.ops.load_archive:load_archive"
list_catalog_targets = "commands.ops.list_catalog_targets:main"
list_archives = "commands.ops.list_archives:main"
# load_archive_tui/start_daemon/stop_daemon removed 2026-08-05 - pointed
# at commands.ops.load_archive:tui (no such function - load_archive.py
# only defines load_archive) and commands.ops.engine_actions (file no
# longer exists per git log). Start/stop functionality lives on today as
# gov_server_actions.py's start_server/stop_server, but those are click
# subcommands taking a @click.pass_context config object (ctx.obj) from
# the hey_egeria_ops group - not standalone entry points - so the fix is
# `hey_egeria_ops start`/`hey_egeria_ops stop`, not a 1:1 script rename.
# See ISSUE-47 in PYEGERIA_ISSUES.md.
# my_egeria TUI apps — terminal mode
my_egeria = "my_egeria.main:main"
my_profile = "my_egeria.DemoCode.My_Profile.my_profile_app:main"
# my_egeria TUI apps — browser mode (textual serve); env: MY_EGERIA_HOST, MY_EGERIA_PORT, MY_PROFILE_PORT
serve_my_egeria = "my_egeria.serve:serve_my_egeria"
serve_my_profile = "my_egeria.serve:serve_my_profile"
list_my_profile = "commands.my.get_my_profile:main"
list_my_roles = "commands.my.list_my_roles:main"
monitor_my_actions = "commands.my.monitor_my_actions:main"
create_todo = "commands.my.todo_actions:create_todo"
delete_todo = "commands.my.todo_actions:delete_todo"
change_todo_status = "commands.my.todo_actions:change_todo_status"
mark_todo_complete = "commands.my.todo_actions:mark_todo_complete"
reassign_todo = "commands.my.todo_actions:reassign_todo"
hey_egeria_ops = "commands.cli.egeria_ops:cli"
hey_egeria = "commands.cli.egeria:cli"
egeria_login = "commands.cli.egeria_login_tui:login"
get_guid_info = "commands.tech.get_guid_info:main"
get_tech_details = "commands.tech.get_tech_details:main"
list_asset_types = "commands.tech.list_asset_types:main"
list_registered_services = "commands.tech.list_registered_services:main"
list_relationship_types = "commands.tech.list_relationship_types:main"
list_tech_templates = "commands.tech.list_tech_templates:main"
get_element_info = "commands.tech.get_element_info:main"
list_elements = "commands.tech.list_all_om_type_elements:main"
show_register = "commands.tech.list_element_register:main"
list_elements_x = "commands.tech.list_all_om_type_elements_x:main"
list_elements_by_classification_by_prop_value = "commands.tech.list_elements_by_classification_by_property_value:main"
list_elements_by_prop_value = "commands.tech.list_elements_by_property_value:main"
list_elements_by_prop_value_x = "commands.tech.list_elements_by_property_value_x:main"
list_related_specification = "commands.tech.list_related_specification:main"
list_elements_for_classification = "commands.tech.list_elements_for_classification:main"
list_all_related_elements = "commands.tech.list_all_related_elements:main"
list_related_elements_with_prop_value = "commands.tech.list_related_elements_with_prop_value:main"
validate_compact_specs = "commands.tech.validate_compact_specs:main"
get_tech_type_template = "commands.tech.get_tech_type_template:main"
list_relationships = "commands.tech.list_relationships:main"
generate_md_cmd_templates = "commands.tech.generate_md_cmd_templates:main"
list_valid_metadata_values = "commands.tech.list_valid_metadata_values:main"
list_anchored_elements = "commands.tech.list_anchored_elements:main"
list_gov_action_processes = "commands.tech.list_gov_action_processes:main"
list_info_supply_chains = "commands.tech.list_information_supply_chains:main"
list_solution_blueprints = "commands.tech.list_solution_blueprints:main"
list_solution_roles = "commands.tech.list_solution_roles:main"
list_solution_components = "commands.tech.list_solution_components:main"
delete_element = "commands.tech.element_actions:delete_element"
gen_report_specs = "commands.tech.gen_report_specs:main"
gen_md_cmd_templates = "commands.tech.generate_md_cmd_templates:main"
gen_dr_help = "commands.tech.generate_dr_help:main"
refresh_specs = "commands.tech.refresh_specs:main"
dr_egeria_spec_editor = "commands.tech.spec_editor:main"
[tool.uv.workspace]
members = ["my_egeria"]
[tool.uv.sources]
my-egeria = { workspace = true }
[dependency-groups]
dev = [
"pytest>=8.4.2",
"wheel>=0.45.1",
"my-egeria",
]
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["pyegeria", "pyegeria.*", "commands", "commands.*", "md_processing", "md_processing.*", "my_egeria", "my_egeria.*"]
exclude = ["tests", "config"]
[tool.setuptools.package-data]
"md_processing" = [
"data/**/*.json",
"data/**/*.py",
"md_commands/*.py",
"md_processing_utils/tests/*.csv",
"md_processing_utils/tests/*.md",
"md_processing_utils/tests/*.txt"
]
"my_egeria" = ["**/*.tcss"]
"commands" = ["tech/spec_editor_static/*"]
[project.optional-dependencies]
test = ["pytest"]
spec-editor = ["fastapi>=0.115", "uvicorn>=0.32"]