Skip to main content

Data quality validation runner for SHACL rules in Cognite Data Fusion.

Project description

Cognite Data Quality

SHACL-based data quality validation for Cognite Data Fusion (CDF).

Documentation

For full documentation, installation guides, deployment, and examples, see:

https://cognite-data-quality-validation.readthedocs-hosted.com/en/latest/

Installation

pip install cognite-data-quality

Quick Start

from cognite_data_quality import DataModelConfig, run_validation, load_cognite_client_from_toml

client = load_cognite_client_from_toml("cog-sail.toml")

result = run_validation(
    client=client,
    rules_path="path/to/shacl_rules.ttl",
    rules_format="ttl",
    datamodel=DataModelConfig(space="my_space", external_id="MyModel", version="v1"),
    instance_space="my_space",
    limit=10,
)
print(result.conforms, result.instance_count, len(result.violations))

For YAML-based configuration, deployment, time series validation, and more, see the documentation.

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

cognite_data_quality-0.1.8.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cognite_data_quality-0.1.8-py3-none-any.whl (166.5 kB view details)

Uploaded Python 3

File details

Details for the file cognite_data_quality-0.1.8.tar.gz.

File metadata

  • Download URL: cognite_data_quality-0.1.8.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.15

File hashes

Hashes for cognite_data_quality-0.1.8.tar.gz
Algorithm Hash digest
SHA256 a1cfaf05a83572fbf6d6620e96603fcc9db0b125b2ad411614dca3103994853a
MD5 61508eccfb94b9bd88700594f2e3fcac
BLAKE2b-256 533e08ef5a6304c5e7f35a66d535e0bcf98df05c545a6d1f043bca77b04ed611

See more details on using hashes here.

File details

Details for the file cognite_data_quality-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for cognite_data_quality-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 07beb9c36a89424ccc58fe2de2e3eb8ccdd4e7a78f68bec5355b62dd81405226
MD5 5417926f8cf0baf8cf4866350c66bcf7
BLAKE2b-256 c9a3f6c84826b19d7c2d87767e4a71d1e12a6d6b543165bc6ce7672068bafbc3

See more details on using hashes here.

Supported by

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