Welcome to the official documentation for the pysisense Python SDK.
This SDK provides a structured, Pythonic interface for interacting with the Sisense REST APIs. It simplifies common tasks such as user management, dashboard access, data model operations, and cross-environment migrations.
The documentation is organized by feature/module. Click on any section to learn more:
-
Access Management
Manage users, groups, roles, and share permissions. Access Management Examples -
Dashboard
Read, export, share, and change ownership of dashboards. Dashboard Examples -
Data Model
Inspect datasets, tables, columns, and schema definitions. Data Model Examples -
Sisense Client
Automate cross-environment migration of users, dashboards, and models. -
Utils
Automate cross-environment migration of users, dashboards, and models.
Before using the SDK, make sure you have a properly structured config.yaml:
domain: "your-domain.sisense.com"
is_ssl: true
token: "<your_api_token>"Important: It is recommended to use a new dedicated Sisense admin user's token to ensure all API methods function as expected.
Using restricted or scoped users may result in failures or inconsistent behavior, especially for:
- Folder and dashboard ownership changes
- Granting permissions across environments
- System-wide migrations
See examples/config.yaml for a template.
To install the SDK:
pip install pysisenseTo use in development mode:
pip install -e .