Skip to main content

PTQ

PyToQlik

PyToQlik is a library that allows you to integrate Qlik Desktop with Jupyter notebooks. With it you can:

  • Open and edit a Qlik app inside a Jupyter notebook;
  • Create a Qlik object with data from a pandas DataFrame data structure and/or;
  • Import data from a Qlik object and create a pandas DataFrame to work with in Python.

Latest Updates (24/jun/2021)

:star2: Just added some basic Qlik Cloud SaaS functionalities! :star2:

Be a more powerful data scientist by importing and extracting data from Qlik objects in Cloud applications inside your tenant!

Getting Started

For this library to work you might want to have a functioning Qlik Desktop App installed and running on your local machine, or, if using the Cloud version, you will need an API Key to your tenant. There are tutorials on here and on Qlik's website about API Keys. You will also find having the pandas library useful, and either a Jupyter Notebook local server or use something like Google Colaboratory

You can then download and install PyToQlik using:

Installation

pip install pytoqlik 

Usage

Example 1

Creating a Qlik app and feeding it data

from pytoqlik import Pytoqlik
import seaborn

df = seaborn.load_dataset('tips')  # df is just some example data provided by the seaborn library

p2q = Pytoqlik()
app = p2q.toQlik(df)

Example 2

Importing data from a Qlik object to Python

from pytoqlik import Pytoqlik
import seaborn

df = seaborn.load_dataset('tips')  # df is just some example data provided by the seaborn library

p2q = Pytoqlik()
app = p2q.toQlik(df)
app.toPy('your ObjectID')

Step by step guide

Documentation

PyToQlik current documentation can be found HERE.

Comprehensive Qlik Cloud tutorial

A case-study based tutorial has been developed and is available HERE.

Features in development

Connectivity

  • Qlik Enterprise support
  • Qlik Cloud robustness (easy-to-use embedding, more global functionality)

Planned Functionality

  • Data fetching based on dimension and measure names
  • More robust embedding objects and sheets
  • More robust script editing (appending and replacing)
  • Object creation and manipulation via Python
  • Auxiliary functions, app listing and object listing
  • Task creation and managing
  • ETL features in Python

Metadata

Release files for pytoqlik 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytoqlik 0.0.10
File Size Uploaded
pytoqlik-0.0.10.tar.gz 9.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytoqlik 0.0.10
File Interpreter ABI Platform
pytoqlik-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 21.0 kB

Release files / pytoqlik-0.0.10.tar.gz

Download URL pytoqlik-0.0.10.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
af62ccc585e559e172fda824bda7838bbe0a194a182e10f607b23bc14cd73ba2
BLAKE2b-256 checksum
How to use checksums
0e956a8e1b3e588ed942ad4bd06e53c38dd6f55ef1b7701a9d776c5cea8490b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

Release files / pytoqlik-0.0.10-py3-none-any.whl

Download URL pytoqlik-0.0.10-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
206ea8df3abed14e8c15c4392a48a24f198bae596539e7b263bd1e64affcc6ae
BLAKE2b-256 checksum
How to use checksums
648da6bacb9bea42bafebc979e649767b88bbf444bb555350610c0cd9573876e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page