PyQlikEngine is a python module used to communicate with the Qlik Sense Engine API. It works on Qlik Sense Enterprise, Qlik Sense Desktop, and/or Qlik Core.
- Clone the repository
- Push into jupyter, cdsw, or other notebook environment
- Open and run DR_Qlik_Demo.py..
Setting up JWT can be a pain, in my opinion this is best resource:
https://github.com/goldbergjeffrey/qs-jwt-examples/blob/master/docs/vpconfig.md
This is a fully [currently] working demo which uses a live Qlik Sense Enterprise environment, pulls data out into a dataframe, runs the data against a pre-built model in Datarobot using their python API.
The data is from a rental prices data set, loaded into a Qlik Sense app.
The same rental price data has been loaded into Datarobot and a price optimization analysis/model has been implemented.
The visualizations are standard matplotlib visualizations
The PyQlikEngine module has methods to edit a loadscript and do a reload and do a save operation, therefore it is completely possible to push results back into Qlik. This use case does not support that integration example however.