Skip to main content

Catalog Sampling API

Project description

collibra-catalog_sampling_100

The Catalog Sampling API offers functionality related to the Collibra Data Catalog application.
It is mainly focused on facilitating the ingestion of information into Data Catalog.
The API enables you to more easily connect Data Catalog to sources that are not necessarily natively supported in the product.

This Python package is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import collibra_catalog_sampling 

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import collibra_catalog_sampling

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import collibra_catalog_sampling
from collibra_catalog_sampling.rest import ApiException
from pprint import pprint
# Configure HTTP basic authorization: basicAuth
configuration = collibra_catalog_sampling.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'

# create an instance of the API class
api_instance = collibra_catalog_sampling.SamplesApi(collibra_catalog_sampling.ApiClient(configuration))
asset_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str | Asset identifier
column_limit = 0 # int | The maximum number of columns to retrieve. If not set (columnLimit = <code>0</code>), the default column limit will be used. Maximum is set to 1500. (optional) (default to 0)
column_offset = 0 # int | The index of the fist column to retrieve. If not set (columnOffset = <code>0</code>), results will be retrieved starting from column <code>0</code>. (optional) (default to 0)

try:
    # Read sample data from the Collibra cloud repository or Edge cache
    api_response = api_instance.read_samples(asset_id, column_limit=column_limit, column_offset=column_offset)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SamplesApi->read_samples: %s\n" % e)
# Configure HTTP basic authorization: basicAuth
configuration = collibra_catalog_sampling.Configuration()
configuration.username = 'YOUR_USERNAME'
configuration.password = 'YOUR_PASSWORD'

# create an instance of the API class
api_instance = collibra_catalog_sampling.SamplesApi(collibra_catalog_sampling.ApiClient(configuration))
asset_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str | Asset identifier

try:
    # Create a request to collect and cache sample data for an Edge data source
    api_response = api_instance.request_samples(asset_id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SamplesApi->request_samples: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to /rest/catalogSampling/v1

Class Method HTTP request Description
SamplesApi read_samples GET /samples/{assetId} Read sample data from the Collibra cloud repository or Edge cache
SamplesApi request_samples POST /samples/{assetId}/request Create a request to collect and cache sample data for an Edge data source

Documentation For Models

Documentation For Authorization

basicAuth

  • Type: HTTP basic authentication

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collibra-catalog_sampling_100-1.0.0.tar.gz (21.9 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file collibra-catalog_sampling_100-1.0.0.tar.gz.

File metadata

File hashes

Hashes for collibra-catalog_sampling_100-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5b1ac69654226d18417f63c4f52ca6dd7da3db4257a0b20750d4c3778e1f7036
MD5 97b9c541477644256f568dbd892d2fdd
BLAKE2b-256 0534a2cbccd5a8c00bbc1d9a1d61d7e5a2d1510d2a186915866a21ed2c85ddc4

See more details on using hashes here.

File details

Details for the file collibra_catalog_sampling_100-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for collibra_catalog_sampling_100-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05c41a3874a023d9bd975799767dc9e05e8b7fbae7d3d59c106434586dfd8e54
MD5 7533714da19156c3e7c610e77970eadd
BLAKE2b-256 40844a537edfc17d7d31e8dd71ba9d194f0de286a4955885e048717ee68b3bf6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page