Skip to main content

this package leverages josh temples looker parser [https://github.com/joshtemple/lkml] so that you can generate lookml from BigQuery metadata

Project description

bq_lookml_generator v.0.1.1

This automatic generator is buit over Josh Temples looker parser [https://github.com/joshtemple/lkml]. Building out lkml, it allows you to generate lookml from BigQuery metadata.

Getting started

  • make sure you are working in a venv.

  • head to /lookml/bq_lookml_gen

  • set up your bq_lookml_gen service account

  • input your secrect path in here lookml/bq_lookml_gen/config.py

      service_account = service_account.Credentials.from_service_account_file(
          ['path_to_file.json'],
      )
    
  • input your warehouse schema target in here lookml/bq_lookml_gen/warehouse_target.py

  • type bq_lookml_gen into terminal and watch the base explore generate...

troubleshooting

  • run pip install -r requirements.txt if you are running into dependency issues
  • you can run bq_lookml_gen.py from terminal if needed

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

bq_lookml_gen-0.1.2.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distribution

bq_lookml_gen-0.1.2-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

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