Singer tap for extracting data from the Tableau API
Project description
tap-tableau
This is a Singer tap that produces JSON-formatted data from the Tableau REST API following the Singer
spec.
Although it currently relies on this API, the intention will be to move over to the Metadata API.
Quick start
-
Install
> virtualenv -p python3 venv > source venv/bin/activate > pip install tap-tableau
-
Create the config file, either (
token,token_name) or (username,password) must be specified for authentication.{ "token_name": "My Tableau API access token", "token": "abcdefg12345==", "site_id": "my_tableau_site", "host": "https://my_tableau_site.com", "start_date": "2021-01-01T00:00:00Z" }
-
Run the tap in discovery mode to get properties.json file
tap-tableau --config config.json --discover > catalog.json
-
In the catalog.json file, select the streams to sync
Each stream in the catalog.json file has a "schema" entry. To select a stream to sync, add
"selected": trueto that stream's "schema" entry. For example, to sync the datasources stream:... "tap_stream_id": "datasources", "schema": { "selected": true, "schema": { "updated_at": { "format": "date-time", "type": [ "null", "string" ] } ... -
Run the application
tap-tableaucan be run with:tap-tableau --config config.json --catalog catalog.json
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tap-tableau-0.0.2.tar.gz.
File metadata
- Download URL: tap-tableau-0.0.2.tar.gz
- Upload date:
- Size: 20.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.20.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7021e3abf107169c00acf2b6d34ef7753de391c5ccc601e9e3239c293f604bd6
|
|
| MD5 |
c5f2b3c44d297a9b49bdbdc29fe23bc0
|
|
| BLAKE2b-256 |
1e45f3a8b535f312cbd34d87c2d2a4b7b16c0c8213f7c76e898348db3d1b58e5
|
File details
Details for the file tap_tableau-0.0.2-py3-none-any.whl.
File metadata
- Download URL: tap_tableau-0.0.2-py3-none-any.whl
- Upload date:
- Size: 24.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.20.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f09939a8f96906b487004c8b2696765036770d230daf7fd83c8de0959a4a237
|
|
| MD5 |
3f0483689676ab6f6e26298ca0417ed7
|
|
| BLAKE2b-256 |
ec43ddd2930a8790abc39c83492dab750d6f529eb81e409295bed0925bd42035
|