All Projects → lightdash → dbt2looker

lightdash / dbt2looker

Licence: MIT license
Generate lookml for views from dbt models

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to dbt2looker

airflow-dbt
Apache Airflow integration for dbt
Stars: ✭ 233 (+95.8%)
Mutual labels:  dbt
looker deployer
A tool to help deploy objects from one Looker instance to another
Stars: ✭ 18 (-84.87%)
Mutual labels:  looker
dbt-spotify-analytics
Containerized end-to-end analytics of Spotify data using Python, dbt, Postgres, and Metabase
Stars: ✭ 92 (-22.69%)
Mutual labels:  dbt
snowflake-starter
A _simple_ starter template for Snowflake Cloud Data Platform
Stars: ✭ 31 (-73.95%)
Mutual labels:  dbt
pylooker
A Python interface to Looker API
Stars: ✭ 14 (-88.24%)
Mutual labels:  looker
awesome-dbt
A curated list of awesome dbt resources
Stars: ✭ 520 (+336.97%)
Mutual labels:  dbt
kuwala
Kuwala is the no-code data platform for BI analysts and engineers enabling you to build powerful analytics workflows. We are set out to bring state-of-the-art data engineering tools you love, such as Airbyte, dbt, or Great Expectations together in one intuitive interface built with React Flow. In addition we provide third-party data into data sc…
Stars: ✭ 474 (+298.32%)
Mutual labels:  dbt
dbt ml
Package for dbt that allows users to train, audit and use BigQuery ML models.
Stars: ✭ 41 (-65.55%)
Mutual labels:  dbt
awesome-looker
MOVED TO GITLAB. A list/directory of awesome/helpful Looker and LookML work.
Stars: ✭ 18 (-84.87%)
Mutual labels:  looker
PyRasgo
Helper code to interact with Rasgo via our SDK, PyRasgo
Stars: ✭ 39 (-67.23%)
Mutual labels:  dbt
pre-commit-dbt
🎣 List of `pre-commit` hooks to ensure the quality of your `dbt` projects.
Stars: ✭ 149 (+25.21%)
Mutual labels:  dbt
dbt-on-airflow
No description or website provided.
Stars: ✭ 30 (-74.79%)
Mutual labels:  dbt
lkml
A speedy LookML parser & serializer implemented in pure Python.
Stars: ✭ 134 (+12.61%)
Mutual labels:  looker
re-data
re_data - fix data issues before your users & CEO would discover them 😊
Stars: ✭ 955 (+702.52%)
Mutual labels:  dbt
metriql
The metrics layer for your data. Join us at https://metriql.com/slack
Stars: ✭ 227 (+90.76%)
Mutual labels:  dbt
ria-jit
Lightweight and performant dynamic binary translation for RISC–V code on x86–64
Stars: ✭ 38 (-68.07%)
Mutual labels:  dbt
airflow-dbt-python
A collection of Airflow operators, hooks, and utilities to elevate dbt to a first-class citizen of Airflow.
Stars: ✭ 111 (-6.72%)
Mutual labels:  dbt
dbt-airflow-docker-compose
Execution of DBT models using Apache Airflow through Docker Compose
Stars: ✭ 76 (-36.13%)
Mutual labels:  dbt
dbt ad reporting
Fivetran's ad reporting dbt package. Combine your Facebook, Google, Pinterest, Linkedin, Twitter, Snapchat and Microsoft advertising spend using this package.
Stars: ✭ 68 (-42.86%)
Mutual labels:  dbt
dbt-databricks
A dbt adapter for Databricks.
Stars: ✭ 115 (-3.36%)
Mutual labels:  dbt

dbt2looker

Use dbt2looker to generate Looker view files automatically from dbt models.

Want a deeper integration between dbt and your BI tool? You should also checkout Lightdash - the open source alternative to Looker

Features

  • Column descriptions synced to looker
  • Dimension for each column in dbt model
  • Dimension groups for datetime/timestamp/date columns
  • Measures defined through dbt column metadata see below
  • Looker types
  • Warehouses: BigQuery, Snowflake, Redshift (postgres to come)

demo

Quickstart

Run dbt2looker in the root of your dbt project after compiling looker docs.

Generate Looker view files for all models:

dbt docs generate
dbt2looker

Generate Looker view files for all models tagged prod

dbt2looker --tag prod

Install

Install from PyPi repository

Install from pypi into a fresh virtual environment.

# Create virtual env
python3.7 -m venv dbt2looker-venv
source dbt2looker-venv/bin/activate

# Install
pip install dbt2looker

# Run
dbt2looker

Build from source

Requires poetry and python >=3.7

For development, it is recommended to use python 3.7:

# Ensure you're using 3.7
poetry env use 3.7  
# alternative: poetry env use /usr/local/opt/[email protected]/bin/python3

# Install dependencies and main package
poetry install

# Run dbtlooker in poetry environment
poetry run dbt2looker

Defining measures

You can define looker measures in your dbt schema.yml files. For example:

models:
  - name: pages
    columns:
      - name: url
        description: "Page url"
      - name: event_id
        description: unique event id for page view
        meta:
           measures:
             page_views:
               type: count
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].