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.dev1.tar.gz
(108.1 kB
view details)
Built Distribution
File details
Details for the file gooddata_sdk-1.22.1.dev1.tar.gz
.
File metadata
- Download URL: gooddata_sdk-1.22.1.dev1.tar.gz
- Upload date:
- Size: 108.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd97d6fb6dfa4ac94dfc9ab1e27b0c3f0f0d06ed51b51161b44f4109bbe29296 |
|
MD5 | 61e7ceea57ad60d30250e714ee1aea65 |
|
BLAKE2b-256 | 0a3b115665dad46de97901771d87c3ded66526929d2289d0cae4ed3e1acb6202 |
File details
Details for the file gooddata_sdk-1.22.1.dev1-py3-none-any.whl
.
File metadata
- Download URL: gooddata_sdk-1.22.1.dev1-py3-none-any.whl
- Upload date:
- Size: 147.5 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 | c66e082a582c8b2d384808d79a69f40d22dcc7620612424e861807bb1c50b6b0 |
|
MD5 | 7cb58378272445b4be3c8a07488fe545 |
|
BLAKE2b-256 | 9f54c5eac57e61828a1ba98d28c4fad2366d578d6497f6fa4939d06f18a7b575 |