Skip to content

jbisal/document-api-python

 
 

Repository files navigation

document-api-python (Fork)

As-Is

About This Fork

This repository is a maintained fork of Tableau’s document-api-python.

It extends the original Document API with object-oriented access to dashboards, worksheets, filters, and datasource dependencies.

All enhancements are fully backward compatible.

If you are looking for the official Tableau Document API, see the upstream project.

What’s new in this fork (v0.12)

This fork builds on Tableau’s Document API with optional, backward-compatible features aimed at analysis and diff tooling:

  • Dashboard objects – structured representation with worksheet containment and dependency tracking
  • Worksheet objects – access to datasource dependencies, filters, rows, columns, and column instances
  • Filter support – dedicated Filter class, including parsing of nested groupfilter structures
  • Datasource dependencies – new DatasourceDependency class separating fields from dependency columns and instances
  • Query interface – high-level workbook.query API for cross-workbook analysis and dependency mapping
  • Column - Table mapping – get the column datasource table as a read-only attribute with field.table
  • XML string inputWorkbook class now accepts TWB XML string input for integration with Tableau Server Client and REST API
  • Parameter parsing – Enhanced Field class with read-only parameter attributes (value, param_domain_type, members) and added get_workbook_parameters() method

Detailed descriptions, examples, and resolved issue references are available in Version 012 Enhancements.

Upstream Issues Resolved

This fork addresses several upstream issues, including:

For a full explanation, see the “Resolved Upstream Issues” section in Version 012 Enhancements.

Original Features

All original capabilities of the Tableau Document API are preserved, including:

  • Support for TWB, TWBX, TDE and TDSX files
  • Access to connection information (server, username, database, authentication type, connection type)
  • Updating connection details in workbooks and datasources
  • Extracting field information from datasources and workbooks

For more information on the original API, see the Tableau API documentation.

About

Create and modify Tableau workbook and datasource files

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 99.9%
  • Shell 0.1%