Skip to main content

The shared semantic layer definitions that dbt-core and MetricFlow use

Project description


This repo contains the shared semantic classes, default validation, and tests designed to be used by both the dbt-core and MetricFlow projects. By centralizing these shared resources, we aim to maintain consistency and reduce code duplication across both projects.


  • Protocols for shared semantic classes: Define the interfaces and common attributes that must be implemented by the objects in both projects.
  • Validation: Ensure that the objects comply with the expected structure and constraints.
  • Tests: Ensure that the objects' behavior is consistent and correct across both projects.


We welcome contributions to improve this codebase! If you're interested in contributing, please read our contributing guidelines and code of conduct first.


This package is released under the Apache2 License.


If you encounter any issues or have questions regarding the repo, please open an issue!

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

dbt_semantic_interfaces-0.5.1.tar.gz (76.1 kB view hashes)

Uploaded Source

Built Distribution

dbt_semantic_interfaces-0.5.1-py3-none-any.whl (119.7 kB view hashes)

Uploaded Python 3

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