Code Monkey home page Code Monkey logo

dbtdocs-to-lookml's Introduction

[WIP] dbtdocs-to-lookml

A tool to persist descriptions from your dbt project your lookml project.

Running this proof of concept locally:

  1. cd into the test_dbt_project directory
  2. Run dbt compile. Note, you may need to set up a new dbt target to compile this correctly.
  3. cd back into main directory
  4. Run python dbtdocs_to_lookml.py
  5. Check the target directory: you should have new lookml files with dbt descriptions

To-dos:

For beta release:

  • Make this handle multiple lookml files
  • Parameterize the paths / add a CLI
  • Consider reasonable assumptions around matching a dbt model to a view

Future considerations:

  • Should this overwrite files, or just diff them?
  • What other command line arguments should it have?
  • What about long descriptions?

dbtdocs-to-lookml's People

Contributors

clrcrl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dbtdocs-to-lookml's Issues

Resurrecting this project

Hello!

I've been looking for a way to easily pass descriptions (and potentially more) from dbt -> looker, and this repo seems to do exactly that. I'm considering building this out further, but as it has been inactive for ~3 years, wanted to check in before moving forward.

Is there a tool that already accomplishes this? Any reasons not to pass descriptions from dbt -> looker? Anything else I should know?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.