---
title: "dbt-semantic-interfaces | pypx"
description: "The shared semantic layer definitions that dbt-core and MetricFlow use"
canonical_url: "https://pypx.app/packages/dbt-semantic-interfaces"
meta:
  "og:description": "The shared semantic layer definitions that dbt-core and MetricFlow use"
  "og:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_dbt-semantic-interfaces%2Cversion_0.10.5%2Csummary_The%2Bshared%2Bsemantic%2Blayer%2Bdefinitions%2Bthat%2Bdbt-core%2Band%2BMetricFlow%2Buse%2Clicense_Apache-2.0%2Cp_Ii9wYWNrYWdlcy9kYnQtc2VtYW50aWMtaW50ZXJmYWNlcyI%2Cs_Urp_M5rZ3s4jB8sE.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "dbt-semantic-interfaces 0.10.5"
  "twitter:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_dbt-semantic-interfaces%2Cversion_0.10.5%2Csummary_The%2Bshared%2Bsemantic%2Blayer%2Bdefinitions%2Bthat%2Bdbt-core%2Band%2BMetricFlow%2Buse%2Clicense_Apache-2.0%2Cp_Ii9wYWNrYWdlcy9kYnQtc2VtYW50aWMtaW50ZXJmYWNlcyI%2Cs_Urp_M5rZ3s4jB8sE.png"
---

> Index of every page on this site: [llms.txt](https://pypx.app/llms.txt)

# **dbt-semantic-interfaces**

v0.10.5

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

161 KB Python 3.8+ py3-none-anyApache-2.09 deps

[** Diff **](https://pypx.app/packages/dbt-semantic-interfaces/diff)

`$ uv add dbt-semantic-interfaces`

# dbt-semantic-interfaces

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.

## Features

- 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.

## Contributing

We welcome contributions to improve this codebase! If you're interested in contributing, please read our [contributing guidelines](https://pypx.app/CONTRIBUTING.md) and [code of conduct](https://pypx.app/CODE_OF_CONDUCT.md) first.

## License

This package is released under the Apache2 License.

## Support

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

## **Details **

<dl>

<dt>Version</dt>
<dd>0.10.5</dd>

<dt>License</dt>
<dd>Apache-2.0</dd>

<dt>Python</dt>
<dd>&gt;=3.8</dd>

<dt>Maintainer</dt>
<dd>dbt Labs &lt;info@dbtlabs.com&gt;</dd></dl>

## **Links**

- [View on PyPI](https://pypi.org/project/dbt-semantic-interfaces/)

## **Release Cadence **

**5**

releases in the past year

avg 12 days between releases

## **Maintainers **

- dbt Labs · [info@dbtlabs.com](mailto:info@dbtlabs.com)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://pypx.app/#website","@type":"WebSite","description":"The Python Package Index, reimagined. Fast search, dependency insights, download trends, and changelogs — all in one place.","name":"pypx","url":"https://pypx.app/"},{"@id":"https://pypx.app/packages/dbt-semantic-interfaces#webpage","@type":"WebPage","description":"The shared semantic layer definitions that dbt-core and MetricFlow use","name":"dbt-semantic-interfaces","url":"https://pypx.app/packages/dbt-semantic-interfaces","isPartOf":{"@id":"https://pypx.app/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://pypx.app/packages/dbt-semantic-interfaces"]}]},{"@id":"https://pypx.app/packages/dbt-semantic-interfaces#/schema/software-application/1","@type":"SoftwareApplication","applicationCategory":"DeveloperApplication","description":"The shared semantic layer definitions that dbt-core and MetricFlow use","license":"Apache-2.0","name":"dbt-semantic-interfaces","softwareVersion":"0.10.5"}]}
```

## Sitemap

See the full [sitemap](https://pypx.app/sitemap.md) for all pages.
