This repository contains Python client libraries for various Collibra APIs, automatically generated using Swagger Codegen.
- Each subdirectory (e.g.,
collibra-core_2.0.0/,collibra-catalog_1.0.0/, etc.) contains a Python package for a specific Collibra API or module. - Each package includes:
- Auto-generated Python client code
- Documentation (
README.md,docs/) - Example usage
- collibra-core_2.0.0: Core Collibra REST API
- collibra-catalog_1.0.0: Catalog API for ingestion and management
- collibra-catalog_classification_1.0.0: Data classification API
- collibra-catalog_cloud_ingestions_1.0.0: Cloud ingestion endpoints (ADLS, S3, GCS, etc.)
- collibra-catalog_database_registration_1.4.0: Database registration and profiling
- collibra-catalog_external_profiling_upload_1.0.0: Manual profiling data upload
- collibra-catalog_sampling_1.0.0: Data sampling endpoints
- collibra-catalog_technical_lineage_1.0.0: Technical lineage integration
- collibra-core_2.0.0: Core platform endpoints
- collibra-import_2.0.0: Import and synchronization APIs
- collibra-management_console_1.0.0: Management Console API
- collibra-protect_1.0.0: Data protection and masking APIs
- collibra-protect_api_partner: Partner API for data protection
Each package can be installed independently. For example:
cd collibra-core_2.0.0
pip install .Or install directly from the repository:
pip install /path/to/collibra-core_2.0.0Each package contains a README.md with detailed usage instructions and code examples. Here is a general example:
import collibra_core_2_0_0
from collibra_core_2_0_0.rest import ApiException
configuration = collibra_core_2_0_0.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'
api_instance = collibra_core_2_0_0.UsersApi(collibra_core_2_0_0.ApiClient(configuration))
try:
users = api_instance.find_users()
print(users)
except ApiException as e:
print("Exception when calling UsersApi->find_users: %s\n" % e)Most APIs use HTTP Basic Authentication. Set your username and password in the configuration object as shown above.
- Each package contains its own
README.mdanddocs/directory with API endpoint and model documentation. - Refer to the Swagger Codegen documentation for more details on the generated code.
- Fork the repository
- Create your feature branch (
git checkout -b feature/fooBar) - Commit your changes (
git commit -am 'Add some fooBar') - Push to the branch (
git push origin feature/fooBar) - Create a new Pull Request
This repository is a "Community Offering" available under the Collibra Marketplace License agreement.