collibra-connector 1.0.4__tar.gz
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.
- collibra_connector-1.0.4/LICENSE +21 -0
- collibra_connector-1.0.4/PKG-INFO +27 -0
- collibra_connector-1.0.4/README.md +9 -0
- collibra_connector-1.0.4/collibra_connector/__init__.py +3 -0
- collibra_connector-1.0.4/collibra_connector/connector.py +35 -0
- collibra_connector-1.0.4/collibra_connector.egg-info/PKG-INFO +27 -0
- collibra_connector-1.0.4/collibra_connector.egg-info/SOURCES.txt +10 -0
- collibra_connector-1.0.4/collibra_connector.egg-info/dependency_links.txt +1 -0
- collibra_connector-1.0.4/collibra_connector.egg-info/requires.txt +1 -0
- collibra_connector-1.0.4/collibra_connector.egg-info/top_level.txt +1 -0
- collibra_connector-1.0.4/pyproject.toml +31 -0
- collibra_connector-1.0.4/setup.cfg +4 -0
|
@@ -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,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,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,10 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
README.md
|
|
3
|
+
pyproject.toml
|
|
4
|
+
collibra_connector/__init__.py
|
|
5
|
+
collibra_connector/connector.py
|
|
6
|
+
collibra_connector.egg-info/PKG-INFO
|
|
7
|
+
collibra_connector.egg-info/SOURCES.txt
|
|
8
|
+
collibra_connector.egg-info/dependency_links.txt
|
|
9
|
+
collibra_connector.egg-info/requires.txt
|
|
10
|
+
collibra_connector.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
requests>=2.20.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
collibra_connector
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "collibra-connector"
|
|
3
|
+
version = "1.0.4"
|
|
4
|
+
authors = [
|
|
5
|
+
{ name="Raül Dalgamonni", email="rauldalgamonnialonso@gmail.com"},
|
|
6
|
+
]
|
|
7
|
+
description = "A standard Python connector for the Collibra Data Governance Center API."
|
|
8
|
+
readme = "README.md"
|
|
9
|
+
requires-python = ">=3.8"
|
|
10
|
+
classifiers = [
|
|
11
|
+
"Programming Language :: Python :: 3",
|
|
12
|
+
"License :: OSI Approved :: MIT License", # Choose your license (e.g., MIT, Apache-2.0)
|
|
13
|
+
"Operating System :: OS Independent",
|
|
14
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
15
|
+
"Intended Audience :: Developers",
|
|
16
|
+
]
|
|
17
|
+
dependencies = [
|
|
18
|
+
"requests>=2.20.0",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
[project.urls]
|
|
22
|
+
Homepage = "https://github.com/rauldaal/collibra-python-connector"
|
|
23
|
+
"Bug Tracker" = "https://github.com/rauldaal/collibra-python-connector"
|
|
24
|
+
|
|
25
|
+
[build-system]
|
|
26
|
+
requires = ["setuptools>=61.0"]
|
|
27
|
+
build-backend = "setuptools.build_meta"
|
|
28
|
+
|
|
29
|
+
[tool.setuptools.packages.find]
|
|
30
|
+
where = ["."]
|
|
31
|
+
include = ["collibra_connector"]
|