Use the Tableau Server Client (TSC) library to increase your productivity as you interact with the Tableau Server REST API. With the TSC library you can do almost everything that you can do with the REST API, including:
This repository contains Python source code and sample files. Python versions 3.5 and up are supported.
For more information on installing and using TSC, see the documentation: https://tableau.github.io/server-client-python/docs/