GithubHelp home page GithubHelp logo

lookermeetuppresentation's Introduction

Looker Cache Resetting Presentation

This is the code for the interactive demonstration of Looker cache resetting during the Denver Looker meetup on 5/2/2017.

The main event is the jupyter notebook that contains the example code. There are a couple of prerequisites in order to get the notebook to run:

Setup

To run this notebook you will need a few things:

  1. Python, 2.7 or later (I only tested on python3 but should work with 2.7 as well)
  2. A swagger-generated Looker API Python SDK. You can read a great tutorial here
  3. I strongly recommend setting up a virtualenv. You can read more here
  4. The pyYAML package and the jupyter package, both installable with pip.

Once your environment is set up, fire up a jupyter session with jupyter notebook and select the notebook in the browser.

Note: Before running the code you will need to create a YAML config file called config.yml with the following structure:

connection:
  id: <your API id>
  secret: <your API key>
  endpoint: https://<your-looker-host-name>:19999/api/3.0/

This file should be placed in the same directory as the python notebook.

Use

Feel free to modify the code to match your particular Looker test environment. Hope it inspires some good Looker API hacking!

Additional help and info

For more information on getting started with the Looker API, please read their intro documentation here

lookermeetuppresentation's People

Watchers

James Cloos avatar Nick Amabile avatar Colin Pistell avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.