Skip to main content

No project description provided

Project description

LookML to ZenML

Library for translating LookML configuration into ZenML for easy onboarding to Zenlytic.

To install the package run

$ pip install lookml-zenml

To convert a entire project run the following command from your command line interface after installing the package. Note: make sure you specify your LookML project as the first argument, and you create a directory for the ZenML output.

$ lookml_zenml convert ./my_lookml_project --out-directory ./my_new_zenml_project

This is the standard way to convert a LookML project. This will convert dashboards, views, and models into the ZenML equivalent.


You can also use this library to convert objects on a one-off basis. This is not as robust as converting the whole project due to loss of information for the dashboards and logic about joins in found in the explores that we add to the views.

To convert a model run the following command. Note: if you specify --out-directory the library will write a yml file to that directory, otherwise it will return the converted code to stdout.

$ lookml_zenml model ./my_lookml_project/my_model.model.lkml --out-directory ./my_new_dir

To convert a view run the following command. Note: if you specify --out-directory the library will write a yml file to that directory, otherwise it will return the converted code to stdout.

$ lookml_zenml view ./my_lookml_project/my_view.view.lkml --out-directory ./my_new_dir

To convert a dashboard run this command. Note: for dashboards the directory is required. If you do not have the directory of lookml files, you can point to an empty directory and the conversion will run, but will put all metrics on a dashboard into the slice_by heading because it will be unable to determine the field type of the fields. You'll then have to correct those manually.

$ lookml_zenml dashboard ./my_lookml_project/my_dashboard.dashboard.lookml --directory ./my_lookml_project

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lookml_zenml-0.1.9.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

lookml_zenml-0.1.9-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file lookml_zenml-0.1.9.tar.gz.

File metadata

  • Download URL: lookml_zenml-0.1.9.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Darwin/23.4.0

File hashes

Hashes for lookml_zenml-0.1.9.tar.gz
Algorithm Hash digest
SHA256 c7eb2b6ca21836a4ea6ad8519e751e29e99a1901ea9a8ea487847bde34b6d8ca
MD5 b7008ec878bff47ed23ca28242e79c44
BLAKE2b-256 eeb4007a0ce89abcf590afe2e6ea1289d2d9e5c6cc858d44e8e6b6b1ca81f273

See more details on using hashes here.

File details

Details for the file lookml_zenml-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: lookml_zenml-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Darwin/23.4.0

File hashes

Hashes for lookml_zenml-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 9276ff53cf2586560db12aa3350add66a6106774328f700549974725b1d7acd1
MD5 3a46430f954b2434cb289eb5dc38d671
BLAKE2b-256 f612b3bd5e1149b845e946d2aafd62d223758801e5ae75f0289364b8ff73eb71

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page