quollio-data-profiler
Description
This system collects advanced metadata like table to table lineage or anomaly record and ingests them to QDC.
Prerequisite
Before you begin to use this, you need to do the following.
- Add your assets to QDC with metadata agent.
- Issue External API client id and client secret on QDC.
Install
Install with the following command.
pip install quollio-data-profiler
Usage
Here is an example of creating a view for snowflake lineage. Please enter any values for <>.
from quollio_data_profiler.repository.qdc import QDCExternalAPIClient
from quollio_data_profiler.repository.snowflake import SnowflakeConnectionConfig
from quollio_data_profiler.snowflake_lineage_profiler import execute
def view_build_only():
company_id = "<company id issued by quollio.>"
build_view_connection = SnowflakeConnectionConfig(
account_id="<Snowflake account id. Please use the same id of metadata agent.>",
account_role="<Role necessary for creating view in your account>",
account_user="<user name>",
account_password="<password>",
account_warehouse="<compute warehouse>",
)
qdc_client = QDCExternalAPIClient(
client_id="<client id issued on QDC.>",
client_secret="<client secret>",
base_url="<base endpoint>",
)
execute(
company_id=company_id,
sf_build_view_connections=build_view_connection,
qdc_client=qdc_client,
is_view_build_only=True,
)
if __name__ == "__main__":
view_build_only()
Please refer to the scripts in ./examples for other usages.
Development
How to test
Unittest
- Run
make test
Metadata
Release files for quollio-data-profiler 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quollio_data_profiler-0.2.1.tar.gz | 13.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quollio_data_profiler-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.7 kB
Release files / quollio_data_profiler-0.2.1.tar.gz
| Download URL | quollio_data_profiler-0.2.1.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14c9c9fa2b8113bb38fa586c95cb1f9b1b0c9f65e406164ba3e5cb8fc549f1e4
|
|
BLAKE2b-256 checksum How to use checksums |
b30c484e1851594a54cd3c6f9d21cd6713f044a4cb79ca4682dd204a8866d931
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / quollio_data_profiler-0.2.1-py3-none-any.whl
| Download URL | quollio_data_profiler-0.2.1-py3-none-any.whl |
|---|---|
| Size | 24.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dfbab9a45bff16fb5cf0b46c7c7ecb38d816824af2b2891aea48af76ebd78578
|
|
BLAKE2b-256 checksum How to use checksums |
fa718bae0c6eea7a904b9a30b85b28519d10c074a511d61c5cd08aa1ee6f2929
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|