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.insights.get_insight(workspace_id, insight_id)
# triggers computation for the insight. the result will be returned in a tabular form
table = sdk.tables.for_insight(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.13.1.dev2.tar.gz (89.8 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.13.1.dev2-py3-none-any.whl (126.4 kB view details)

Uploaded Python 3

File details

Details for the file gooddata-sdk-1.13.1.dev2.tar.gz.

File metadata

  • Download URL: gooddata-sdk-1.13.1.dev2.tar.gz
  • Upload date:
  • Size: 89.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for gooddata-sdk-1.13.1.dev2.tar.gz
Algorithm Hash digest
SHA256 6603b9c35bd2154a560f1e0335c06ef46ebdb0c895093188a3b2ae9063e743a5
MD5 ed46709acd93c20e178bbb2b0cac80b7
BLAKE2b-256 f99054248944e291308ab981a8e3c6e9721f788dbe5fb9616638f08b3992477b

See more details on using hashes here.

File details

Details for the file gooddata_sdk-1.13.1.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for gooddata_sdk-1.13.1.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 01b45aa9f6cfb9d963a54882f9bd247eae666401d9c9ab32ee9d8e14e1073c79
MD5 d83da706a9455be8693eda45f2315d7e
BLAKE2b-256 60c7c055464a839565e530b42d6d604db02770f4ab469f5e5607116026082080

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