A Python module for working with Tableau workbook (TWB) and datasource (TDS) files, including packaged formats (TWBX, TDSX). It allows programmatic editing of connections, fields, dashboards, sheets, and custom SQL. Current version 0.11, with occasional releases.
pip install tableaudocumentapiVerified import paths — ran on the pinned version, not inferred.
Open a Tableau packaged workbook, inspect and modify database connections, then save as a new file.
Upgrade to 0.7+ which fixed namespace preservation, or verify saved file opens correctly in Tableau.
Monitor temp space; use tempfile.gettempdir() to check location.
Only use documented properties (see class attributes).
No dependency data recorded yet.