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.30.1.dev2.tar.gz
(120.5 kB
view details)
Built Distribution
File details
Details for the file gooddata_sdk-1.30.1.dev2.tar.gz
.
File metadata
- Download URL: gooddata_sdk-1.30.1.dev2.tar.gz
- Upload date:
- Size: 120.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc79a56bbe7fa83717f504dd7ecd731ac8ac327e336ed070d8b3e992e95c99d5 |
|
MD5 | 5dd7a5bf13c75fb2dd9c8e8174734d30 |
|
BLAKE2b-256 | a39e64375adb3db6e86e024ec4185ef525b2b1a4580571abeb1b40ec2a7fc965 |
File details
Details for the file gooddata_sdk-1.30.1.dev2-py3-none-any.whl
.
File metadata
- Download URL: gooddata_sdk-1.30.1.dev2-py3-none-any.whl
- Upload date:
- Size: 162.3 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 | e3b5e6d242330880e1f647ebe6403a89fad9f0026659c616254bb8367f57f92c |
|
MD5 | a808d8eebd181ef383a82878af9d4f6d |
|
BLAKE2b-256 | 80d5e206d0685df967b14babba9988d772bd27e63ca401528e74c2b8bf33ac68 |