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
  • Catalog Appearance Service
  • Visualizations Service
  • Compute Service
  • Table Service

See DOCUMENTATION for more details.

Requirements

  • GoodData Cloud or GoodData.CN installation
  • Python 3.10 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.65.0.tar.gz (848.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gooddata_sdk-1.65.0-py3-none-any.whl (193.7 kB view details)

Uploaded Python 3

File details

Details for the file gooddata_sdk-1.65.0.tar.gz.

File metadata

  • Download URL: gooddata_sdk-1.65.0.tar.gz
  • Upload date:
  • Size: 848.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gooddata_sdk-1.65.0.tar.gz
Algorithm Hash digest
SHA256 88c251286f3a23286db9647771f1dd4b5eb2b95a092daad9264b54f47324f120
MD5 ce44af0a12ce37aeb5d6f73feec59250
BLAKE2b-256 60d718caf6ca983d62b4467e8edde0320d609fbe359039558a03eda796db337b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gooddata_sdk-1.65.0.tar.gz:

Publisher: build-release.yaml on gooddata/gooddata-python-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gooddata_sdk-1.65.0-py3-none-any.whl.

File metadata

  • Download URL: gooddata_sdk-1.65.0-py3-none-any.whl
  • Upload date:
  • Size: 193.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gooddata_sdk-1.65.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8a368d6f05e3d61509b34df3619e1fac40e220fd0894e95aeeeb7e863f1da33
MD5 87bc2185065e7a234ffbde42c332ed76
BLAKE2b-256 3f6ab4989efe53107790f441e0cea2ed75d3e2dc8af543e19de2bff2866e83b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for gooddata_sdk-1.65.0-py3-none-any.whl:

Publisher: build-release.yaml on gooddata/gooddata-python-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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