tableaudocumentapi
A Python module for working with Tableau files.
Decision gist · record as of 2026-08-14
Yes, if you need to programmatically modify Tableau files and accept the unsupported status and high install friction. The package is actively maintained, has no known vulnerabilities, and solves a real problem for Tableau automation. However, verify that it builds cleanly on your Python version before committing to it in production, and be aware that Tableau does not officially support this API.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires local compilation from source tarball; Python version support is unspecified.
- High install friction: distributed as a source tarball with no runtime dependencies listed, requiring local build.
- Last release was in 2022, over three years ago, though the repository remains active with recent commits.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.
last release 2022-11-07 (1376 days) · last repo commit 2026-07-02 · 363 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 88,118 downloads/mo, #13,748 on PyPI
Alternatives
Verify before relying
pip install tableaudocumentapi
from tableaudocumentapi import Workbook
wb = Workbook('myfile.twbx')
for ds in wb.datasources:
print(ds.name)- Whether the package actually builds and installs cleanly on modern Python versions despite unspecified version support.
- Whether high install friction reflects a genuine build requirement or merely packaging convention.
- Scope and stability of the 'unsupported' API—what breaking changes users should anticipate.
What it is and what it does
Tableaudocumentapi is a Python library for reading and modifying Tableau workbook and data source files by directly manipulating their XML structure. It lets you extract connection details (server, username, database, authentication type) and field metadata from TWB, TWBX, TDE, and TDSX files, and update connection information without opening Tableau Desktop. The package is explicitly unsupported by Tableau and does not support creating files from scratch, adding extracts, or modifying field definitions.
The library targets developers who have been hand-editing Tableau file XML and want a programmatic alternative. It carries high install friction because it ships as source-only and requires local compilation. Maintenance is active (recent commits in 2026), but the last release was in 2022, and Python version support is not formally declared.
Use it for
- Bulk-update database server names or credentials across many Tableau workbooks in a deployment pipeline.
- Extract connection metadata from data sources to audit or migrate Tableau configurations.
- Automate field discovery across workbooks to catalog which sheets use which data source fields.
- Programmatically modify authentication settings in workbooks before publishing to a different Tableau Server.
- Build a Tableau file inventory tool that reads connection and field information without opening Tableau.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to programmatically modify Tableau files and accept the unsupported status and high install friction.
The package is actively maintained, has no known vulnerabilities, and solves a real problem for Tableau automation. However, verify that it builds cleanly on your Python version before committing to it in production, and be aware that Tableau does not officially support this API.
Install
tableaudocumentapi on PyPI
Before you install
High install friction: distributed as a source tarball with no runtime dependencies listed, requiring local build. Last release was in 2022, over three years ago, though the repository remains active with recent commits.
Requires local compilation from source tarball; Python version support is unspecified.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.
Quickstart
pip install tableaudocumentapi
from tableaudocumentapi import Workbook
wb = Workbook('myfile.twbx')
for ds in wb.datasources:
print(ds.name)
Verify before relying
- Whether the package actually builds and installs cleanly on modern Python versions despite unspecified version support.
- Whether high install friction reflects a genuine build requirement or merely packaging convention.
- Scope and stability of the 'unsupported' API—what breaking changes users should anticipate.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Actively maintained 1,376 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 88,118 / month, #13,748 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: tableaudocumentapi-0.11.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “tableau workbook xml editing”
- tableaudocumentapiReads and modifies Tableau workbook and data source files (TWB, TWBX,…
- tableau-api-libProvides Python bindings to call Tableau Server's REST API methods,…
- apache-airflow-providers-tableauIntegrates Tableau with Apache Airflow, enabling orchestration of…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also tableauhyperapi · tableauserverclient · pantab · openpyxl · hyperleaup · tableau-api-lib · excel-mcp-server · aspose-cells-python · apache-airflow-providers-tableau · dominodatalab