TabPy version 1.1.0 is released: package –
https://pypi.org/project/tabpy/, release on GitHub – https://github.com/tableau/TabPy/releases/tag/1.1.0.
You can update your TabPy with the following command (you’ll need to stop all running TabPy instances first):
pip install --upgrade tabpy
New release main improvement is for
/info method (
https://tableau.github.io/TabPy/docs/server-rest.html#get-info) – now it checks for credentials to be provided if TabPy is configured for authentication. The improvement won’t affect any older Tableau Desktop or Tableau Server versions which already had support for TabPy authentication.
For how to configure authentication for TabPy read
How to configure TabPy with authentication and use it in Tableau.
In my previous post
Haskell in Tableau? Yes, you can! I mentioned an example of Analytics Extention API implementation in the way it allowed to use Haskell in Tableau calculations.
And there are more examples of how Tableau calculations can be extended:
Do you know of any other examples worth sharing?
It took some time, but TabPy v1 finally happened. Comparing to the previous v0.9.0 there are not so many changes:
To install TabPy or update your TabPy instance to the latest release run the following command:
pip install --upgrade tabpy
Some time ago I posted about alternative TabPy implementation (
AltTabPy – lightweight and straightforward alternative to TabPy) you can use with Tableau. Using that alternative solution is possible because AltTabPy implements TabPy API and Tableau Desktop or Server simply calls that API. So Tableau is not hardcoded to use TabPy.
But if alternative implementations are possible is it also possible to implement the API for something completely different than executing Python script… like another programming language?
Yes – it is possible and people actually do it. Here’s an example of how you can use Haskell scripts in Tableau calculations –
https://databoss.starschema.net/tableau-external-services-api-adding-haskell-calculations/. The post explains step by step how to implement TabPy API in Haskell and how to use the server with Tableau. Very well written post indeed and highly recommended for reading. The project itself is available on GitHub – https://github.com/tfoldi/tc19-haskell-ext/.
Do you want to add some Python scripting to your Tableau visualization but struggle with
How to Configure TabPy documentation? Take a look at AltTabPy – https://alttabpy.readthedocs.io/en/latest/index.html.
What TabPy is – Python script execution engine you can connect Tableau in the same way as you do for TabPy. Its installation and startup are extremely straightforward and simple, more details here –
What TabPy is not – it does not support
models (deployed functions), authentication, SSL, logging and other configuration and backward compatibility with older TabPy versions. Read here for more details on how AtlTabPy is different – https://alttabpy.readthedocs.io/en/latest/comparison.html.
AltTabPy is not supported by Tableau and is an independent project which (partially) implements
TabPy API v1. The project itself is located on GitHub – https://github.com/innobi/AltTabPy.