Qwik Py is a small library of python scripts which can help automate certain tasks within a Qlik Sense Environment. The solution is based off Clint Carr's python wrapper for the Qlik Sense Repository Service found here: https://github.com/clintcarr/qrspy
- These instructions are intended for installing these scripts directly on the Qlik Sense Server
- If you have not installed python, then download the following file and install it: https://www.python.org/ftp/python/3.7.2/python-3.7.2-amd64.exe
- Ensure when installing that you check the box to add Python to PATH and then click on install now
- Clone or download this repository somewhere on your computer
- Navigate to the qwik-py folder within a terminal and execute the following command
pip install -r requirements.txt
- Edit the config.py folder accordingly
- You should now be able to run the scripts!
Make sure to open the terminal as an administrator before running these scripts!
Script Name:
export_apps.pyScript Description:
This script will automatically export ALL Qlik Sense apps and export them to a folder of your choiceParamaters
filepath:
Example) C:\DataexportData
Example) true
Full Script Example
: python export_apps.py C:\Data falseScript Name:
export_extensions.pyScript Description:
This script will automatically export ALL Qlik Sense extensionsParamaters
filepath:
Example) C:\Data
Full Script Example
: python export_extensions.py C:\DataScript Name:
import_apps.pyScript Description:
This script will automatically import all Qlik sense apps within a folder of your choiceParamaters
filepath
Example) C:\Data
Full Script Example
: python import_apps.py C:\DataScript Name:
import_extensions.pyScript Description:
This script will automatically import all Qlik sense extensions within a folder of your choiceParamaters
filepath
Example) C:\Data
Full Script Example
: python import_extensions.py C:\DataScript Name:
screenshots.pyScript Description:
This script will automatically take a screenshot of all the sheets within an application of your choice and upload it into the media content of the app. You will need to have Chrome installed for this to work.Paramaters
appId
Example) 6df2f487-66fa-4b22-9fe5-dda791187a77
Full Script Example
: python screenshots.py 6df2f487-66fa-4b22-9fe5-dda791187a77