pyegeria 0.1.1__py3-none-any.whl → 0.1.1.5__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/__init__.py CHANGED
@@ -11,7 +11,6 @@ the server platform and servers along with some basic configuration of Egeria se
11
11
 
12
12
  """
13
13
 
14
- from importlib import resources
15
14
  try:
16
15
  import tomllib
17
16
  except ModuleNotFoundError:
@@ -24,11 +23,8 @@ if disable_ssl_warnings:
24
23
  from urllib3 import disable_warnings
25
24
  disable_warnings(InsecureRequestWarning)
26
25
 
27
- from ._exceptions import (InvalidParameterException, PropertyServerException, UserNotAuthorizedException,
28
- print_exception_response, )
29
- from .utils import print_response
30
- from ._client import Client
31
26
  from .platform_services import Platform
32
27
  from .core_omag_server_config import CoreServerConfig
28
+ from .registered_info import RegisteredInfo
33
29
 
34
- __version__ = "0.1"
30
+ __version__ = "0.1.1.3"
@@ -13,6 +13,7 @@ companion service is also configured and running.
13
13
  import pandas as pd
14
14
  from tabulate import tabulate
15
15
 
16
+ from ._validators import validate_name
16
17
  from .utils import wrap_text
17
18
 
18
19
  from ._client import Client
@@ -48,14 +49,13 @@ class RegisteredInfo(Client):
48
49
 
49
50
  def __init__(
50
51
  self,
52
+ server_name: str,
51
53
  platform_url: str,
52
54
  user_id: str,
53
55
  user_pwd: str = None,
54
56
  verify_flag: bool = False,
55
- server_name: str = None
56
57
  ):
57
- if server_name is None:
58
- server_name = "NA"
58
+ validate_name(server_name)
59
59
  Client.__init__(self, server_name, platform_url,
60
60
  user_id, user_pwd, verify_flag)
61
61
  self.admin_command_root = (f"{self.platform_url}/open-metadata/platform-services/users/"
@@ -1,15 +1,22 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 0.1.1
3
+ Version: 0.1.1.5
4
4
  Summary: A python client for Egeria
5
5
  Project-URL: Homepage, https://github.com/odpi/egeria-python
6
6
  Project-URL: Issues, https://github.com/odpi/egeria-python/issues
7
7
  Author-email: Dan Wolfson <dan.wolfson@pdr-associates.com>
8
8
  License-File: LICENSE
9
+ Keywords: egeria,governance,metadata
9
10
  Classifier: License :: OSI Approved :: Apache Software License
10
11
  Classifier: Programming Language :: Python
11
12
  Classifier: Programming Language :: Python :: 3
12
13
  Requires-Python: >=3.10
14
+ Requires-Dist: pandas~=2.2.0
15
+ Requires-Dist: pytest~=7.4.2
16
+ Requires-Dist: requests~=2.31.0
17
+ Requires-Dist: tabulate~=0.9.0
18
+ Requires-Dist: urllib3~=1.26.15
19
+ Requires-Dist: validators~=0.22.0
13
20
  Description-Content-Type: text/markdown
14
21
 
15
22
  <!-- SPDX-License-Identifier: CC-BY-4.0 -->
@@ -1,4 +1,4 @@
1
- pyegeria/__init__.py,sha256=3GoEl9GB-VXbU3J2Mf7XRbpaTy7QLFnncHgHGSMAT20,1115
1
+ pyegeria/__init__.py,sha256=778Kxfe2wMatK1qw44TMmxiYwntcCCfJS3-d8n95zCE,909
2
2
  pyegeria/_client.py,sha256=tnn444x2DN3pIyDFVtmMsb2l-ezFnTy9h-OpUc94RjA,18797
3
3
  pyegeria/_exceptions.py,sha256=E4d60USV3A6X7e3WzE0f7o7U7wAntS0ajvXeMrBKRzg,18306
4
4
  pyegeria/_globals.py,sha256=WgJ6O7_ACiAG8CUUHT_AbGgahLhO0APU8Y4rCwv9DRw,558
@@ -6,10 +6,10 @@ pyegeria/_validators.py,sha256=1K50pJQrppx1r6-bJU5saEQ8Q7DBZcxS8hjMCWcSjJY,12626
6
6
  pyegeria/config.toml,sha256=2Jp6ozhlVgDLWeG5702dTTAYEUv_jYNAFFWpEyR8xV8,214
7
7
  pyegeria/core_omag_server_config.py,sha256=AhJqXxNkbY_lKDlXJxyZ-UrmGr2Ohqsg-W35W5h9gQ8,89024
8
8
  pyegeria/platform_services.py,sha256=DCEkcQ-qXZ115crfc4sSpow-YgcVNF-PBMTYJy52Va4,19653
9
- pyegeria/registered_info.py,sha256=f9cskHLHFrbLFtE4kBqkIV1ljS0W_M798A2gUV4KuLc,7402
9
+ pyegeria/registered_info.py,sha256=TZ35uRmR-lgYZjGa09Ae6wbigm7c9XhNCx_7K67JT6E,7407
10
10
  pyegeria/server_operations.py,sha256=HADaidO7lGygbGHxNYeBVv36orxFOJ7c-js56jtOM1w,7959
11
11
  pyegeria/utils.py,sha256=uRw8TFlVBOQl_lem8Inm-zzXoWgCJblZHRNvEgSc738,5257
12
- pyegeria-0.1.1.dist-info/METADATA,sha256=zWpjvvMozHlOW-PFma74GPY5lbm_LAdH1PEx84onQ5U,1898
13
- pyegeria-0.1.1.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
14
- pyegeria-0.1.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
15
- pyegeria-0.1.1.dist-info/RECORD,,
12
+ pyegeria-0.1.1.5.dist-info/METADATA,sha256=v-bxRvDjoXdZW6GBARxyGI8tsRLGeaXjqxk2r348jzY,2124
13
+ pyegeria-0.1.1.5.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
14
+ pyegeria-0.1.1.5.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
15
+ pyegeria-0.1.1.5.dist-info/RECORD,,