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.

Metadata

Release files for wh-lookml-gen 0.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wh-lookml-gen 0.2.6
File Size Uploaded
wh_lookml_gen-0.2.6.tar.gz 13.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wh-lookml-gen 0.2.6
File Interpreter ABI Platform
wh_lookml_gen-0.2.6-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 23.6 kB

Release files / wh_lookml_gen-0.2.6.tar.gz

Download URL wh_lookml_gen-0.2.6.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
30480d53cc698295d7d477b432c2071ea251e45e8464292ddf25af5d58c079df
BLAKE2b-256 checksum
How to use checksums
3872e5b9d19b54581d1898ff7ba26cab732c85fc9211200cc40e6e31dfb33e1c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / wh_lookml_gen-0.2.6-py2.py3-none-any.whl

Download URL wh_lookml_gen-0.2.6-py2.py3-none-any.whl
Size 9.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
1b88fc74957b9c6f7b0410530006af24a48e03606e03ed01d74116147c848b37
BLAKE2b-256 checksum
How to use checksums
5a10c01642cbfdb277079f01e95b76b8baba23ef734b46331dad5bf38700155b
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.2.6 This release

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page