collibra-connector 1.0.19__py3-none-any.whl → 1.1.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.
@@ -1,157 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: collibra-connector
3
- Version: 1.0.19
4
- Summary: An UNOFFICIAL 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
- An **UNOFFICIAL** comprehensive Python connector for the Collibra Data Governance Center API.
22
-
23
- ## Features
24
-
25
- - 🚀 **Complete API Coverage**: Asset, Community, Domain, User, Responsibility, Workflow, Metadata, and Comment management
26
- - 🔄 **Automatic Retry Logic**: Built-in retry mechanism for robust API calls
27
- - ✅ **Input Validation**: Comprehensive parameter validation with clear error messages
28
- - 🏗️ **Clean Architecture**: Well-structured, extensible codebase with separation of concerns
29
- - 📝 **Type Hints**: Full type annotations for better IDE support
30
- - 🛡️ **Error Handling**: Custom exception hierarchy for different error types
31
- - 🔧 **Utility Functions**: Helper methods for complex operations and bulk operations
32
-
33
- ## Installation
34
-
35
- ```bash
36
- pip install collibra-connector
37
- ```
38
-
39
- ## Quick Start
40
-
41
- ```python
42
- from collibra_connector import CollibraConnector
43
-
44
- # Initialize the connector
45
- connector = CollibraConnector(
46
- api="https://your-collibra-instance.com",
47
- username="your-username",
48
- password="your-password",
49
- timeout=30
50
- )
51
-
52
- # Test connection
53
- if connector.test_connection():
54
- print("Connected successfully!")
55
-
56
- # Get all metadata
57
- metadata = connector.metadata.get_collibra_metadata()
58
- print(f"Found {len(metadata['AssetType'])} asset types")
59
-
60
- # Find communities
61
- communities = connector.community.find_communities()
62
- for community in communities.get("results", []):
63
- print(f"Community: {community['name']}")
64
- ```
65
-
66
- ## API Reference
67
-
68
- ### Assets
69
-
70
- ```python
71
- # Get an asset
72
- asset = connector.asset.get_asset("asset-uuid")
73
-
74
- # Create an asset
75
- new_asset = connector.asset.add_asset(
76
- name="My New Asset",
77
- domain_id="domain-uuid",
78
- display_name="My Asset Display Name",
79
- type_id="asset-type-uuid"
80
- )
81
-
82
- # Find assets
83
- assets = connector.asset.find_assets(
84
- community_id="community-uuid",
85
- asset_type_ids=["type-uuid-1", "type-uuid-2"]
86
- )
87
- ```
88
-
89
- ### Communities
90
-
91
- ```python
92
- # Get a community
93
- community = connector.community.get_community("community-uuid")
94
-
95
- # Find communities
96
- communities = connector.community.find_communities()
97
- ```
98
-
99
- ### Domains
100
-
101
- ```python
102
- # Get a domain
103
- domain = connector.domain.get_domain("domain-uuid")
104
-
105
- # Create a domain
106
- new_domain = connector.domain.create_domain(
107
- name="My New Domain",
108
- community_id="community-uuid"
109
- )
110
- ```
111
-
112
- ### Users
113
-
114
- ```python
115
- # Get user by username
116
- user_id = connector.user.get_user_by_username("username")
117
-
118
- # Create a new user
119
- new_user = connector.user.create_user(
120
- username="newuser",
121
- email_address="newuser@example.com"
122
- )
123
- ```
124
-
125
- ### Complete Documentation
126
-
127
- For comprehensive API documentation and examples, see the full README with all available methods for:
128
- - Asset management (CRUD operations, attributes, activities)
129
- - Community and Domain operations
130
- - User management
131
- - Responsibility assignments
132
- - Workflow operations
133
- - Comment management
134
- - Metadata retrieval
135
- - Utility functions for bulk operations
136
-
137
- ## Error Handling
138
-
139
- ```python
140
- from collibra_connector.api.Exceptions import (
141
- CollibraAPIError,
142
- UnauthorizedError,
143
- NotFoundError
144
- )
145
-
146
- try:
147
- asset = connector.asset.get_asset("invalid-uuid")
148
- except NotFoundError:
149
- print("Asset not found")
150
- except CollibraAPIError as e:
151
- print(f"API error: {e}")
152
- ```
153
-
154
- ## Requirements
155
-
156
- - Python 3.8+
157
- - requests >= 2.20.0
@@ -1,21 +0,0 @@
1
- collibra_connector/__init__.py,sha256=vzF9epFfmdnFjOcr_qZhvfiN9Z0cIBB48xldnvIiKjo,1694
2
- collibra_connector/connector.py,sha256=uBOFEAVIE-v6Zkb9-SwFCFcaeJESStOOFZdI2iy20gw,2449
3
- collibra_connector/api/Asset.py,sha256=aPhnsRxzdGGFtaytpLueDgMrELMpIs4cuOJoc2DR-p4,17927
4
- collibra_connector/api/Base.py,sha256=2gHpieP8N_PK-R63zUv38Wpdfqdw9tHcH59hlXUZOWM,5929
5
- collibra_connector/api/Comment.py,sha256=KK9SF3t7Z6oCHuqpAVX7aPiS_5bFuWMagK2h15vVHe0,5015
6
- collibra_connector/api/Community.py,sha256=eLdPAw-DMl2NGU6lTIx7lzJLeEA5Kg-zWo4AzwVWllM,12153
7
- collibra_connector/api/Domain.py,sha256=U0i103g1WceCn9qAFUWDLgeXrtOvfBqX3vMCn4sQqRE,13012
8
- collibra_connector/api/Exceptions.py,sha256=lX8yU3BnlOiWWifIBKlZdXVZaTI5pvtbrffyDtEUtoc,429
9
- collibra_connector/api/Metadata.py,sha256=4uzb4vnZuMOg_ISCEnCfmAEVbsIcuD4FvupDlcxrfT4,5213
10
- collibra_connector/api/OutputModule.py,sha256=97TzIbeoC5V63x5fi5fEcGfviUydwKwJC3NobLuNF5w,1791
11
- collibra_connector/api/Relation.py,sha256=Hw0PlAQrU2Zv-RAbvHZhZpZb2_m6uDWngx2ySwo_mv0,8079
12
- collibra_connector/api/Responsibility.py,sha256=PJu1Pe1u8mKzgpGGjzHtZNfRTfpgWWbaQn5bSifZOMo,14123
13
- collibra_connector/api/User.py,sha256=rUfnR0x_vnIk8h2SJ0RITpC4nKPw-e3-zwKIK8ZEuKc,7776
14
- collibra_connector/api/Utils.py,sha256=W_XC-ypF_dh0zeqN2RMdyJIQzuQJ0nBysKctee8jZAg,5262
15
- collibra_connector/api/Workflow.py,sha256=rsD9mPut69eEy35TNGf2mUKTrgWUmoakgnsXa85XzNY,10417
16
- collibra_connector/api/__init__.py,sha256=yBJcKzcRraE-UYbBviisbdvQ1asFBnud5Vo1oJcCv_w,491
17
- collibra_connector-1.0.19.dist-info/licenses/LICENSE,sha256=6KmWWtAu_q58gerPlrnkgsmGM2l8j6Wc_VL0y4S_ip4,1079
18
- collibra_connector-1.0.19.dist-info/METADATA,sha256=hsQZNdNfiIgC1JteLz_eeR-x4pZRyDzz6DU55FCDjA4,4081
19
- collibra_connector-1.0.19.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
20
- collibra_connector-1.0.19.dist-info/top_level.txt,sha256=Vs-kR64zf__ebL2j3_AEx7rhO6xkwgmHUFRzxlQPgTQ,19
21
- collibra_connector-1.0.19.dist-info/RECORD,,