Skip to main content

GoodData Cloud Python SDK

Project description

GoodData Python SDK

The gooddata-sdk package provides a clean and convenient Python API to interact with GoodData.

At the moment the SDK provides services to inspect and interact with the Semantic Model and consume analytics:

  • Catalog Workspaces Service
  • Catalog Workspace Content Service
  • Catalog Data Source Service
  • Catalog User Service
  • Catalog Permission Service
  • Catalog Organization Service
  • Visualizations Service
  • Compute Service
  • Table Service

See DOCUMENTATION for more details.

Requirements

  • GoodData Cloud or GoodData.CN installation
  • Python 3.9 or newer

Installation

Run the following command to install the gooddata-sdk package on your system:

pip install gooddata-sdk

Example

Compute an visualization:

import gooddata_sdk

# GoodData host in the form of uri
host = "http://localhost:3000"
# GoodData user token
token = "some_user_token"
sdk = gooddata_sdk.GoodDataSdk.create(host, token)

workspace_id = "demo"
visualization_id = "customers_trend"
# reads visualization from workspace
visualization = sdk.visualizations.get_visualization(workspace_id, visualization_id)
# triggers computation for the visualization. the result will be returned in a tabular form
table = sdk.tables.for_visualization(workspace_id, visualization)

# and this is how you can read data row-by-row and do something with it
for row in table.read_all():
    print(row)

Bugs & Requests

Please use the GitHub issue tracker to submit bugs or request features.

Changelog

See Github releases for released versions and a list of changes.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

gooddata_sdk-1.29.2.dev4.tar.gz (120.2 kB view details)

Uploaded Source

Built Distribution

gooddata_sdk-1.29.2.dev4-py3-none-any.whl (162.0 kB view details)

Uploaded Python 3

File details

Details for the file gooddata_sdk-1.29.2.dev4.tar.gz.

File metadata

  • Download URL: gooddata_sdk-1.29.2.dev4.tar.gz
  • Upload date:
  • Size: 120.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for gooddata_sdk-1.29.2.dev4.tar.gz
Algorithm Hash digest
SHA256 a8db566ba9e5db8ea872fc5f5966cfa72bcbd7af894bae2c18b8fef9ef4fdc14
MD5 57d0d8ac480c5bfe90b0b07c3996e7d5
BLAKE2b-256 247bd2770f29814e7d005fc8261de710d227be247c88cbf3cc1cf5643d94fa3b

See more details on using hashes here.

File details

Details for the file gooddata_sdk-1.29.2.dev4-py3-none-any.whl.

File metadata

File hashes

Hashes for gooddata_sdk-1.29.2.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 449f416b4ec541e5ec10c9d06cbc1ba76c1dc978759ea6557dc44821efcedc2f
MD5 89a3113a947bc389569c22666c57b499
BLAKE2b-256 6a82cd407d2bc586cf8cc065937ca2b8fe47b278cc2323a82b0aef2b94095895

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