Document API Python

Programmatically update your Tableau workbooks and data sources.

This site will get you up and running with the Python version of the Tableau Document API. The Document API, including the samples and documentation, are all open source.


Get Started   Download

Document API Overview

This repo contains Python source and example files for the Tableau Document API.

The Document API provides an unsupported way to programmatically make updates to Tableau workbook and data source files. If you’ve been making changes to these file types by directly updating the XML–that is, by XML hacking–this SDK is for you.

Features include:

For Hyper files, take a look a the Tableau Hyper API.

We don’t yet support creating files from scratch, adding extracts into workbooks or data sources, or updating field information.