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
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 bq_lookml_gen-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c183a978cba7a57754b99997336f74a0edde1ddd8ea7be85ec58ba60519734a3 |
|
MD5 | 13187e20bf3b84030f2416267349b352 |
|
BLAKE2b-256 | 4df1285258fee501a3badda8c6b896eb8aa2a1059921a2cbab7b48a4d420f80b |