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.9 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.28.1.dev1.tar.gz
(117.9 kB
view details)
Built Distribution
File details
Details for the file gooddata_sdk-1.28.1.dev1.tar.gz
.
File metadata
- Download URL: gooddata_sdk-1.28.1.dev1.tar.gz
- Upload date:
- Size: 117.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36591f52270d37069ef7900c7a2a0b138dfab407dac0473f403bb701b8b22a67 |
|
MD5 | 1b0ccb9e6bb65c6ed063ca2982841904 |
|
BLAKE2b-256 | e87343b3f6361567c5461970eac7aa81e4fe565353bcedd3324e43d7e63423b8 |
File details
Details for the file gooddata_sdk-1.28.1.dev1-py3-none-any.whl
.
File metadata
- Download URL: gooddata_sdk-1.28.1.dev1-py3-none-any.whl
- Upload date:
- Size: 157.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff36a81c2a44d0f02d146761ee1f15f582ee6032435a93ba721c53fa23c6d200 |
|
MD5 | 72459c9253d0d481236d73ce92c55ff9 |
|
BLAKE2b-256 | ac3ebff2a5577f2d67cb35e279ec499abc68c6bd8da4d8d2e32a504a3182c484 |