Skip to main content

A Python based Tableau REST API interface.

Warning: This package is still in a pre-v1 development phase. Breaking changes are likely to occur without warning.

tableaurest

A Python based Tableau REST API interface.

Installation

tableaurest is a Python 3.6+ based package, and can be installed through pip using the following command.

$ python -m pip install tableaurest

Examples

Print count of Workbooks Owned by Login User.

>>> from tableaurest import TableauREST
>>>
>>> SERVER = 'YOUR_TABLEAU_URL'
>>> USERNAME = 'YOUR_TABLEAU_USERNAME'
>>> PASSWORD = 'YOUR_TABLEAU_PASSWORD'
>>>
>>> with TableauREST(SERVER, USERNAME, PASSWORD) as restapi:
>>>     workbooks = restapi.queryWorkbooksforUser(owner=True)
>>>
>>> print(f'{USERNAME} owns {len(workbooks)} workbooks on {SERVER}.')
'YOUR_TABLEAU_USERNAME owns 4 workbooks on YOUR_TABLEAU_URL.'

Extras

Contribute

  1. Check/Open Issue for related topics of change

  2. Fork/Clone/Branch repo and make discussed/desired changes

  3. Add tests (¯\_(ツ)_/¯) and document code w/ numpy formatting

  4. Open Pull Request and notify maintainer

Changelog

All notable changes to this project will be documented in this file.

Develop

Unreleased

v0.3.0

Added

  • All methods added for: Authentication, Sites, Projects, Subscriptions, Server

Changed

  • Remove excessive (useless) dict.keys() usage from codebase

  • Allow user to specify ssl verify on TableauREST init (default=True)

  • Remove auth token from session header on signOut

  • Update self.site (contenturl) on signIn

  • Add user impersonation to signIn

Removed

  • Remove custom logger(s) from submodules

v0.2.3

Changed

  • Correct queryWorkbookConnections to use GET method

  • Correct queryDatasourceConnections to use GET method

  • Add ‘connection’ dict wrapper updateWorkbookConnection details

v0.2.2

Changed

  • Correct userid/siteid updating on switchSite method

v0.2.1

Changed

  • Some light cleanup around formatting, logging, & bug fixes

Release files for tableaurest 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tableaurest 0.3.0
File Size Uploaded
tableaurest-0.3.0.tar.gz 14.8 kB Details

Release files / tableaurest-0.3.0.tar.gz

Download URL tableaurest-0.3.0.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f5a4ffd4e38e071856336be643c9a6da462ee5bd41f971be51a3196d09577ee4
BLAKE2b-256 checksum
How to use checksums
fb876aa311ec7e0972a68b453eb45050cc13a20149daad0e965f0c80d8d1e465
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page