Skip to main content

generates lookml from a warehouse

Project description

wh_lookml_gen

https://img.shields.io/pypi/v/wh_lookml_gen.svg https://img.shields.io/travis/lewischarlesbaker/wh_lookml_gen.svg Documentation Status

generates lookml from a warehouse

Features

### 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.

  • pip install lookml_gen

  • config params
    • run lookml_gen_init
      • head to .lookml_gen and input your wh credentials
        • warehouse configs
          • either input big_query or red_shift (current support warehouses) under warehouse_name

          • input schema name

          • input project name

        • security
          • big_query
            • input your keyfile path

          • red_shift
            • input you credentials

  • input your warehouse schema target in here lookml/bq_lookml_gen/warehouse_target.py

  • type 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

## to update

twine upload –skip-existing dist/*

## to develop

  • add new features to setup tools using: python setup.py develop

rebuild the wheel

python setup.py sdist bdist_wheel

pip freeze > requirements.txt

cat requirements.txt

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.7 (2021-05-28)

  • First release on PyPI.

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

wh_lookml_gen-0.2.3.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

wh_lookml_gen-0.2.3-py2.py3-none-any.whl (9.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: wh_lookml_gen-0.2.3.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.4

File hashes

Hashes for wh_lookml_gen-0.2.3.tar.gz
Algorithm Hash digest
SHA256 f340a76abf69690b9721f17ec49168f09c5750a92e20c92c33adc1c3c6de4fd3
MD5 4af6df9982b3258db00c76a8ee0a3e83
BLAKE2b-256 6eea16d0cfc41bd1450765fb1739edaa9b2cc0484ad32dbabe822ec0e709af76

See more details on using hashes here.

File details

Details for the file wh_lookml_gen-0.2.3-py2.py3-none-any.whl.

File metadata

  • Download URL: wh_lookml_gen-0.2.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.4

File hashes

Hashes for wh_lookml_gen-0.2.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2e9b3ba05f1a080f6ad49547835d9dbdff06b5482ffdbdef1cdb5eb1fd5d44b4
MD5 33941284ad703c8f6bbbcb9465015905
BLAKE2b-256 d1df5a148bfe9a3d1861e754e44a1ee312cddb3ac45af63a0087449a905e4e1d

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