Sisense Python SDK
Project description
Disclaimer
- This is not in anyway supported by Sisense. This is a hobby project of mine.
- Neither myself nor Sisense offer any warranty, implied or explicit.
- This is a work in progress. Not all calls are currently supported.
Overview
PySense is a python wrapper for the Sisense REST API. The goal of this project is to make the Sisense REST API more accessible to less technical users as well as decrease the development time needed to automate tasks with the Sisense REST API.
How to install
pip install PySenseSDK
How to use
See provided examples
V 0.2.0 Release Notes
-
Additions
- Pass a debug flag to PySense to enable logging all rest calls
- Save elasticube model to path
- All exceptions thrown my PySense are PySenseExceptions for better exception handling by scripts
- Get the users in a group and add remove users from groups with ease!
-
Breaking changes
- Example scripts removed and replaced with snippets for better clarity on using Sisense
- PySenseFolders
- Folder.get_folder_name now Folder.get_name for clarity
- Folder.get_folder_id now Folder.get_id for clarity
- PySense
- PySense.delete_user now PySense.delete_users for clarity
- PySense.add_user username parameter now optional (set to email by default)
- PySense.get_elasticube_by_name returns one of None elasticubes
- PySenseDashboards
- Dashboard.get_dashboard_folder_id now Dashboard.get_dashboard_folder and returns a folder object instead of a folder id
- Dashboard.move_to_folder no longer returns a value
- Dashboard.share_to_user renamed to Dashboard.add_share for clarity
- Dashboard.unshare_to_user renamed to Dashboard.remove_share
- PySenseElasticube Elasticube.add_security_rule members now optional, default is empty array
- PySenseGroup
- Group.get_group_id now Group.get_id for clarity
- Group.get_group_name now Group.get_name for clarity
- PySenseUser
- User.get_user_id now User.get_id
-
Fixes
- Lots of new testing for increased stability
-
Known Issues
- Dashboard and widget export to pdf and png may cause Sisense to throw internal server errors.
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
PySenseSDK-0.2.0.tar.gz
(28.1 kB
view hashes)
Built Distribution
PySenseSDK-0.2.0-py3-none-any.whl
(32.8 kB
view hashes)
Close
Hashes for PySenseSDK-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89a50c523c02c455d5bba6ff382037c700e0b9686b2cd988e58e40cc0d8d7539 |
|
MD5 | d73399b385fc1fc4d0c18c4e069c3910 |
|
BLAKE2b-256 | e1ecc845665fd942916cbeddfbb3998eb725625a8a17f8a01ec330d9ae575396 |