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.1.0 Release Notes

  • Breaking changes

    • The following methods were renamed for clarity/brevity/uniformity
      • Dashboard.get_dashboard_id now Dashboard.get_id
      • Dashboard.get_dashboard_title now Dashboard.get_name
      • Dashboard.get_dashboard_shares now Dashboard.get_shares
      • Dashboard.share_dashboard_to_user now Dashboard.share_to_user
      • Dashboard.unshare_dashboard_to_user now Dashboard.unshare_to_user
      • Dashboard.get_dashboard_export_png now Dashboard.export_to_png
      • Dashboard.get_dashboard_export_dash now Dashboard.export_to_dash
      • Dashboard.get_dashboard_export_pdf now Dashboard.export_to_pdf
      • Dashboard.get_dashboard_widgets now Dashboard.get_widgets
      • Dashboard.get_dashboard_widgets_by_id now Dashboard.get_widgets_by_id
      • Dashboard.post_dashboard_widgets now Dashboard.add_widget
      • Dashboard.delete_dashboards_widgets now Dashboard.delete_widget
    • The following methods no longer return a value as the REST API provides only an empty response
      • PySense.delete_groups
      • Dashboard.delete_widget
      • Dashboard.remove_ghost_widgets
      • Group.add_user_to_group
      • Group.delete_user_from_group
      • Rule.update_rule
    • The following methods have made the path parameter optional. You can specify a path or receive back the raw contents
      • Dashboard.export_to_png
      • Dashboard.export_to_dash
      • Dashboard.export_to_pdf
    • The following methods will now use the default server address with the option to pass an alternative instead of requiring a server address
      • Elasticube.get_data_source_sql
      • Elasticube.add_security_rule
      • Elasticube.add_default_rule
      • Elasticube.get_elasticube_datasecurity
      • Elasticube.get_elasticube_datasecurity_by_table_column
      • Elasticube.delete_rule
  • Additions

    • Elasticube.get_name can now be provided an extra argument to url encode the result
    • More example files for backup dashboard script
    • Move your formulas between cubes/environments
    • Export your widgets to png
  • Fixes

    • Backup Dashboard example script now correctly handles widget images

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.1.0.tar.gz (26.3 kB view details)

Uploaded Source

Built Distribution

PySenseSDK-0.1.0-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PySenseSDK-0.1.0.tar.gz
  • Upload date:
  • Size: 26.3 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.1.0.tar.gz
Algorithm Hash digest
SHA256 54526c329ff845db8c851c98fab74b73861fe7d9957e953e38046cb061bb5fb1
MD5 f7c461e067fa035dea678dd242885b7b
BLAKE2b-256 4d3ba9461d93b2199c03fc2216a5daebc59d6dbcf87cd5f047a65cf8ff6f0de9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PySenseSDK-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 30.5 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f363d15650f88c386b41782128579b52c47d3d7c2c770a0a4c6c58bdcd4ef4ff
MD5 57dd2eae48f54e73cf373c2b81dacbd5
BLAKE2b-256 236753579e2ea6d486de88df5164956a032086b4159c90fd6d472aeb152548ab

See more details on using hashes here.

Supported by

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