Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bq_lookml_gen-0.1.2.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

bq_lookml_gen-0.1.2-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file bq_lookml_gen-0.1.2.tar.gz.

File metadata

  • Download URL: bq_lookml_gen-0.1.2.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.3

File hashes

Hashes for bq_lookml_gen-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5affe276673383cca6097b9434fa8d1b8ed457734e3e22f685b5c0673bf01bb1
MD5 5b47b2a3e4c85cee98d905135d491d88
BLAKE2b-256 225503d36fe100092290eee740be012b0e104a4d7f67132898de0bb997745c2b

See more details on using hashes here.

File details

Details for the file bq_lookml_gen-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: bq_lookml_gen-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.0 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.3

File hashes

Hashes for bq_lookml_gen-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c183a978cba7a57754b99997336f74a0edde1ddd8ea7be85ec58ba60519734a3
MD5 13187e20bf3b84030f2416267349b352
BLAKE2b-256 4df1285258fee501a3badda8c6b896eb8aa2a1059921a2cbab7b48a4d420f80b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

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