Skip to main content

metriql Tableau Integration

Generates Tableau Data Source (TDS) files from your metriql datasets. The idea is to leverage metriql datasets in your Tableau workflow without any additional modeling in Tableau.

Usage

The library is available in PyPI so you can install it via pip as follows:

pip install metriql-tableau

The library expects stdin for the metriql metadata and outputs a TDS file to stdout. Here is an example:

curl http://metriql-server.com/api/v0/metadata | metriql-tableau --metriql-url http://metriql-server.com --dataset your_dataset create-tds > your_dataset.tds

You can use --file argument instead of reading the metadata from stdin as an alternative. You can use --out argument to create a file instead of printing the TDS file to stdout as an alternative.

The only command is create-tds for now.

How does it work?

The generated file includes your metriql URL and uses Presto interface which is natively supported in Tableau. In order to use Tableau integration, you need to enable JDBC in your metriql server.

Release files for metriql-tableau 0.7

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

Source distribution (sdist)

Source distribution for metriql-tableau 0.7
File Size Uploaded
metriql-tableau-0.7.tar.gz 9.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for metriql-tableau 0.7
File Interpreter ABI Platform
metriql_tableau-0.7-py3-none-any.whl Python 3 none any Details

Total release size: 18.7 kB

Release files / metriql-tableau-0.7.tar.gz

Download URL metriql-tableau-0.7.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3ef17da9d2eb4561f79534969f0f90b3fb6f00f0c5231e29d92346758b000f47
BLAKE2b-256 checksum
How to use checksums
c652db985fe011f304764b3dfeb077a84b9bba01db709f5b12664a20c9bda333
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.12

Release files / metriql_tableau-0.7-py3-none-any.whl

Download URL metriql_tableau-0.7-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0400c558e44190571b28181b146d55dd46d377b64acd0e03ddc8cb1ebb1da057
BLAKE2b-256 checksum
How to use checksums
9141a053d495d707f58bb09fccb450aa3b82260dcf68dcc4a15b70ebaa90d8f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.12

Release history Release notifications | RSS feed

This release

0.7 This release

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

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