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. You can find a web-hosted version here.

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.2.3.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lookml_zenml-0.2.3-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lookml_zenml-0.2.3.tar.gz
Algorithm Hash digest
SHA256 c7e035bab4e9291f2c10d441541ea7ac69de1e1794e3f83cb6b96586eed924b2
MD5 a5af78160b9967e282c4e9f4aaa221e1
BLAKE2b-256 5b2c3064cd25f9b0c32ea318e3e6fb91461e2c53cd68ca534bb5d90d72172946

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for lookml_zenml-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d9f8bc7799960943dd27d74cac58cc2b1c3ffef47ad568429e909258a192042a
MD5 0d845fca6aedce20a74abccea741f722
BLAKE2b-256 408bd766422aee19faf1f6fbb5dda54ae74a960bf05127e35440863536222a6a

See more details on using hashes here.

Supported by

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