collibra-connector 1.0.4__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.
@@ -0,0 +1,3 @@
1
+ from .connector import CollibraConnector
2
+
3
+ __version__ = "0.1.0"
@@ -0,0 +1,35 @@
1
+ from requests.auth import HTTPBasicAuth
2
+
3
+
4
+ class CollibraConnector():
5
+ """
6
+ This class is used to connect to the Collibra API.
7
+ It requires the API URL and authentication credentials.
8
+ The authentication is done using HTTP Basic Auth.
9
+ """
10
+
11
+ def __init__(self, api: str, username: str, password: str):
12
+ """
13
+ Initializes the CollibraConnector with API URL and authentication credentials.
14
+ :param api: The API URL for Collibra.
15
+ :param username: The username for authentication.
16
+ :param password: The password for authentication.
17
+ """
18
+ self.__auth = HTTPBasicAuth(username, password)
19
+ self.__api = api + "/rest/2.0"
20
+ self.__base_url = api
21
+
22
+ def __repr__(self):
23
+ return f"CollibraConnector(api={self.__api}, auth={self.__auth})"
24
+
25
+ @property
26
+ def api(self):
27
+ return self.__api
28
+
29
+ @property
30
+ def auth(self):
31
+ return self.__auth
32
+
33
+ @property
34
+ def base_url(self):
35
+ return self.__base_url
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.4
2
+ Name: collibra-connector
3
+ Version: 1.0.4
4
+ Summary: A standard Python connector for the Collibra Data Governance Center API.
5
+ Author-email: Raül Dalgamonni <rauldalgamonnialonso@gmail.com>
6
+ Project-URL: Homepage, https://github.com/rauldaal/collibra-python-connector
7
+ Project-URL: Bug Tracker, https://github.com/rauldaal/collibra-python-connector
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: >=3.8
14
+ Description-Content-Type: text/markdown
15
+ License-File: LICENSE
16
+ Requires-Dist: requests>=2.20.0
17
+ Dynamic: license-file
18
+
19
+ # Collibra Python Connector
20
+
21
+ A simple and standard Python connector for interacting with the Collibra Data Governance Center API.
22
+
23
+ ## Installation
24
+
25
+ ```bash
26
+ pip install collibra-connector
27
+ ```
@@ -0,0 +1,7 @@
1
+ collibra_connector/__init__.py,sha256=dSG_88DTnXpnFwE3RHCuBtLYjoHeCB4FaKa2NHY__u4,63
2
+ collibra_connector/connector.py,sha256=b2n0SDMYdad-rSPgM6fsDWvnuEIggFSG2YYjciC0v2o,1007
3
+ collibra_connector-1.0.4.dist-info/licenses/LICENSE,sha256=6KmWWtAu_q58gerPlrnkgsmGM2l8j6Wc_VL0y4S_ip4,1079
4
+ collibra_connector-1.0.4.dist-info/METADATA,sha256=qrR-MIAOIq_mOoGUTXkmZsjy_qMUIba3OUU92SX4oYs,959
5
+ collibra_connector-1.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
+ collibra_connector-1.0.4.dist-info/top_level.txt,sha256=Vs-kR64zf__ebL2j3_AEx7rhO6xkwgmHUFRzxlQPgTQ,19
7
+ collibra_connector-1.0.4.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Raül Dalgamonni Alonso
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ collibra_connector