/twp

Simple Tableau SQL Extract Tool

Primary LanguagePythonOtherNOASSERTION

# twp - tableau workbook parser

OVERVIEW

twp is a command line tool for parsing sql queries & related information out of tableau workbooks (.twb & .twbx files). It works by taking a tableau workbook, parsing the xml, and formatting information about worksheets, connections to those worksheets, their connection(db) details, and the corresponding custom sql (assuming it exists) in a valid sql & human readable format.

USAGE

$ twp input.twb(x) > output.sql

INSTALL

$ python -m pip install twp

CREDITS

Forked from (and based mostly on) https://github.com/levikanwischer/tabtosql, work (c) 2016 by Levi Kanwischer