Skip to main content

metriql Tableau integration

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metriql-tableau-0.7.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

metriql_tableau-0.7-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file metriql-tableau-0.7.tar.gz.

File metadata

  • Download URL: metriql-tableau-0.7.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for metriql-tableau-0.7.tar.gz
Algorithm Hash digest
SHA256 3ef17da9d2eb4561f79534969f0f90b3fb6f00f0c5231e29d92346758b000f47
MD5 3b9e2367c760071b0d9f5288d9dd44b3
BLAKE2b-256 c652db985fe011f304764b3dfeb077a84b9bba01db709f5b12664a20c9bda333

See more details on using hashes here.

File details

Details for the file metriql_tableau-0.7-py3-none-any.whl.

File metadata

  • Download URL: metriql_tableau-0.7-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for metriql_tableau-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0400c558e44190571b28181b146d55dd46d377b64acd0e03ddc8cb1ebb1da057
MD5 47f3b9694d17759da2f862fb8f9e4112
BLAKE2b-256 9141a053d495d707f58bb09fccb450aa3b82260dcf68dcc4a15b70ebaa90d8f5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page