Skip to main content

Sisense Python SDK

Project description

Disclaimer

  1. This is not in anyway supported by Sisense. This is a hobby project of mine.
  2. Neither myself nor Sisense offer any warranty, implied or explicit.
  3. This is a work in progress. Not all calls are currently supported.

Documentation

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PySenseSDK-0.2.0-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

Details for the file PySenseSDK-0.2.0.tar.gz.

File metadata

  • Download URL: PySenseSDK-0.2.0.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7

File hashes

Hashes for PySenseSDK-0.2.0.tar.gz
Algorithm Hash digest
SHA256 31281c932b9a46f1930cec1644e5b0188235102629f9837b59b18fd038daf887
MD5 6a3d03c47eec8286a66b5d3b97263ddd
BLAKE2b-256 27b66f1fb411fae7465e80dd09f502bd0cda007a459c090573d9077799406509

See more details on using hashes here.

File details

Details for the file PySenseSDK-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: PySenseSDK-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 32.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7

File hashes

Hashes for PySenseSDK-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89a50c523c02c455d5bba6ff382037c700e0b9686b2cd988e58e40cc0d8d7539
MD5 d73399b385fc1fc4d0c18c4e069c3910
BLAKE2b-256 e1ecc845665fd942916cbeddfbb3998eb725625a8a17f8a01ec330d9ae575396

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page