{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database"}],"enrichment":{"capability":"MetricFlow compiles metric definitions into reusable SQL queries, handling multi-hop joins, complex metric types, and aggregations across different time granularities.","skillfed_tags":["sql-generation","semantic-layer","metric-management"],"use_cases":["Define metrics once in code and automatically generate consistent SQL queries across multiple data warehouses.","Build complex ratio metrics, cumulative metrics, and expressions that depend on multiple fact and dimension tables.","Aggregate metrics to different time granularities without rewriting query logic.","Maintain a centralized semantic layer for metrics used across analytics, BI tools, and reporting dashboards.","Integrate metric definitions into version-controlled, testable metric logic within existing workflows."],"what_it_does":"MetricFlow is a semantic layer that translates metric definitions into SQL queries optimized for your data warehouse. It abstracts away the complexity of multi-hop joins between fact and dimension tables, handles advanced metric types (ratio, expression, cumulative), and manages aggregation across different time granularities. The package compiles metric requests into a dataflow-based query plan, optimizes it, and renders engine-specific SQL.\n\nMetricFlow is designed to work within the dbt ecosystem as a query compilation and SQL rendering library. It requires a working dbt project and dbt adapter to function. The package depends on 12 runtime libraries including jinja2, pydantic, sqlglot, and pyyaml to handle templating, validation, SQL parsing, and configuration. It supports Python 3.10 through 3.14 and is actively maintained.","worth_installing":"Yes, if you need to centralize metric logic in code. MetricFlow is actively maintained, has no known vulnerabilities, carries a permissive Apache-2.0 license, and installs with low friction. It solves a real problem\u2014metric consistency and reusability\u2014but requires a dbt project and adapter to work, so it is not a standalone tool. Best suited for teams already invested in dbt."},"id":"metricflow","links":{"html":"https://skillfed.io/packages/metricflow","md":"https://skillfed.io/packages/metricflow.md","pypi":"https://pypi.org/project/metricflow/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-12","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"metricflow","python_support":"supports_current","summary":"Translates a simple metric definition into reusable SQL and executes it against the SQL engine of your choice."},"popularity":{"monthly_downloads":4310188,"position":2335,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.212.0"}
