Registry / analytics / tabcmd

tabcmd

JSON →
library2.0.18pypypi✓ verified 80d ago

A command-line client for Tableau Server administration, allowing users to publish workbooks, manage users, refresh extracts, and automate server tasks. Current version 2.0.18, requires Python >=3.9. Under active development by Tableau.

pip install tabcmd
INSTALL
IMPORT
SIG · TABCMD
T
tabcmd
analyticspythonv2.0.18
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Tabcmd
import tabcmd
from tabcmd import Tabcmd

Login to Tableau Server and list workbooks using tabcmd library.

from tabcmd import Tabcmd import os user = os.environ.get('TABLEAU_USER', '') password = os.environ.get('TABLEAU_PASSWORD', '') server = os.environ.get('TABLEAU_SERVER', '') site = os.environ.get('TABLEAU_SITE', '') if not all([user, password, server]): print('Set TABLEAU_USER, TABLEAU_PASSWORD, and TABLEAU_SERVER environment variables.') else: client = Tabcmd() client.login(server=server, username=user, password=password, site=site) print('Logged in successfully.') # List workbooks workbooks = client.list_workbooks() print(workbooks) client.logout()
Debug
Known issues
breakingtabcmd v2.0.0 removed the old command-line script 'tabcmd' in favor of a Python API. Existing scripts using the system CLI will break.
fix
Migrate to Python code using the 'tabcmd' package instead of shell commands. For quick CLI usage, consider using the 'tableau' command line tool from Tableau Server.
affects: >=2.0.0
gotchaThe library requires Python >=3.9. Using older Python versions will cause syntax errors or import failures.
fix
Ensure your environment uses Python 3.9 or later. Check with 'python --version'.
affects: >=2.0.0
deprecatedSome methods like 'create_site' have been deprecated in favor of new methods; check the latest documentation.
fix
Review the official API docs for the current method signatures.
affects: >=2.0.0
Upgrade
Version history
2.0.18latest on PyPI · released Mar 26, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
24
Amazon
1
OpenAI (training)
1
Resources

No resource links recorded.

tabcmd — pip install tabcmd · libregistry