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.1.dev3.tar.gz
(115.7 kB
view details)
Built Distribution
File details
Details for the file gooddata_sdk-1.22.1.dev3.tar.gz
.
File metadata
- Download URL: gooddata_sdk-1.22.1.dev3.tar.gz
- Upload date:
- Size: 115.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f3f698f62a98d374d04b44476ced20ad884dda4643467af3452228239055a5d |
|
MD5 | 405731c39ac7c65aa7e8586a7f9ef3c7 |
|
BLAKE2b-256 | f9ae428fb4891ae6a80c196d0afa92a5207053b9d69f17c7f35f46577426633a |
File details
Details for the file gooddata_sdk-1.22.1.dev3-py3-none-any.whl
.
File metadata
- Download URL: gooddata_sdk-1.22.1.dev3-py3-none-any.whl
- Upload date:
- Size: 155.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00c2a842512a756de88b1d4465b8a0c2dd44fbcd36093f7bfcc10dbfcab6778d |
|
MD5 | 6ff08ce8ae1b74c7f5415d1517e3bfa0 |
|
BLAKE2b-256 | d0c66b78f57891cc068440f42a3b3b706e405891c3eb35483f72c608d9b337df |