Tableau Today: The best dashboards give people insight
Tableau with Extensions: The best dashboards help people take action
Welcome to the GitHub repository for trexjacket, an open source Python wrapper for the Tableau Extensions API created by Baker Tilly.
The online documentation for trexjacket is hosted on readthedocs here.
- (If using Anvil X) Add the third party dependency token:
4WJSBYGUAK63RAJO - Import it into your app and start building! You now have access to worksheets, parameters, filters, and much more.
from trexjacket.api import get_dashboard
dashboard = get_dashboard()
dashboard.get_worksheet('Sale Map').register_event_handler('selection_change', handle_selection)
def handle_selection(event):
""" This function executes when a user clicks a mark on a dashboard """
selected_marks = event.get_selected_marks() # <- this is a list of dicts
# Incite action by...
# updating a Salesforce opportunity
# prompting the user to flag or review suspect transactions
# capturing qualitative insights to improve future forecasts
# sending a reminder email with the click of a buttonAccessing the Tableau Extensions API to use trexjacket is most easily accessed using Anvil X, a toolkit for building and deploying Tableau extensions entirely in Python. It provides a framework and IDE for pure-Python full stack web development. It combines the rapid visual design of “low-code” tools with the power and flexibility of a code-first framework. Learn more about Anvil X here.