tableau_tools version 4.2.0 released – now Python 3 compatible!

Update: Hot on the heels of 4.1.0, tableau_tools 4.2.0 is now available with full Python 3 compatibility!

The version 4.0 series of tableau_tools was always intended to allow for Python 3 compatibility, and with version 4.2.0, installing from PyPi (or invokes automatic 2to3 conversion that should work without any additional changes. The short lived 4.1.0 release moved from urllib2 to requests as the library for making the actual HTTP calls in the backend, and 4.2.0 finishes off the work by moving everything to Unicode internally, while writing all text files out in UTF-8 encoding.

This means there is now a requirement for the requests library, but since every other Python package in the world now uses requests, I don’t think it should cause anyone any harm. Please do report any bugs that you see, as there might be a few quirky corner cases where something that was necessary before requests is causing an issue.

The Tableau SDK itself is only Python 2.7 compatible, so the TDE Extract Generation / Conversion from TDS to TDSX functionality won’t work in Python 3, but everything else should be completely compatible.



  1. I’m trying to use Tableau_Tools but I am very new to both Python and PyCharm. I can follow what the code is going to do but I’m lost as to how to get Power_Tools to work in PyCharm. Is there a walk through or a guide somewhere for the steps needed to get Power_Tools working in PyCharm?


    1. Hi Tim,
      The best way to get started is to use pip, the Python package installer tool. If you have installed Python to your system, pip should be available as a command on the Command Line.

      pip install tableau_tools

      Will install the latest tableau_tools from PyPi into Python’s package repository, and then all of the examples should work (the import statements will reference the package repository first).

      You can also do

      pip install -upgrade tableau_tools

      after the first time to get the latest version.

      Once it is installed, when you load PyCharm, there should be automatic recognition of the libraries, which will give you autocomplete and documentation of what the parameters are.

      I always write a script, save it to a file, then actually go to the Command Line and run that script


      I think you can set up PyCharm to run things all within the IDE, but I’m not that good with configurations.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s