generates lookml from a warehouse
Project description
wh_lookml_gen
generates lookml from a warehouse
Free software: MIT license
Documentation: https://wh-lookml-gen.readthedocs.io.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for wh_lookml_gen-0.2.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5272db95202c8c884d366dd71dcd1650999daf8423edfe20b7b301d55864b85 |
|
MD5 | 06f2d85c08e347be4ec7c97ceb608136 |
|
BLAKE2b-256 | 47452f1afee6803ac90085b01e4c6bb95d79615a084d3c8d9552243f3037cbae |