A collection of tools for Data Mesh architectural approach.
Project description
DataMesh
A collection of tools for Data Mesh architectural approach.
Data Contract Validation
The library can be used to validate your .yaml data contract against Open Data Contract Standard JSON schema from Bitol-io / open-data-contract-standard
Installation
pip install -U datamesh
Usage
data-contract-validation <path_to_contract_yaml_file> <optional_path_to_standards_json_schema>
or in Python
from datamesh.contract import Validator
validation_errors = (
Validator(
contract="examples/all/postgresql-adventureworks-contract.yaml",
standard="schema/odcs-json-schema.json"
)
.print_report()
.errors
)
🚩 Validation errors:
.
│
├──[]
│ └── 'datasetName' is a required property
│
├──[]
│ └── 'quantumName' is a required property
│
├──['kind']
│ └── 'managedDataset' is not one of ['DataContract']
Streamlit App
Contribution
Feel free to contribute to the project under free and open-source GPLv3 license.
Resources
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
DataMesh-0.1.2.tar.gz
(21.6 kB
view hashes)
Built Distribution
DataMesh-0.1.2-py3-none-any.whl
(21.3 kB
view hashes)