tabpy
Execute Python code on the fly and display results in Tableau visualizations:
Python client library to manage Tableau Python Server.