Giter Site home page Giter Site logo

tableausdk_py3's Introduction

Creating a Tableau Data Extract (.tde) file using Python 3.5.2 on Windows 10

N|Solid

This repository includes a file (TableauSDK-10300.18.0703.1954) extracted from a zip file found at tableau.com. Step by step instructions on how to get and extract the file along with setting up Python can be followed from this youtube: "Tableau Training & Tutorials 13 01 APIs Extract API Introduction".

Software & Files Required

  • Python 3 - Python is an interpreted, object-oriented, high-level programming language with dynamic semantics.
  • Tableau SDK - The Tableau SDK contains a set of functions for creating Tableau Data Extract (.tde) files and for publishing extracts to a Tableau Server.

Installation

  1. Download and install Python 3.5.2 or later
  2. Clone this repository if you have Windows 10. Otherwise, click the Tableau SDK link above to download the zipfile and extract the appropriate tableau SDK files for your system.
  3. The extracted folder will be called TableauSDK-10300.18.0703.1954 or something similar. Change directories into the folder.
  4. Make sure you are running your CLI with administrator rights and have python run the setup.py file.
$ cd TableauSDK-10300.18.0703.1954
$ python setup.py install
  1. The trivialExample.py file was created and added to the TableauSDK-10300.18.0703.1954 folder of this repo (based from the youtube video linked above). It was modified to work with python 3 because the original instructions in the video were for python 2 and would not work if left unchanged. Note the changes in the file indicated with comments. If you did not clone this repo, then copy the contents of the trivialExample.py file from here into your own new file and save it inside your copy of the TableauSDK-10300.18.0703.1954 folder.
  2. Have python run the trivialExample.py file.
$ python trivialExample.py
  1. If all ran sucessfully, you will see a new file called trivialExample.tde appear in the TableauSDK-10300.18.0703.1954 folder. NOTE: A copy of the resulting file trivialExample.tde from completing Steps 1-6 is provided in the repo.

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.