A Python client for dbt's Semantic Layer, enabling programmatic access to dbt Metrics and saved queries. Current version: 0.13.4, release cadence: monthly.
pip install dbt-sl-sdkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize client with environment ID and auth token, then query a metric.
Use `result.to_pandas()` or `result.rows` to access data.
Always provide a dictionary with field names as keys and string conditions as values.
Replace `auth_token` with `service_token` or use environment variable `DBT_SERVICE_TOKEN`.
No resource links recorded.