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.68.1.dev2.tar.gz (869.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.68.1.dev2-py3-none-any.whl (202.2 kB view details)

Uploaded Python 3

File details

Details for the file gooddata_sdk-1.68.1.dev2.tar.gz.

File metadata

  • Download URL: gooddata_sdk-1.68.1.dev2.tar.gz
  • Upload date:
  • Size: 869.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.68.1.dev2.tar.gz
Algorithm Hash digest
SHA256 fb2d17672a2d36cc037b0f6ef3c95a43f4bb102f4b22606fe6606604fce6b35e
MD5 d346a5daa0736985bc40678501b10a44
BLAKE2b-256 19f1f8d8841469355e64a0f928d252fa3c3f2719c8766eaf40d7d6f4e5b7cb32

See more details on using hashes here.

Provenance

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

Publisher: dev-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.68.1.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for gooddata_sdk-1.68.1.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 3c6d88a7f32f9f6b1c0071da9bdde6af891faa59cf8851e1c984756b605c27de
MD5 04debcd729d9069dc3a90b135dbc08eb
BLAKE2b-256 b08563760d79f7495ba8625baeca1d2db5c1f7d204866ad432a0fda541d14cdc

See more details on using hashes here.

Provenance

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

Publisher: dev-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