pyegeria 0.8.4.50__py3-none-any.whl → 1.5.1__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.
pyegeria/README.md ADDED
@@ -0,0 +1,35 @@
1
+ <!-- SPDX-License-Identifier: CC-BY-4.0 -->
2
+ <!-- Copyright Contributors to the ODPi Egeria project. -->
3
+
4
+ ![Egeria Logo](https://egeria-project.org/assets/images/egeria-header.png)
5
+
6
+ [![GitHub](https://img.shields.io/github/license/odpi/egeria)](LICENSE)
7
+
8
+
9
+ # pyegeria: a python client for Egeria
10
+
11
+ This is a package for easily using the Egeria
12
+ open metadata environment from python. Details about the
13
+ open source Egeria project can be found at [Egeria Project](https://egeria-project.org).
14
+
15
+ This package is in active development. There is initial
16
+ support for many of Egeria's services including configuration and operation. This client depends on
17
+ This release supports Egeria 5.1 and above - although most of the functions may work on earlier versions of Egeria as well.
18
+
19
+ The code is organized to mimic the existing Egeria Java Client structure.
20
+
21
+ WARNING: files that start with "X" are in-progress placeholders that are not meant to be used..they will mature and
22
+ evolve.
23
+
24
+ All feedback is welcome. Please engage via our [community](http://egeria-project.org/guides/community/),
25
+ team calls, or via github issues in this repo. If interested in contributing,
26
+ you can engage via the community or directly reach out to
27
+ [dan.wolfson\@pdr-associates.com](mailto:dan.wolfson@pdr-associates.com?subject=pyegeria).
28
+
29
+ This is a learning experience.
30
+
31
+
32
+
33
+ ----
34
+ License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/),
35
+ Copyright Contributors to the ODPi Egeria project.
@@ -2336,11 +2336,11 @@ class AutomatedCuration(Client):
2336
2336
  ) -> str:
2337
2337
  """Initiate a postgres database survey"""
2338
2338
 
2339
- url = f"{self.curation_command_root}/governance-action-types/" f"initiate"
2339
+ url = f"{self.curation_command_root}/governance-action-types/initiate"
2340
2340
 
2341
2341
  body = {
2342
2342
  "class": "InitiateGovernanceActionTypeRequestBody",
2343
- "governanceActionTypeQualifiedName": "AssetSurvey-postgres-database",
2343
+ "governanceActionTypeQualifiedName": "survey-postgres-database",
2344
2344
  "actionTargets": [
2345
2345
  {
2346
2346
  "class": "NewActionTarget",
@@ -2365,7 +2365,7 @@ class AutomatedCuration(Client):
2365
2365
  ) -> str:
2366
2366
  """Initiate a postgres server survey - Async version"""
2367
2367
 
2368
- url = f"{self.curation_command_root}/governance-action-types/" f"initiate"
2368
+ url = f"{self.curation_command_root}/governance-action-types/initiate"
2369
2369
 
2370
2370
  body = {
2371
2371
  "class": "InitiateGovernanceActionTypeRequestBody",
@@ -2426,7 +2426,7 @@ class AutomatedCuration(Client):
2426
2426
  - AssetSurvey:survey-all-folders-and-files
2427
2427
  """
2428
2428
 
2429
- url = f"{self.curation_command_root}/governance-action-types/" f"initiate"
2429
+ url = f"{self.curation_command_root}/governance-action-types/initiate"
2430
2430
 
2431
2431
  body = {
2432
2432
  "class": "InitiateGovernanceActionTypeRequestBody",
@@ -2489,7 +2489,7 @@ class AutomatedCuration(Client):
2489
2489
  async def _async_initiate_file_survey(self, file_guid: str) -> str:
2490
2490
  """Initiate a file survey - async version"""
2491
2491
 
2492
- url = f"{self.curation_command_root}/governance-action-types/" f"initiate"
2492
+ url = f"{self.curation_command_root}/governance-action-types/initiate"
2493
2493
 
2494
2494
  body = {
2495
2495
  "class": "InitiateGovernanceActionTypeRequestBody",
@@ -2525,7 +2525,7 @@ class AutomatedCuration(Client):
2525
2525
 
2526
2526
  """
2527
2527
 
2528
- url = f"{self.curation_command_root}/governance-action-types/" f"initiate"
2528
+ url = f"{self.curation_command_root}/governance-action-types/initiate"
2529
2529
 
2530
2530
  body = {
2531
2531
  "class": "InitiateGovernanceActionTypeRequestBody",
@@ -2576,7 +2576,7 @@ class AutomatedCuration(Client):
2576
2576
 
2577
2577
  """
2578
2578
 
2579
- url = f"{self.curation_command_root}/governance-action-types/" f"initiate"
2579
+ url = f"{self.curation_command_root}/governance-action-types/initiate"
2580
2580
 
2581
2581
  body = {
2582
2582
  "class": "InitiateGovernanceActionTypeRequestBody",
@@ -2626,7 +2626,7 @@ class AutomatedCuration(Client):
2626
2626
 
2627
2627
  """
2628
2628
 
2629
- url = f"{self.curation_command_root}/governance-action-types/" f"initiate"
2629
+ url = f"{self.curation_command_root}/governance-action-types/initiate"
2630
2630
 
2631
2631
  body = {
2632
2632
  "class": "InitiateGovernanceActionTypeRequestBody",
@@ -89,7 +89,9 @@ class ValidMetadataManager(Client):
89
89
  "preferredValue": "",
90
90
  "dataType": "",
91
91
  "isCaseSensitive": false,
92
- "isDeprecated" : false
92
+ "isDeprecated" : false,
93
+ "effectiveFrom" : "2024-09-30T20:00:00.000Z",
94
+ "effectiveTo" : "2025-09-30T20:00:00.000Z",
93
95
  }
94
96
  """
95
97
 
@@ -199,7 +201,9 @@ class ValidMetadataManager(Client):
199
201
  "preferredValue": "put mapName value here",
200
202
  "dataType": "",
201
203
  "isCaseSensitive": false,
202
- "isDeprecated" : false
204
+ "isDeprecated" : false,
205
+ "effectiveFrom" : "2024-09-30T20:00:00.000Z",
206
+ "effectiveTo" : "2025-09-30T20:00:00.000Z"
203
207
  }
204
208
 
205
209
  """
@@ -315,6 +319,8 @@ class ValidMetadataManager(Client):
315
319
  "preferredValue": "put mapName value here",
316
320
  "dataType": "",
317
321
  "isCaseSensitive": false,
322
+ "effectiveFrom" : "2024-09-30T20:00:00.000Z",
323
+ "effectiveTo" : "2025-09-30T20:00:00.000Z"
318
324
  }
319
325
  """
320
326
  url = (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 0.8.4.50
3
+ Version: 1.5.1
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://github.com/odpi/egeria-python
6
6
  License: Apache 2.0
@@ -41,17 +41,20 @@ Description-Content-Type: text/markdown
41
41
 
42
42
  # pyegeria: a python client for Egeria
43
43
 
44
- This is an experimental package for easily using the Egeria
44
+ This is a package for easily using the Egeria
45
45
  open metadata environment from python. Details about the
46
46
  open source Egeria project can be found at [Egeria Project](https://egeria-project.org).
47
47
 
48
48
  This package is in active development. There is initial
49
49
  support for many of Egeria's services including configuration and operation. This client depends on
50
- Egeria 4.4 Snapshot and above - although most of the functions may work on earlier versions of Egeria as well.
50
+ This release supports Egeria 5.1 - although most of the functions may work on earlier versions of Egeria as well.
51
51
 
52
52
  The code is organized to mimic the existing Egeria Java Client structure.
53
53
 
54
- A new examples folder holds some useful text widgets that help to visualize the status of an Egeria deployment.
54
+ The commands folder holds the Egeria Command Line Interface and corresponding commands
55
+ to visualize and use Egeria. The commands also serve as useful examples.
56
+
57
+ An examples folder holds some useful examples showing different facets of using pyegeria.
55
58
 
56
59
  WARNING: files that start with "X" are in-progress placeholders that are not meant to be used..they will mature and
57
60
  evolve.
@@ -63,6 +63,7 @@ commands/tech/list_relationship_types.py,sha256=BlVzrPznZXqMVLN2-2vYEVRGeYsiJrqX
63
63
  commands/tech/list_tech_templates.py,sha256=RiyA8a4fIL9BGeGf37Bkk471mK5ECkDJMN9QVNReC1M,6192
64
64
  commands/tech/list_valid_metadata_values.py,sha256=N3D0_BmREPszgde3uvvYdfzq7DJ46uMOv2t1vtncGsw,6333
65
65
  commands/tech/x_list_related_elements.py,sha256=qBsf1619cecaMCTzG0MG22fAT32WNH2Z3CXrjo9z-5Y,5853
66
+ pyegeria/README.md,sha256=PwX5OC7-YSZUCIsoyHh1O-WBM2hE84sm3Bd4O353NOk,1464
66
67
  pyegeria/__init__.py,sha256=bRpRh7Bm01yIlv9mt_WqFNScXENADIbHhJSMBYVbb2E,15598
67
68
  pyegeria/_client.py,sha256=pzndEJKN0tcnT7gQFa0r3pzXm9pK4zJKANZOXO79aOs,25949
68
69
  pyegeria/_deprecated_gov_engine.py,sha256=dWNcwVsE5__dF2u4QiIyQrssozzzOjBbLld8MdpmVCQ,17264
@@ -70,7 +71,7 @@ pyegeria/_exceptions.py,sha256=NJ7vAhmvusK1ENvY2MMrBB6A6TgpYjzS9QJxFH56b8c,18470
70
71
  pyegeria/_globals.py,sha256=1Uc8392wjbiVN5L__RzxC1-U97RMXj77_iUsMSgeAjQ,638
71
72
  pyegeria/_validators.py,sha256=rnZelHJnjHaLZ8UhUTDyB59MfIUJifhALtkYoHBaos4,12736
72
73
  pyegeria/asset_catalog_omvs.py,sha256=fffZsSukOrG-xszD6uEPf2IX4p0IK63T0_w7_6BpG1Q,21075
73
- pyegeria/automated_curation_omvs.py,sha256=7Q87KuIPy-Er83ZnsIRqrPZ-0t8zVsf6Ki53_45pJSg,133260
74
+ pyegeria/automated_curation_omvs.py,sha256=Qt1qEsi9_UwS5ukpRhbnPiVwRqmrIVITbD-SBgOiw98,133227
74
75
  pyegeria/classification_manager_omvs.py,sha256=Op6JqnJWMoIRkgzRr__P-mnROSaoWBq54cnjuAhoo5Q,180808
75
76
  pyegeria/collection_manager_omvs.py,sha256=kye2kjthNnmwxMZhHQKV0xoHbxcNPWjNzRAYOItj_gY,99201
76
77
  pyegeria/core_omag_server_config.py,sha256=EtHaPKyc9d6pwTgbnQqGwe5lSBMPIfJOlbJEa1zg1JA,94946
@@ -93,10 +94,10 @@ pyegeria/runtime_manager_omvs.py,sha256=qkMjb4Dp88-tqG47ldGR8oKGuNSIMrYiN43BCqAO
93
94
  pyegeria/server_operations.py,sha256=ciH890hYT85YQ6OpByn4w7s3a7TtvWZpIG5rkRqbcI0,16766
94
95
  pyegeria/tech_guids_26-09-2024 09:30.py,sha256=7CTmbbNQ7qfJtWNbBhSiS6yIhs17SmWxKh-JanmAOwk,5967
95
96
  pyegeria/utils.py,sha256=1h6bwveadd6GpbnGLTmqPBmBk68QvxdjGTI9RfbrgKY,5415
96
- pyegeria/valid_metadata_omvs.py,sha256=GXajKFiAIMkXVXhN7Q9NpfQcv4vNwiKVY0_y-EZdr5g,64739
97
+ pyegeria/valid_metadata_omvs.py,sha256=tfCGXed5LLt59YA8uZNNtd9UJ-lRZfPU_uZxK31Yux0,65069
97
98
  pyegeria/x_action_author_omvs.py,sha256=xu1IQ0YbhIKi17C5a7Aq9u1Az2czwahNPpX9czmyVxE,6454
98
- pyegeria-0.8.4.50.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
99
- pyegeria-0.8.4.50.dist-info/METADATA,sha256=7EHkyRSOS_-ONJGX7pvOe56_Qoav2ATbaTHwy_B1anU,2868
100
- pyegeria-0.8.4.50.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
101
- pyegeria-0.8.4.50.dist-info/entry_points.txt,sha256=GZ8TCko5L5CR9Pbs4qiUnXR76q8D1iBNfHe-AggVFhM,3560
102
- pyegeria-0.8.4.50.dist-info/RECORD,,
99
+ pyegeria-1.5.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
100
+ pyegeria-1.5.1.dist-info/METADATA,sha256=gcrUH7t4Vnz-nL68kSW5R-PXJSWxG_WhKMvtE47WsdM,2993
101
+ pyegeria-1.5.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
102
+ pyegeria-1.5.1.dist-info/entry_points.txt,sha256=GZ8TCko5L5CR9Pbs4qiUnXR76q8D1iBNfHe-AggVFhM,3560
103
+ pyegeria-1.5.1.dist-info/RECORD,,