Skip to content

bryceglarsen/tsc-examples

Repository files navigation

Using Tableau Server Client

This repository provides some examples for TSC by Tableau.
Official documentation can be found here and GitHub
Below are some initial set-up steps I'd recommend.

Tableau Developer Program

Check out the new Developer Portal here
These examples are based on the use of a free Sandbox through the program

Fork Sample Repo

I’d recommend forking the repo for ease of following along
and then clone to your computer. Once that’s done, navigate to the root of the repository.

Use pyenv to set python version locally

Intro to pyenv here

brew install pyenv
pyenv local 3.9.1
# use this to check version:
pyenv versions

Make virtual environment and activate

python -m venv venv
souce venv/bin/activate

Install dependencies

For more information about why visit this link

pip install -r requirements.txt

Create .env file

An .env file is a great way to host your credentials and avoid entering over and over. Here we'll be using Personal Access Tokens for authentication. Create Tokens

tokenName='TokenName'
tokenSecret='TokenSecret'
url='https://10ax.online.tableau.com'
site='SiteName'

Create New Projects

Make new projects to use

python 0_setup/CreateProjects.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages