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
  • Insights 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 insight:

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"
insight_id = "customers_trend"
# reads insight from workspace
insight = sdk.visualizations.get_visualization(workspace_id, insight_id)
# triggers computation for the insight. the result will be returned in a tabular form
table = sdk.tables.for_visualization(workspace_id, insight)

# 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.18.2.dev1.tar.gz (101.2 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.18.2.dev1-py3-none-any.whl (138.1 kB view details)

Uploaded Python 3

File details

Details for the file gooddata_sdk-1.18.2.dev1.tar.gz.

File metadata

  • Download URL: gooddata_sdk-1.18.2.dev1.tar.gz
  • Upload date:
  • Size: 101.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for gooddata_sdk-1.18.2.dev1.tar.gz
Algorithm Hash digest
SHA256 9804da480822a919cda9a3dc265e55a33d6c752a11fbf3890d2981abb93cfd69
MD5 02c0f753a3636f87a71dd912bba97cfa
BLAKE2b-256 cb7a403a6e2716e8ee2d5a5a94a92cb2593a0e34acf9f5f678459bf884682313

See more details on using hashes here.

File details

Details for the file gooddata_sdk-1.18.2.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for gooddata_sdk-1.18.2.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 9327f250b75c4dc74064acb9f7f57fb09176b88eaef2238477a282052d2954b4
MD5 b28d50124b0ea9f0752773fe14f4c740
BLAKE2b-256 394f4b27a18500cd5dbf8d254300c71b32dfdace63f14c4f537c344adf07ac5e

See more details on using hashes here.

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