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.8 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.22.0.tar.gz (104.2 kB view details)

Uploaded Source

Built Distribution

gooddata_sdk-1.22.0-py3-none-any.whl (141.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gooddata_sdk-1.22.0.tar.gz
  • Upload date:
  • Size: 104.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for gooddata_sdk-1.22.0.tar.gz
Algorithm Hash digest
SHA256 e21c10c9dc9722280df5d839abb3b5d8a214bad3d14c9f7a8058d4881e973617
MD5 a50ae845eaa28d4edeb9c99df101b74f
BLAKE2b-256 babb55e7c569bb6d30f39e4953a92896b13eac0e11d81413390b96954fa14a73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gooddata_sdk-1.22.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09d5c087d0a33fe747d311f5e921d0b5a93664929c497b194d9ad86d03d7344e
MD5 5f20fdb484af914655e158c37609ad55
BLAKE2b-256 00e706d1e56ccabfe0bbedececa8a81de61d1f6b2eb590f2cf7e059e5629e615

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