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/

Latest release

See release notes for the latest changes.

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.2.22.tar.gz (469.8 kB 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.2.22-py3-none-any.whl (210.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cognite_data_quality-0.2.22.tar.gz
  • Upload date:
  • Size: 469.8 kB
  • 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.2.22.tar.gz
Algorithm Hash digest
SHA256 a9ecf058dea2c79b4d35f8323f359d2152a187f4deab9f0cfae6ee19563ed3e1
MD5 358f2f41dbdb1474924ca48eb192f01e
BLAKE2b-256 b6e4289e8b8f8f625db751ba53a36d20eb27033673c48105fb56bae47e1016af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cognite_data_quality-0.2.22-py3-none-any.whl
Algorithm Hash digest
SHA256 8fce0cc2e3f46acc0e45616e9609059c7f37b95025da355a0626c13b92ef3bd0
MD5 e013195508fb51c60e9de405f717fdd1
BLAKE2b-256 4ee60c125478bd2024d3175a03906224069ae56cb4b0ba8b27e5d0024a26cfbb

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