Skip to main content

tableau_helpers

A wrapper for the tableau-server-client and hyper-api which abstracts away boilerplate and in some cases provides a CLI which works without admin privileges.

tableau_helpers.hyper

Create hyperfiles from one or more csvs by providing a source, destination, schema, and optional parameters.

Code integration

See test_hyper.py for some examples in action.

tableau_helpers.publish

Upload datasources from your machine to the tableau server by providing a hyperfile as a source and a project as a destination.

Code integration

See test_publish.py for an example.

Development

There are a few steps to set up the development environment.

  1. Make a copy of .env.sample and save it as .env
  2. Add your Personal Access Token to .env
  3. Set the tableau-server url in .env ex: https://tableau-test.rki.local
  4. If your SSL cert is self signed, download a copy of your pem and provide the path in .env, otherwise delete the cert entry.
  5. Install pre-commit either in an environment or for your user.
  6. Setup pre-commit hooks
    1. pre-commit install -t pre-commit
    2. pre-commit install -t pre-push
  7. Install tox either in an environment or for your user.
    1. Test run tox for unit tests tox (note: some integration tests require a connection to your tableau server)
    2. Test run tox to reformat files tox -e lint

Release files for tableau-helpers 2.0.5

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

Source distribution (sdist)

Source distribution for tableau-helpers 2.0.5
File Size Uploaded
tableau-helpers-2.0.5.tar.gz 16.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tableau-helpers 2.0.5
File Interpreter ABI Platform
tableau_helpers-2.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 28.8 kB

Release files / tableau-helpers-2.0.5.tar.gz

Download URL tableau-helpers-2.0.5.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1535fb68bfb72aea469b1e2cb803cbb457d76162535f9e031b12c11d96dba6c2
BLAKE2b-256 checksum
How to use checksums
276c50d802f21b05d60d8c1b31c4ba11e367bdf3a718a6caf0d6fbbe82fa0c9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Release files / tableau_helpers-2.0.5-py3-none-any.whl

Download URL tableau_helpers-2.0.5-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16294e83b1b5d9e072901468aea8a66613e3723f5719303fe3edb7115c8ec017
BLAKE2b-256 checksum
How to use checksums
67acde029ffd1978492442272eee433ac3a86e1997e0f01ba86d27ed22208f96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12
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