TABLEAU REST API: TABLEAU-API-LIB TUTORIALS

Building and publishing Tableau Hyper extracts with Python

A step-by-step guide to using Tableau’s Hyper API and REST API

Elliott Stam
Devyx
Published in
5 min readApr 3, 2020

--

Photo by Sven Brandsma on Unsplash

Find more Devyx tutorial content on YouTube.

For more analytics and data engineering content: Substack.

Extracts are snapshots of data stored in flat files or database tables, typically generated by Tableau Server on a schedule defined by server administrators. For teams operating within complex environments, there may be a desire to build extracts on the fly based on a source like a Pandas DataFrame or a CSV file. One way to do this is using Python.

There are free tools out there that enable automating a significant portion of your Tableau Server workflows. For many people and teams, the struggle is carving out development time to put those tools to work.

Let’s get to the point: demonstrating how you can use Python to build a Hyper extract from scratch and publish it to Tableau Server or Tableau Online.

This tutorial walks through using the Python tableau-api-lib package and is part of a series on how to tap Tableau Server like a keg, giving you control over Tableau Server’s REST API.

--

--

Elliott Stam
Devyx
Editor for

Data scientist and author. Sometimes seen falling down mountains with a snowboard strapped to my feet.