pyegeria 0.7.45__py3-none-any.whl → 0.8.0__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 (51) hide show
  1. examples/widgets/cat/list_cert_types.py +61 -43
  2. examples/widgets/cat/list_projects.py +1 -1
  3. examples/widgets/cli/egeria.py +18 -2
  4. examples/widgets/cli/egeria_tech.py +299 -98
  5. examples/widgets/my/my_profile_actions.py +51 -32
  6. examples/widgets/ops/engine_actions.py +35 -23
  7. examples/widgets/ops/integration_daemon_actions.py +51 -32
  8. examples/widgets/tech/get_element_info.py +63 -38
  9. examples/widgets/tech/get_guid_info.py +50 -27
  10. examples/widgets/tech/list_asset_types.py +33 -23
  11. examples/widgets/tech/list_elements.py +44 -34
  12. examples/widgets/tech/list_elements_x.py +69 -49
  13. examples/widgets/tech/list_registered_services.py +44 -24
  14. examples/widgets/tech/list_related_specification.py +70 -45
  15. examples/widgets/tech/list_relationship_types.py +50 -31
  16. examples/widgets/tech/list_valid_metadata_values.py +57 -28
  17. examples/widgets/tech/x_list_related_elements.py +54 -34
  18. pyegeria/Xloaded_resources_omvs.py +43 -41
  19. pyegeria/__init__.py +5 -1
  20. pyegeria/_client.py +142 -102
  21. pyegeria/_deprecated_gov_engine.py +218 -167
  22. pyegeria/action_author_omvs.py +107 -88
  23. pyegeria/asset_catalog_omvs.py +467 -395
  24. pyegeria/automated_curation_omvs.py +2 -2
  25. pyegeria/classification_manager_omvs.py +1920 -868
  26. pyegeria/collection_manager_omvs.py +1957 -1519
  27. pyegeria/core_omag_server_config.py +310 -192
  28. pyegeria/egeria_cat_client.py +88 -0
  29. pyegeria/egeria_config_client.py +37 -0
  30. pyegeria/egeria_my_client.py +47 -0
  31. pyegeria/egeria_ops_client.py +67 -0
  32. pyegeria/egeria_tech_client.py +77 -0
  33. pyegeria/feedback_manager_omvs.py +633 -631
  34. pyegeria/full_omag_server_config.py +330 -158
  35. pyegeria/glossary_browser_omvs.py +927 -474
  36. pyegeria/glossary_manager_omvs.py +1033 -543
  37. pyegeria/mermaid_utilities.py +1 -1
  38. pyegeria/my_profile_omvs.py +714 -574
  39. pyegeria/platform_services.py +228 -176
  40. pyegeria/project_manager_omvs.py +1158 -903
  41. pyegeria/registered_info.py +76 -74
  42. pyegeria/runtime_manager_omvs.py +749 -670
  43. pyegeria/server_operations.py +123 -85
  44. pyegeria/valid_metadata_omvs.py +268 -168
  45. {pyegeria-0.7.45.dist-info → pyegeria-0.8.0.dist-info}/METADATA +1 -1
  46. {pyegeria-0.7.45.dist-info → pyegeria-0.8.0.dist-info}/RECORD +49 -46
  47. examples/widgets/tech/list_gov_processes.py +0 -162
  48. pyegeria/tech_guids_31-08-2024 14:33.py +0 -79
  49. {pyegeria-0.7.45.dist-info → pyegeria-0.8.0.dist-info}/LICENSE +0 -0
  50. {pyegeria-0.7.45.dist-info → pyegeria-0.8.0.dist-info}/WHEEL +0 -0
  51. {pyegeria-0.7.45.dist-info → pyegeria-0.8.0.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1,88 @@
1
+ """
2
+ SPDX-License-Identifier: Apache-2.0
3
+ Copyright Contributors to the ODPi Egeria project.
4
+
5
+ This class is meant to be a client for catalog users and currently inherits from
6
+ AssetCatalog, CollectionManager, GlossaryManager, and ProjectManager.
7
+
8
+ """
9
+
10
+ from pyegeria import (
11
+ AssetCatalog,
12
+ CollectionManager,
13
+ EgeriaMy,
14
+ GlossaryManager,
15
+ ProjectManager,
16
+ )
17
+
18
+
19
+ class EgeriaCat(
20
+ AssetCatalog,
21
+ CollectionManager,
22
+ EgeriaMy,
23
+ GlossaryManager,
24
+ # GovernanceAuthor,
25
+ # PeopleOrganizer,
26
+ ProjectManager,
27
+ ):
28
+ """
29
+ Client to issue Runtime status requests.
30
+
31
+ Attributes:
32
+
33
+ server_name: str
34
+ Name of the server to use.
35
+ platform_url : str
36
+ URL of the server platform to connect to
37
+ user_id : str
38
+ The identity of the user calling the method - this sets a default optionally used by the methods
39
+ when the user doesn't pass the user_id on a method call.
40
+ user_pwd: str
41
+ The password associated with the user_id. Defaults to None
42
+ token: str
43
+ An optional bearer token
44
+
45
+ Methods:
46
+
47
+ """
48
+
49
+ def __init__(
50
+ self,
51
+ server_name: str,
52
+ platform_url: str,
53
+ user_id: str,
54
+ user_pwd: str = None,
55
+ token: str = None,
56
+ ):
57
+ AssetCatalog.__init__(
58
+ self, server_name, platform_url, user_id, user_pwd, token=token
59
+ )
60
+ CollectionManager.__init__(
61
+ self,
62
+ server_name,
63
+ platform_url,
64
+ token,
65
+ user_id,
66
+ user_pwd,
67
+ )
68
+ EgeriaMy.__init__(
69
+ self, server_name, platform_url, user_id, user_pwd, token=token
70
+ )
71
+
72
+ GlossaryManager.__init__(
73
+ self,
74
+ server_name,
75
+ platform_url,
76
+ token,
77
+ user_id,
78
+ user_pwd,
79
+ )
80
+
81
+ ProjectManager.__init__(
82
+ self,
83
+ server_name,
84
+ platform_url,
85
+ token,
86
+ user_id,
87
+ user_pwd,
88
+ )
@@ -0,0 +1,37 @@
1
+ """
2
+ SPDX-License-Identifier: Apache-2.0
3
+ Copyright Contributors to the ODPi Egeria project.
4
+
5
+ Client to configure the Egeria platform and servers
6
+
7
+ """
8
+
9
+ from pyegeria import (
10
+ FullServerConfig,
11
+ )
12
+
13
+
14
+ class EgeriaConfig(FullServerConfig):
15
+ """
16
+ Client for configuring the Egeria Platform and Servers
17
+
18
+ Attributes:
19
+
20
+ server_name: str
21
+ Name of the server to use.
22
+ platform_url : str
23
+ URL of the server platform to connect to
24
+ user_id : str
25
+ The identity of the user calling the method - this sets a default optionally used by the methods
26
+ when the user doesn't pass the user_id on a method call.
27
+ user_pwd: str
28
+ The password associated with the user_id. Defaults to None
29
+
30
+ Methods:
31
+ Inherits methods from FullServerConfig
32
+ """
33
+
34
+ def __init__(
35
+ self, server_name: str, platform_url: str, user_id: str, user_pwd: str = None
36
+ ):
37
+ FullServerConfig.__init__(self, server_name, platform_url, user_id, user_pwd)
@@ -0,0 +1,47 @@
1
+ """
2
+ SPDX-License-Identifier: Apache-2.0
3
+ Copyright Contributors to the ODPi Egeria project.
4
+
5
+ Runtime manager is a view service that supports user interaction with the running platforms.
6
+
7
+ """
8
+
9
+ from pyegeria._exceptions import (
10
+ InvalidParameterException,
11
+ )
12
+ from pyegeria import max_paging_size, body_slimmer, MyProfile, FeedbackManager
13
+
14
+
15
+ class EgeriaMy(MyProfile, FeedbackManager):
16
+ """
17
+ Client to issue Runtime status requests.
18
+
19
+ Attributes:
20
+
21
+ server_name: str
22
+ Name of the server to use.
23
+ platform_url : str
24
+ URL of the server platform to connect to
25
+ user_id : str
26
+ The identity of the user calling the method - this sets a default optionally used by the methods
27
+ when the user doesn't pass the user_id on a method call.
28
+ user_pwd: str
29
+ The password associated with the user_id. Defaults to None
30
+
31
+
32
+ Methods:
33
+ Inherits from MyProfile, FeedbackManager
34
+ """
35
+
36
+ def __init__(
37
+ self,
38
+ server_name: str,
39
+ platform_url: str,
40
+ user_id: str,
41
+ user_pwd: str = None,
42
+ token: str = None,
43
+ ):
44
+ MyProfile.__init__(self, server_name, platform_url, token, user_id, user_pwd)
45
+ FeedbackManager.__init__(
46
+ self, server_name, platform_url, token, user_id, user_pwd
47
+ )
@@ -0,0 +1,67 @@
1
+ """
2
+ SPDX-License-Identifier: Apache-2.0
3
+ Copyright Contributors to the ODPi Egeria project.
4
+
5
+ Client to manage Egeria operations. Inherits methods from EgeriaConfig,
6
+ ServerOps, RuntimeManager and Platform.
7
+
8
+ """
9
+ from examples.doc_samples.Create_Sustainability_Collection_Sample import token
10
+ from pyegeria._exceptions import (
11
+ InvalidParameterException,
12
+ )
13
+ from pyegeria import (
14
+ max_paging_size,
15
+ body_slimmer,
16
+ MyProfile,
17
+ FeedbackManager,
18
+ EgeriaCat,
19
+ ValidMetadataManager,
20
+ AutomatedCuration,
21
+ ActionAuthor,
22
+ ClassificationManager,
23
+ RegisteredInfo,
24
+ RuntimeManager,
25
+ ServerOps,
26
+ EgeriaConfig,
27
+ Platform,
28
+ )
29
+
30
+
31
+ class EgeriaOps(EgeriaConfig, Platform, RuntimeManager, ServerOps):
32
+ """
33
+ Client for managing Egeria operations.
34
+
35
+ Attributes:
36
+
37
+ server_name: str
38
+ Name of the server to use.
39
+ platform_url : str
40
+ URL of the server platform to connect to
41
+ user_id : str
42
+ The identity of the user calling the method - this sets a default optionally used by the methods
43
+ when the user doesn't pass the user_id on a method call.
44
+ user_pwd: str
45
+ The password associated with the user_id. Defaults to None
46
+ token: str, optional
47
+ Bearer token
48
+
49
+ Methods:
50
+ Inherits methods from EgeriaCat, ActionAuthor, AutomatedCuration,
51
+ ClassificationManager, RegisteredInfo, ValidMetadataManager
52
+ """
53
+
54
+ def __init__(
55
+ self,
56
+ server_name: str,
57
+ platform_url: str,
58
+ user_id: str,
59
+ user_pwd: str = None,
60
+ token: str = None,
61
+ ):
62
+ EgeriaConfig.__init__(self, server_name, platform_url, user_id, user_pwd)
63
+ Platform.__init__(self, server_name, platform_url, user_id, user_pwd)
64
+ RuntimeManager.__init__(
65
+ self, server_name, platform_url, user_id, user_pwd, token=token
66
+ )
67
+ ServerOps.__init__(self, server_name, platform_url, user_id, user_pwd)
@@ -0,0 +1,77 @@
1
+ """
2
+ SPDX-License-Identifier: Apache-2.0
3
+ Copyright Contributors to the ODPi Egeria project.
4
+
5
+ Runtime manager is a view service that supports user interaction with the running platforms.
6
+
7
+ """
8
+
9
+ from pyegeria._exceptions import (
10
+ InvalidParameterException,
11
+ )
12
+ from pyegeria import (
13
+ max_paging_size,
14
+ body_slimmer,
15
+ MyProfile,
16
+ FeedbackManager,
17
+ EgeriaCat,
18
+ ValidMetadataManager,
19
+ AutomatedCuration,
20
+ ActionAuthor,
21
+ ClassificationManager,
22
+ RegisteredInfo,
23
+ )
24
+
25
+
26
+ class EgeriaTech(
27
+ ActionAuthor,
28
+ AutomatedCuration,
29
+ EgeriaCat,
30
+ ClassificationManager,
31
+ RegisteredInfo,
32
+ ValidMetadataManager,
33
+ ):
34
+ """
35
+ Client for technical Egeria users.
36
+
37
+ Attributes:
38
+
39
+ server_name: str
40
+ Name of the server to use.
41
+ platform_url : str
42
+ URL of the server platform to connect to
43
+ user_id : str
44
+ The identity of the user calling the method - this sets a default optionally used by the methods
45
+ when the user doesn't pass the user_id on a method call.
46
+ user_pwd: str
47
+ The password associated with the user_id. Defaults to None
48
+ token: str, optional
49
+ Bearer token
50
+
51
+ Methods:
52
+ Inherits methods from EgeriaCat, ActionAuthor, AutomatedCuration,
53
+ ClassificationManager, RegisteredInfo, ValidMetadataManager
54
+ """
55
+
56
+ def __init__(
57
+ self,
58
+ server_name: str,
59
+ platform_url: str,
60
+ user_id: str,
61
+ user_pwd: str = None,
62
+ token: str = None,
63
+ ):
64
+ ActionAuthor.__init__(self, server_name, platform_url, user_id, user_pwd, token)
65
+ AutomatedCuration.__init__(
66
+ self, server_name, platform_url, user_id, user_pwd, token
67
+ )
68
+ EgeriaCat.__init__(self, server_name, platform_url, user_id, user_pwd, token)
69
+ ClassificationManager.__init__(
70
+ self, server_name, platform_url, user_id, user_pwd, token
71
+ )
72
+ RegisteredInfo.__init__(
73
+ self, server_name, platform_url, user_id, user_pwd, token
74
+ )
75
+ ValidMetadataManager.__init__(
76
+ self, server_name, platform_url, user_id, user_pwd, token
77
+ )