Skip to main content

A Python library to interact with Qliksense.

Project description

qlikconnect

qlikconnect is the python library used to interact with Qliksense.It uses qlik engine API to connect with Qliksense through webocket. This module can be use to do things like fetch qlik charts data, evaluate your expression through this and many more.

Installation

Installation is pretty straightforward using pip :

pip install qlikconnect

Example

After installing the library, import SenseConnect class as below:
For Localhost Qliksense Desktop :

from qlikconnect import SenseConnect
sc = SenseConnect()

For **Enterprise **, certificate details will be required:

from qlikconnect import SenseConnect
sc = SenseConnect(domain ='domain_name',
				port='port_number',
				userdirectory='userdirectory',
				userid='userid',
				certPath='folder/path/of/certificates') 

Certificates also required named 'root.pem', 'client.pem' and 'client_key.pem' which can be exported from qmc.
Also you can get the port(4747 by default), userdirectory and userid from qmc.


Use Case

  • To get the app details : sc.get_list_of_apps(appID)
  • To get last refreshed timestamp of an app : sc.get_last_updated_status(appname)
  • To evaluate an expression from an app : sc.evaluate_expression(appname, expression,e_o_d=0)
  • To export the data from charts to excel : sc.export_data(appname, chartname)

Requirement

> websocket_client
> python 3 (3.6 recommended)

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

qlikconnect-1.0.2.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

qlikconnect-1.0.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file qlikconnect-1.0.2.tar.gz.

File metadata

  • Download URL: qlikconnect-1.0.2.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for qlikconnect-1.0.2.tar.gz
Algorithm Hash digest
SHA256 bf061754d458cf6c320ba9c91a8de42e887ea8a3648c3f73c01dc423cbfcc396
MD5 45c50e34d5103b1e6262e4ef5a9b2809
BLAKE2b-256 bb41eccd6022327dc73dac67e9c0d6783d38488d6008bfff98181b56835508b1

See more details on using hashes here.

File details

Details for the file qlikconnect-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: qlikconnect-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.8

File hashes

Hashes for qlikconnect-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d07500b0e0ac27d6031fb3ae4e7c1c1f79f720b85efc495072779e803cad1be1
MD5 2344fa077fae0985885d8bc5ea1fd404
BLAKE2b-256 10e32903fa6b98f75c05323b8b52054c5750baf0ec1f717b8134f56fa4e37f30

See more details on using hashes here.

Supported by

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