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.dev1.tar.gz
(120.4 kB
view details)
Built Distribution
File details
Details for the file gooddata_sdk-1.30.1.dev1.tar.gz
.
File metadata
- Download URL: gooddata_sdk-1.30.1.dev1.tar.gz
- Upload date:
- Size: 120.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16a8a43513b02b3eae79a17f4fa0ec0a16a453e5ec8c855ae7b237db90bfa7aa |
|
MD5 | 440aa7391cdb40e97d44ab83f9f8a567 |
|
BLAKE2b-256 | 661e3fc5bf7d1e637e3bb4c36d1805496046a6f84a0298498bca5e24b328759a |
File details
Details for the file gooddata_sdk-1.30.1.dev1-py3-none-any.whl
.
File metadata
- Download URL: gooddata_sdk-1.30.1.dev1-py3-none-any.whl
- Upload date:
- Size: 162.2 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 | 753d82f0a496fcab299c842486167248c954006617e51e56b80c8b68913823b6 |
|
MD5 | 9dcbaf7e79f6eba6d235c03a9fb2c55f |
|
BLAKE2b-256 | d5f6eb63c10ad70d969b9520f9d1711bc90e764ed2e9e9941fe6a697d8839635 |