Execute commands against the MetricFlow semantic layer with dbt.
Actively maintained. Last release 2 weeks ago, commits in 18 of the last 26 weeks. A safe choice.
$
pip install dbt-metricflowWelcome to dbt-metricflow
This repo encapsulates the dbt-core, MetricFlow, and supported dbt-adapters packages. This package will manage the versioning between these packages such that they are compatible with each other.
Repo use cases
- dbt-core and MetricFlow both depend on dbt-semantic-interfaces, which includes the schemas and interfaces for objects related to the semantic layer. Bundled versioning is necessary to ensure that the dbt-core and MetricFlow versions have compatible dbt-semantic-interfaces dependencies.
- Bundling the installation makes it much easier on end users, as they no longer need to install
dbt-core+metricflow+dbt-adapterand reconcile versions - instead they can simply installdbt-metricflow[adapter]. - Because this encapsulates both dbt-core and MetricFlow, this repo can be used to build logic that should be shared across the packages. For example, the CLI from MetricFlow can live in this repo, as it uses logic from all of the bundled packages. This can streamline dependency requirements in MetricFlow.