Skip to main content

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.

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

Uploaded Source

Built Distribution

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

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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: wh_lookml_gen-0.2.6.tar.gz
  • Upload date:
  • Size: 13.8 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.6.tar.gz
Algorithm Hash digest
SHA256 30480d53cc698295d7d477b432c2071ea251e45e8464292ddf25af5d58c079df
MD5 fadf8aac9a79b9cfa2917628e1dfee52
BLAKE2b-256 3872e5b9d19b54581d1898ff7ba26cab732c85fc9211200cc40e6e31dfb33e1c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wh_lookml_gen-0.2.6-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.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1b88fc74957b9c6f7b0410530006af24a48e03606e03ed01d74116147c848b37
MD5 8bb163a2b5c0eb095b7d9a021a0e756f
BLAKE2b-256 5a10c01642cbfdb277079f01e95b76b8baba23ef734b46331dad5bf38700155b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.6 This release

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

Supported by

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