Skip to main content

Pyplatform-reporting package provides function for managing hyper datasources on Tableau server.

Project description

Pyplatform-reporting package provides function for managing hyper datasources on Tableau server.

Installation

pip install pyplatform-reporting

Authentication and environment variables

Refer to main page for documentation on authentication

Exploring the modules

from pyplatform.reporting import *
show_me()

Usage

listing Tableau server datasources and reading hyper datasource into pandas dataframe

from pyplatform.reporting import *

print(tableau_server_list_resources())
datasource_name = 'sample superstore'
hyper_filepath = tableau_server_download_hyper(datasource_name)
df= hyper_to_df(hyper_filepath)

uploading pandas dataframe as hyper datasource on Tableau server

from pyplatform.reporting import *
# df #TODO create dataframe as source
hyper_filepath = df_to_hyper(df,filepath='Sample superstore.hyper')
datasource_name = tableau_server_upload_hyper(hyper_filepath)

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

pyplatform-reporting-2020.12.1.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distribution

pyplatform_reporting-2020.12.1-py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 3

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